Package com.exedio.cope.pattern
Class Composite
- java.lang.Object
-
- com.exedio.cope.pattern.Composite
-
- All Implemented Interfaces:
TemplatedValue
,Serializable
public abstract class Composite extends Object implements Serializable, TemplatedValue
- See Also:
- Serialized Form
-
-
Method Summary
-
-
-
Constructor Detail
-
Composite
protected Composite(SetValue<?>... setValues)
-
-
Method Detail
-
get
public final <X> X get(FunctionField<X> member)
-
getMandatory
public final int getMandatory(IntegerField member)
-
getMandatory
public final long getMandatory(LongField member)
-
getMandatory
public final double getMandatory(DoubleField member)
-
getMandatory
public final boolean getMandatory(BooleanField member)
-
set
public final <X> void set(FunctionField<X> member, X value)
-
touch
public final void touch(DateField member)
-
getCopeType
public final CompositeType<?> getCopeType()
- Specified by:
getCopeType
in interfaceTemplatedValue
-
getTemplateName
public static final String getTemplateName(FunctionField<?> template)
-
touch
@Deprecated public final void touch(DayField member)
Deprecated.
-
newEnumField
@Deprecated public static final <E extends Enum<E>> EnumField<E> newEnumField(Class<E> valueClass)
Deprecated.UseEnumField.create(Class)
instead
-
newItemField
@Deprecated public static final <E extends Item> ItemField<E> newItemField(Class<E> valueClass)
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
-
-