Package com.exedio.cope.pattern
Class AbstractListField<E>
- java.lang.Object
-
- com.exedio.cope.Feature
-
- com.exedio.cope.Pattern
-
- com.exedio.cope.pattern.AbstractListField<E>
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LimitedListField
,ListField
public abstract class AbstractListField<E> extends Pattern
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractListField()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract List<E>
get(Item item)
abstract FunctionField<E>
getElement()
int
getMaximumSize()
abstract void
set(Item item, Collection<? extends E> value)
void
setAndCast(Item item, Collection<?> value)
-
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 Detail
-
getElement
public abstract FunctionField<E> getElement()
-
getMaximumSize
public int getMaximumSize()
-
set
public abstract void set(Item item, Collection<? extends E> value)
-
setAndCast
public final void setAndCast(Item item, Collection<?> value)
-
-