Package com.exedio.cope.pattern
Class Importer<K>
java.lang.Object
com.exedio.cope.Feature
com.exedio.cope.Pattern
com.exedio.cope.pattern.Importer<K>
- All Implemented Interfaces:
Serializable
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <K> Importer<K>
create
(FunctionField<K> key) <P extends Item>
P<P extends Item>
PgetKey()
static <K> Importer<K>
newImporter
(FunctionField<K> key) Deprecated.void
setHintInitialExerimental
(boolean hintInitial) When setting to true, methoddoImport(Class, Object, SetValue...)
becomes more efficient when item do not yet exist and less efficient when items already do exist.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
-
getKey
-
doImport
-
doImport
-
setHintInitialExerimental
public void setHintInitialExerimental(boolean hintInitial) When setting to true, methoddoImport(Class, Object, SetValue...)
becomes more efficient when item do not yet exist and less efficient when items already do exist. -
newImporter
Deprecated.Usecreate(FunctionField)
instead
-
create(FunctionField)
instead