Package com.exedio.cope.pattern
Class DynamicModel<L>
java.lang.Object
com.exedio.cope.Feature
com.exedio.cope.Pattern
com.exedio.cope.pattern.DynamicModel<L>
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static final class
static final class
static enum
-
Method Summary
Modifier and TypeMethodDescriptionstatic <L> DynamicModel<L>
create
(FunctionField<L> locale) static <L> DynamicModel<L>
create
(FunctionField<L> locale, int stringCapacity, int booleanCapacity, int integerCapacity, int doubleCapacity, int enumCapacity) createType
(String code) get
(Item item, DynamicModel.Field<L> field) Type<?>
Type<?>
Type<?>
getTypes()
static <L> DynamicModel<L>
newModel
(FunctionField<L> locale) Deprecated.static <L> DynamicModel<L>
newModel
(FunctionField<L> locale, int stringCapacity, int booleanCapacity, int integerCapacity, int doubleCapacity, int enumCapacity) Deprecated.Usecreate(FunctionField,int,int,int,int,int)
insteadprotected void
onMount()
Here you can do additional initialization not yet done in the constructor.void
set
(Item item, DynamicModel.Field<L> field, Object value) void
setType
(Item item, DynamicModel.Type<L> type) 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, 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 <L> DynamicModel<L> create(FunctionField<L> locale, int stringCapacity, int booleanCapacity, int integerCapacity, int doubleCapacity, int enumCapacity) -
create
-
onMount
protected void onMount()Description copied from class:Pattern
Here you can do additional initialization not yet done in the constructor. In this method you can call methodsPattern.getType()
andFeature.getName()
for the first time. -
createType
-
getTypes
-
getType
-
getType
-
getTypeType
-
getFieldType
-
getEnumType
-
getTypeLocalizationType
-
getFieldLocalizationType
-
getEnumLocalizationType
-
getTypeField
-
setType
-
get
-
set
-
newModel
@Deprecated public static <L> DynamicModel<L> newModel(FunctionField<L> locale, int stringCapacity, int booleanCapacity, int integerCapacity, int doubleCapacity, int enumCapacity) Deprecated.Usecreate(FunctionField,int,int,int,int,int)
instead -
newModel
Deprecated.Usecreate(FunctionField)
instead
-
create(FunctionField)
instead