Package com.exedio.cope.pattern
Class MultiItemField<E>
java.lang.Object
com.exedio.cope.Feature
com.exedio.cope.Pattern
com.exedio.cope.pattern.MultiItemField<E>
- All Implemented Interfaces:
Settable<E>
,Serializable
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncascade()
copyTo
(Class<? extends Item> componentClass, FunctionField<?> copy) static <E> MultiItemField<E>
static <E> MultiItemField<E>
create
(Class<E> valueClass, Class<? extends Item> componentClass1, Class<? extends Item> componentClass2) static <E> MultiItemField<E>
create
(Class<E> valueClass, Class<? extends Item> componentClass1, Class<? extends Item> componentClass2, Class<? extends Item> componentClass3) SetValue<?>[]
Returns the exceptions possibly thrown, when setting a value for this settable.boolean
isFinal()
Returns true, if a value for the settable can be specified on the creation of an item only, thus cannot be modified later.boolean
Returns true, if a value for the settable should be specified on the creation of an item.boolean
isNull()
optional()
void
toFinal()
unique()
Methods inherited from class com.exedio.cope.Pattern
addSource, addSource, addSource, addSource, addSourceFeature, addSourceFeature, addSourceFeature, annotationField, equals, getGeneratedTypes, getSourceFeatures, getSourceFeaturesGather, getSourceFields, getSources, getSourceTypes, getType, hashCode, initialize, newSourceType, newSourceType, newSourceType, newSourceType, newSourceType, newSourceType, newType, newType, onMount, registerSource
Methods inherited from class com.exedio.cope.Feature
afterModelCreated, getAbstractType, getAnnotation, getID, getLocalizationKeys, getName, getPattern, isAnnotationPresent, isSourceAlready, mount, readResolve, requireMounted, toString, toString, writeReplace
-
Method Details
-
create
public static <E> MultiItemField<E> create(Class<E> valueClass, Class<? extends Item>[] componentClasses) -
create
-
create
-
getComponentClasses
-
get
-
set
-
getComponents
-
of
-
equal
-
execute
-
isNull
-
isNotNull
-
isFinal
public boolean isFinal()Description copied from interface:Settable
Returns true, if a value for the settable can be specified on the creation of an item only, thus cannot be modified later. -
isMandatory
public boolean isMandatory()- Specified by:
isMandatory
in interfaceSettable<E>
-
isInitial
public boolean isInitial()Description copied from interface:Settable
Returns true, if a value for the settable should be specified on the creation of an item. -
getInitialType
- Specified by:
getInitialType
in interfaceSettable<E>
-
getInitialExceptions
Description copied from interface:Settable
Returns the exceptions possibly thrown, when setting a value for this settable.- Specified by:
getInitialExceptions
in interfaceSettable<E>
-
getDeletePolicy
-
toFinal
-
optional
-
unique
-
cascade
-
copyTo
-