Package com.exedio.cope
Class TypesBound
java.lang.Object
com.exedio.cope.TypesBound
-
Method Summary
Modifier and TypeMethodDescriptionstatic Type<?>
forClassUnchecked
(Class<? extends Item> javaClass) getFeatures
(Class<?> clazz) newItemField
(Class<E> valueClass) Deprecated.newItemField
(Class<E> valueClass, ItemField.DeletePolicy policy) Deprecated.UseItemField.create(Class, DeletePolicy)
instead
-
Method Details
-
forClass
- Throws:
IllegalArgumentException
- if there is no type for the given java class.- See Also:
-
forClassUnchecked
- Throws:
IllegalArgumentException
- if there is no type for the given java class.- See Also:
-
newType
-
getFeatures
-
newItemField
Deprecated.UseItemField.create(Class)
instead -
newItemField
@Deprecated public static <E extends Item> ItemField<E> newItemField(Class<E> valueClass, ItemField.DeletePolicy policy) Deprecated.UseItemField.create(Class, DeletePolicy)
instead
-
ItemField.create(Class)
instead