Package com.exedio.cope.pattern
Class Composite
java.lang.Object
com.exedio.cope.pattern.Composite
- All Implemented Interfaces:
TemplatedValue
,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
final <X> X
get
(FunctionField<X> member) final CompositeType<?>
final boolean
getMandatory
(BooleanField member) final double
getMandatory
(DoubleField member) final int
getMandatory
(IntegerField member) final long
getMandatory
(LongField member) static final String
getTemplateName
(FunctionField<?> template) final int
hashCode()
newEnumField
(Class<E> valueClass) Deprecated.newItemField
(Class<E> valueClass) Deprecated.UseItemField.create(Class)
insteadnewItemField
(Class<E> valueClass, ItemField.DeletePolicy policy) Deprecated.UseItemField.create(Class, DeletePolicy)
insteadfinal <X> void
set
(FunctionField<X> member, X value) final void
final void
Deprecated.final void
-
Constructor Details
-
Composite
-
-
Method Details
-
get
-
getMandatory
-
getMandatory
-
getMandatory
-
getMandatory
-
set
-
touch
-
touch
-
getCopeType
- Specified by:
getCopeType
in interfaceTemplatedValue
-
getTemplateName
-
equals
-
hashCode
public final int hashCode() -
touch
Deprecated. -
newEnumField
Deprecated.UseEnumField.create(Class)
instead -
newItemField
Deprecated.UseItemField.create(Class)
instead -
newItemField
@Deprecated public static final <E extends Item> ItemField<E> newItemField(Class<E> valueClass, ItemField.DeletePolicy policy) Deprecated.UseItemField.create(Class, DeletePolicy)
instead
-
EnumField.create(Class)
instead