public class DefaultFeatureType extends java.util.ArrayList<FeatureAttributeDescriptor> implements FeatureType, Persistent, DynClass, DynStruct_v2, Cloneable
| Modifier and Type | Class and Description |
|---|---|
protected class |
DefaultFeatureType.DelegatedIterator |
class |
DefaultFeatureType.SubtypeFeatureTypeNameException |
FeatureType.FeatureTypeChanged| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowAtomaticValues |
protected boolean |
checkFeaturesAtFinishEditing |
protected boolean |
checkFeaturesAtInsert |
protected int |
defaultGeometryAttributeIndex |
protected java.lang.String |
defaultGeometryAttributeName |
protected int |
defaultTimeAttributeIndex |
protected java.lang.String |
defaultTimeAttributeName |
protected boolean |
fixed |
protected boolean |
hasEmulators |
protected boolean |
hasEvaluators |
protected boolean |
hasOID |
protected java.lang.String |
internalID |
protected FeatureAttributeDescriptor[] |
pk |
static RecentUsedsAttributesImpl |
RECENTS_USEDS |
ALL_FILTER, BASIC_TYPES_FILTEREMPTY_UNMODIFIABLEBASICLISTEMPTY_GETITEMWITHSIZEANDITERATOR| Modifier | Constructor and Description |
|---|---|
|
DefaultFeatureType() |
protected |
DefaultFeatureType(DefaultFeatureType other) |
protected |
DefaultFeatureType(DefaultFeatureType other,
boolean copyAttributes) |
protected |
DefaultFeatureType(FeatureStore store) |
protected |
DefaultFeatureType(FeatureStore store,
java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAll(FeatureType attributes) |
DynField |
addDynField(java.lang.String name)
Start of DynClass interface implementation READONLY
|
DynField |
addDynField(java.lang.String name,
int type) |
DynField |
addDynFieldArray(java.lang.String name) |
DynField |
addDynFieldBoolean(java.lang.String name) |
DynField |
addDynFieldChoice(java.lang.String name,
int type,
java.lang.Object defaultValue,
DynObjectValueItem[] values) |
DynField |
addDynFieldChoice(java.lang.String name,
int type,
java.lang.Object defaultValue,
DynObjectValueItem[] values,
boolean mandatory,
boolean persistent) |
DynField |
addDynFieldDate(java.lang.String name) |
DynField |
addDynFieldDouble(java.lang.String name) |
DynField |
addDynFieldFile(java.lang.String name) |
DynField |
addDynFieldFloat(java.lang.String name) |
DynField |
addDynFieldFolder(java.lang.String name) |
DynField |
addDynFieldInt(java.lang.String name) |
DynField |
addDynFieldList(java.lang.String name) |
DynField |
addDynFieldLong(java.lang.String name) |
DynField |
addDynFieldMap(java.lang.String name) |
DynField |
addDynFieldObject(java.lang.String name) |
DynField |
addDynFieldRange(java.lang.String name,
int type,
java.lang.Object defaultValue,
java.lang.Object min,
java.lang.Object max) |
DynField |
addDynFieldRange(java.lang.String name,
int type,
java.lang.Object defaultValue,
java.lang.Object min,
java.lang.Object max,
boolean mandatory,
boolean persistent) |
DynField |
addDynFieldSet(java.lang.String name) |
DynField |
addDynFieldSingle(java.lang.String name,
int type,
java.lang.Object defaultValue) |
DynField |
addDynFieldSingle(java.lang.String name,
int type,
java.lang.Object defaultValue,
boolean mandatory,
boolean persistent) |
DynField |
addDynFieldString(java.lang.String name) |
DynField |
addDynFieldURI(java.lang.String name) |
DynField |
addDynFieldURL(java.lang.String name) |
void |
addDynMethod(DynMethod dynMethod) |
boolean |
allowAutomaticValues()
Incicates if attibutes with automatic values are allowed in the source
|
java.lang.Object |
clone()
Creates a copy of the object.
|
protected void |
copyFrom(DefaultFeatureType other,
boolean copyAttributes) |
void |
copyFrom(FeatureType other) |
boolean |
equals(java.lang.Object o) |
void |
extend(DynClass dynClass) |
void |
extend(DynStruct struct) |
void |
extend(DynStruct[] structs) |
void |
extend(java.lang.String dynClassName) |
void |
extend(java.lang.String namespace,
java.lang.String dynClassName) |
protected void |
fixAll() |
void |
fromJson(JsonObject json) |
java.lang.Object |
get(java.lang.String name)
Returns an attribute descriptor given its name.
|
java.lang.Iterable<FeatureAttributeDescriptor> |
getAllAttributeDescriptors() |
FeatureStore |
getAsFeatureStore() |
FeatureAttributeDescriptor |
getAttributeDescriptor(int index)
Returns a
FeatureAttributeDescriptor given the attribute index. |
FeatureAttributeDescriptor |
getAttributeDescriptor(java.lang.String name)
Returns a
FeatureAttributeDescriptor given the attribute name, or
null if an attribute with the given name does not exist. |
FeatureAttributeDescriptor |
getAttributeDescriptorFromAll(java.lang.String name) |
FeatureAttributeDescriptor[] |
getAttributeDescriptors()
Returns an Array of the FeatureAttributeDescriptor
|
java.lang.String |
getAttributeName(int index)
Returns the name of the given the attribute index.
|
FeatureType |
getCopy()
Returns a new copy of this FeatureType
|
protected DefaultFeatureAttributeDescriptor |
getCopyAttributeDescriptor(DefaultFeatureAttributeDescriptor src) |
protected long |
getCRC() |
DynField |
getDeclaredDynField(java.lang.String name) |
DynField[] |
getDeclaredDynFields() |
DynMethod |
getDeclaredDynMethod(java.lang.String name) |
DynMethod[] |
getDeclaredDynMethods() |
FeatureAttributeDescriptor |
getDefaultGeometryAttribute()
Returns the default geometry FeatureAttributeDescriptor.
|
int |
getDefaultGeometryAttributeIndex()
Returns the index of the attribute that will be used as default geometry
attribute.
|
java.lang.String |
getDefaultGeometryAttributeName()
Returns the name of the attribute that will be used as default geometry
attribute for those processes that require a geometry (for instance
rendering).
|
IProjection |
getDefaultSRS()
Returns the SRS in which the default geometry attribute is expressed.
|
FeatureAttributeDescriptor |
getDefaultTimeAttribute()
Returns the default time FeatureAttributeDescriptor.
|
int |
getDefaultTimeAttributeIndex()
Returns the index of the attribute that will be used as default geometry
attribute.
|
java.lang.String |
getDefaultTimeAttributeName()
Returns the name of the attribute that will be used as default geometry
attribute for those processes that require a geometry (for instance
rendering).
|
java.lang.String |
getDescription() |
DynField |
getDynField(java.lang.String name) |
DynField[] |
getDynFields() |
DynMethod |
getDynMethod(int code) |
DynMethod |
getDynMethod(java.lang.String name) |
DynMethod[] |
getDynMethods() |
EditableFeatureType |
getEditable()
Returns an editable instance of this FeatureType.
|
FeatureExtraColumns |
getExtraColumns() |
java.util.List<FeatureAttributeDescriptor> |
getFilteredAttributes(java.util.function.Predicate<FeatureAttributeDescriptor> filter,
int max) |
java.lang.String |
getFullName() |
java.lang.String |
getId()
Returns this FeatureType identifier.
|
int |
getIndex(java.lang.String name)
Given the name of an attribute, this method returns its position in this
FeatureType.
|
protected java.util.Iterator |
getIterator(java.util.Iterator iter) |
java.lang.String |
getLabel() |
java.lang.String |
getName() |
java.lang.String |
getNamespace() |
java.lang.String |
getNewFieldName() |
FeatureType |
getOriginalFeatureType()
Return the original feature type of this type.
|
FeatureAttributeDescriptor[] |
getPrimaryKey()
Returns an Array of the FeatureAttributeDescriptor that compounds the
primary key.
|
java.util.List<FeatureAttributeDescriptor> |
getRecentUseds() |
FeatureRules |
getRules()
Returns a
FeatureRules containing all rules applicable to
features of this type. |
java.util.List |
getSRSs()
Returns a list with the SRSs in which this FeatureType geometries are
expressed.
|
FeatureStore |
getStore()
Return the store associated to this type.
|
FeatureType |
getSubtype() |
FeatureType |
getSubtype(java.lang.String[] names) |
FeatureType |
getSubtype(java.lang.String[] names,
java.lang.String[] constantsNames) |
FeatureType |
getSubtype(java.lang.String[] names,
java.lang.String[] constantsNames,
boolean includePk) |
DynClass[] |
getSuperDynClasses() |
DynStruct[] |
getSuperDynStructs() |
Tags |
getTags() |
boolean |
hasEmulators() |
boolean |
hasEvaluators()
Indicates whether this FeatureType has any assigned
Evaluator(s). |
boolean |
hasOID()
Indicates whether
Feature(s) of this FeatureType have an OID
defined. |
boolean |
hasOnlyMetadataChanges(FeatureType old) |
boolean |
hasPrimaryKey() |
boolean |
hasRequiredFields() |
boolean |
isCheckFeaturesAtFinishEditing() |
boolean |
isCheckFeaturesAtInsert() |
boolean |
isExtendable(DynStruct dynStruct) |
boolean |
isInstance(DynObject dynObject) |
boolean |
isSubtypeOf(FeatureType featureType) |
java.util.Iterator<FeatureAttributeDescriptor> |
iterator()
Returns an iterator over this FeatureType's attributes.
|
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
DynObject |
newInstance() |
static void |
registerPersistenceDefinition() |
void |
remove(DynStruct superDynStruct)
Removes a given dynStruct from the current superDynClasses of this
dynClass.
|
void |
removeAll(DynStruct[] superDynStruct) |
void |
removeDynField(java.lang.String name) |
void |
removeDynMethod(java.lang.String name) |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
static void |
selfRegister() |
void |
setDefaultTimeAttributeName(java.lang.String name) |
void |
setDescription(java.lang.String description) |
void |
setExtraColumn(FeatureExtraColumns extraColumn) |
void |
setLabel(java.lang.String label) |
void |
setNamespace(java.lang.String namespace) |
void |
setStore(FeatureStore store) |
boolean |
supportReferences() |
JsonObject |
toJson() |
JsonObjectBuilder |
toJsonBuilder() |
java.util.List<FeatureAttributeDescriptor> |
toList() |
java.lang.String |
toString() |
void |
validate(DynObject object) |
void |
validateFeature(EditableFeature feature,
int check) |
void |
validateFeature(Feature feature,
int check) |
void |
writeAsDALFile(java.io.File file) |
void |
writeAsDALFile(java.io.File file,
java.lang.String format) |
add, add, addAll, addAll, clear, contains, ensureCapacity, forEach, get, indexOf, isEmpty, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizefinalize, getClass, notify, notifyAll, wait, wait, waitget, isEmpty, sizeisEmpty, isEmpty, isEmptyQuietlytoJson, toJsonBuildercloneQuietly, cloneQuietlypublic static final RecentUsedsAttributesImpl RECENTS_USEDS
protected boolean hasEvaluators
protected boolean hasEmulators
protected java.lang.String defaultGeometryAttributeName
protected java.lang.String defaultTimeAttributeName
protected int defaultGeometryAttributeIndex
protected int defaultTimeAttributeIndex
protected boolean hasOID
protected boolean allowAtomaticValues
protected FeatureAttributeDescriptor[] pk
protected java.lang.String internalID
protected boolean checkFeaturesAtFinishEditing
protected boolean checkFeaturesAtInsert
protected boolean fixed
public DefaultFeatureType()
protected DefaultFeatureType(FeatureStore store, java.lang.String id)
protected DefaultFeatureType(FeatureStore store)
protected DefaultFeatureType(DefaultFeatureType other)
protected DefaultFeatureType(DefaultFeatureType other, boolean copyAttributes)
public void copyFrom(FeatureType other)
copyFrom in interface FeatureTypepublic boolean isCheckFeaturesAtFinishEditing()
isCheckFeaturesAtFinishEditing in interface FeatureTypepublic boolean isCheckFeaturesAtInsert()
isCheckFeaturesAtInsert in interface FeatureTypeprotected void addAll(FeatureType attributes)
protected void copyFrom(DefaultFeatureType other, boolean copyAttributes)
protected DefaultFeatureAttributeDescriptor getCopyAttributeDescriptor(DefaultFeatureAttributeDescriptor src)
public java.lang.String getId()
FeatureTypegetId in interface FeatureTypepublic java.lang.Object get(java.lang.String name)
FeatureTypeget in interface FeatureTypename - of the attributeFeatureAttributeDescriptor.public FeatureAttributeDescriptor getAttributeDescriptor(java.lang.String name)
FeatureTypeFeatureAttributeDescriptor given the attribute name, or
null if an attribute with the given name does not exist.getAttributeDescriptor in interface FeatureTypename - of the attributeFeatureAttributeDescriptorpublic FeatureAttributeDescriptor getAttributeDescriptorFromAll(java.lang.String name)
getAttributeDescriptorFromAll in interface FeatureTypepublic FeatureAttributeDescriptor getAttributeDescriptor(int index)
FeatureTypeFeatureAttributeDescriptor given the attribute index.getAttributeDescriptor in interface FeatureTypeindex - of the attributeFeatureAttributeDescriptorpublic java.lang.String getAttributeName(int index)
FeatureTypegetAttributeName in interface FeatureTypeindex - of the attributepublic FeatureType getCopy()
FeatureTypegetCopy in interface FeatureTypepublic java.lang.Object clone()
Cloneableclone in class java.util.ArrayList<FeatureAttributeDescriptor>Object#clone()}.public int getDefaultGeometryAttributeIndex()
FeatureTypegetDefaultGeometryAttributeIndex in interface FeatureTypepublic java.lang.String getDefaultGeometryAttributeName()
FeatureTypegetDefaultGeometryAttributeName in interface FeatureTypepublic int getDefaultTimeAttributeIndex()
FeatureTypegetDefaultTimeAttributeIndex in interface FeatureTypepublic java.lang.String getDefaultTimeAttributeName()
FeatureTypegetDefaultTimeAttributeName in interface FeatureTypepublic EditableFeatureType getEditable()
FeatureTypegetEditable in interface FeatureTypeEditableFeatureTypepublic int getIndex(java.lang.String name)
FeatureTypegetIndex in interface FeatureTypename - of the attributepublic FeatureRules getRules()
FeatureTypeFeatureRules containing all rules applicable to
features of this type.getRules in interface FeatureTypeFeatureRules containing all rules applicable to
features of this type.public boolean hasEvaluators()
FeatureTypeEvaluator(s).
Evaluators are used to obtain the values for calculated attributes.hasEvaluators in interface FeatureTypeEvaluator(s).public boolean hasEmulators()
public boolean hasRequiredFields()
public java.util.List getSRSs()
FeatureTypeGeometry.getSRSs in interface FeatureTypepublic IProjection getDefaultSRS()
FeatureTypegetDefaultSRS in interface FeatureTypepublic void validateFeature(EditableFeature feature, int check) throws DataException
DataExceptionpublic void validateFeature(Feature feature, int check) throws DataException
DataExceptionpublic FeatureType getSubtype() throws DataException
DataExceptionpublic FeatureType getSubtype(java.lang.String[] names) throws DataException
DataExceptionpublic FeatureType getSubtype(java.lang.String[] names, java.lang.String[] constantsNames) throws DataException
DataExceptionpublic FeatureType getSubtype(java.lang.String[] names, java.lang.String[] constantsNames, boolean includePk) throws DataException
DataExceptionpublic boolean isSubtypeOf(FeatureType featureType)
public java.util.List<FeatureAttributeDescriptor> toList()
toList in interface UnmodifiableBasicList<FeatureAttributeDescriptor>public Tags getTags()
getTags in interface DynStruct_v2getTags in interface Taggedpublic java.lang.String getLabel()
getLabel in interface DynStruct_v2public void setLabel(java.lang.String label)
setLabel in interface DynStruct_v2public DynField addDynField(java.lang.String name, int type)
addDynField in interface DynStruct_v2public FeatureExtraColumns getExtraColumns()
getExtraColumns in interface FeatureTypepublic void setExtraColumn(FeatureExtraColumns extraColumn)
public java.lang.Iterable<FeatureAttributeDescriptor> getAllAttributeDescriptors()
getAllAttributeDescriptors in interface FeatureTypepublic boolean hasOID()
FeatureTypeFeature(s) of this FeatureType have an OID
defined. An OID is the Feature unique identifier.
Some stores provide their own OIDs which are always unique (such as
Postgre) while others don't support this concept and then it is the
library who creates runtime ad-hoc OIDs as it see fits, but then
integrity of this OIDs among different work sessions cannot be guaranteed
(this is the case for shape files).hasOID in interface FeatureTypepublic java.lang.String toString()
toString in class java.util.AbstractCollection<FeatureAttributeDescriptor>public java.util.Iterator<FeatureAttributeDescriptor> iterator()
FeatureTypeFeatureAttributeDescriptor.iterator in interface java.lang.Iterable<FeatureAttributeDescriptor>iterator in interface java.util.Collection<FeatureAttributeDescriptor>iterator in interface java.util.List<FeatureAttributeDescriptor>iterator in interface FeatureTypeiterator in class java.util.ArrayList<FeatureAttributeDescriptor>FeatureAttributeDescriptors.protected java.util.Iterator getIterator(java.util.Iterator iter)
public boolean allowAutomaticValues()
FeatureTypeallowAutomaticValues in interface FeatureTypepublic FeatureAttributeDescriptor[] getAttributeDescriptors()
FeatureTypegetAttributeDescriptors in interface FeatureTypepublic boolean hasPrimaryKey()
hasPrimaryKey in interface FeatureTypepublic boolean supportReferences()
supportReferences in interface FeatureTypepublic FeatureAttributeDescriptor[] getPrimaryKey()
FeatureTypegetPrimaryKey in interface FeatureTypepublic FeatureAttributeDescriptor getDefaultGeometryAttribute()
FeatureTypegetDefaultGeometryAttribute in interface FeatureTypepublic boolean equals(java.lang.Object o)
equals in interface java.util.Collection<FeatureAttributeDescriptor>equals in interface java.util.List<FeatureAttributeDescriptor>equals in class java.util.AbstractList<FeatureAttributeDescriptor>public DynField addDynField(java.lang.String name)
addDynField in interface DynStructpublic DynField getDeclaredDynField(java.lang.String name)
getDeclaredDynField in interface DynStructpublic DynField[] getDeclaredDynFields()
getDeclaredDynFields in interface DynStructpublic java.lang.String getDescription()
getDescription in interface DynStructpublic DynField getDynField(java.lang.String name)
getDynField in interface DynStructpublic DynField[] getDynFields()
getDynFields in interface DynStructpublic void removeDynField(java.lang.String name)
removeDynField in interface DynStructpublic void addDynMethod(DynMethod dynMethod)
addDynMethod in interface DynClasspublic void extend(DynClass dynClass)
public void extend(java.lang.String dynClassName)
public void extend(java.lang.String namespace,
java.lang.String dynClassName)
public DynMethod getDeclaredDynMethod(java.lang.String name) throws DynMethodException
getDeclaredDynMethod in interface DynClassDynMethodExceptionpublic DynMethod[] getDeclaredDynMethods() throws DynMethodException
getDeclaredDynMethods in interface DynClassDynMethodExceptionpublic DynMethod getDynMethod(java.lang.String name) throws DynMethodException
getDynMethod in interface DynClassDynMethodExceptionpublic DynMethod getDynMethod(int code) throws DynMethodException
getDynMethod in interface DynClassDynMethodExceptionpublic DynMethod[] getDynMethods() throws DynMethodException
getDynMethods in interface DynClassDynMethodExceptionpublic DynClass[] getSuperDynClasses()
getSuperDynClasses in interface DynClasspublic boolean isInstance(DynObject dynObject)
isInstance in interface DynStructpublic DynObject newInstance()
newInstance in interface DynStructpublic void removeDynMethod(java.lang.String name)
removeDynMethod in interface DynClasspublic DynField addDynFieldChoice(java.lang.String name, int type, java.lang.Object defaultValue, DynObjectValueItem[] values, boolean mandatory, boolean persistent)
addDynFieldChoice in interface DynStruct#addDynFieldChoice(String)public DynField addDynFieldRange(java.lang.String name, int type, java.lang.Object defaultValue, java.lang.Object min, java.lang.Object max, boolean mandatory, boolean persistent)
addDynFieldRange in interface DynStruct#addDynFieldRange(String)public DynField addDynFieldSingle(java.lang.String name, int type, java.lang.Object defaultValue, boolean mandatory, boolean persistent)
addDynFieldSingle in interface DynStructDynStruct.addDynFieldString(String)public void validate(DynObject object) throws DynObjectValidateException
validate in interface DynStructDynObjectValidateExceptionpublic DynField addDynFieldLong(java.lang.String name)
addDynFieldLong in interface DynStructpublic DynField addDynFieldChoice(java.lang.String name, int type, java.lang.Object defaultValue, DynObjectValueItem[] values)
addDynFieldChoice in interface DynStruct#addDynFieldChoice(String)public DynField addDynFieldRange(java.lang.String name, int type, java.lang.Object defaultValue, java.lang.Object min, java.lang.Object max)
addDynFieldRange in interface DynStruct#addDynFieldRange(String)public DynField addDynFieldSingle(java.lang.String name, int type, java.lang.Object defaultValue)
addDynFieldSingle in interface DynStructDynStruct.addDynFieldString(String)public DynField addDynFieldString(java.lang.String name)
addDynFieldString in interface DynStructpublic DynField addDynFieldInt(java.lang.String name)
addDynFieldInt in interface DynStructpublic DynField addDynFieldDouble(java.lang.String name)
addDynFieldDouble in interface DynStructpublic DynField addDynFieldFloat(java.lang.String name)
addDynFieldFloat in interface DynStructpublic DynField addDynFieldBoolean(java.lang.String name)
addDynFieldBoolean in interface DynStructpublic DynField addDynFieldList(java.lang.String name)
addDynFieldList in interface DynStructpublic DynField addDynFieldMap(java.lang.String name)
addDynFieldMap in interface DynStructpublic DynField addDynFieldObject(java.lang.String name)
addDynFieldObject in interface DynStructpublic DynField addDynFieldSet(java.lang.String name)
addDynFieldSet in interface DynStructpublic DynField addDynFieldArray(java.lang.String name)
addDynFieldArray in interface DynStructpublic DynField addDynFieldDate(java.lang.String name)
addDynFieldDate in interface DynStructpublic java.lang.String getFullName()
getFullName in interface DynStructpublic java.lang.String getNamespace()
getNamespace in interface DynStructpublic DynStruct[] getSuperDynStructs()
getSuperDynStructs in interface DynStructpublic void setDescription(java.lang.String description)
setDescription in interface DynStructpublic void setNamespace(java.lang.String namespace)
setNamespace in interface DynStructpublic DynField addDynFieldFile(java.lang.String name)
addDynFieldFile in interface DynStructpublic DynField addDynFieldFolder(java.lang.String name)
addDynFieldFolder in interface DynStructpublic DynField addDynFieldURL(java.lang.String name)
addDynFieldURL in interface DynStructpublic DynField addDynFieldURI(java.lang.String name)
addDynFieldURI in interface DynStructpublic boolean isExtendable(DynStruct dynStruct)
isExtendable in interface DynStructpublic void extend(DynStruct[] structs)
public void remove(DynStruct superDynStruct)
DynStructpublic void removeAll(DynStruct[] superDynStruct)
public FeatureAttributeDescriptor getDefaultTimeAttribute()
FeatureTypegetDefaultTimeAttribute in interface FeatureTypepublic void setDefaultTimeAttributeName(java.lang.String name)
protected void fixAll()
protected long getCRC()
public FeatureStore getStore()
FeatureTypegetStore in interface FeatureTypepublic void setStore(FeatureStore store)
public java.util.List<FeatureAttributeDescriptor> getFilteredAttributes(java.util.function.Predicate<FeatureAttributeDescriptor> filter, int max)
getFilteredAttributes in interface FeatureTypepublic java.util.List<FeatureAttributeDescriptor> getRecentUseds()
getRecentUseds in interface FeatureTypepublic void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentPersistenceExceptionpublic void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentPersistenceExceptionpublic static void registerPersistenceDefinition()
public FeatureStore getAsFeatureStore()
getAsFeatureStore in interface FeatureTypepublic java.lang.String getNewFieldName()
getNewFieldName in interface FeatureTypepublic FeatureType getOriginalFeatureType()
FeatureTypegetOriginalFeatureType in interface FeatureTypepublic boolean hasOnlyMetadataChanges(FeatureType old)
hasOnlyMetadataChanges in interface FeatureTypepublic void writeAsDALFile(java.io.File file)
writeAsDALFile in interface FeatureTypepublic void writeAsDALFile(java.io.File file,
java.lang.String format)
writeAsDALFile in interface FeatureTypepublic JsonObject toJson()
toJson in interface SupportToJsonpublic JsonObjectBuilder toJsonBuilder()
toJsonBuilder in interface SupportToJsonpublic void fromJson(JsonObject json)
public static void selfRegister()