public class DefaultEditableFeatureAttributeDescriptor extends DefaultFeatureAttributeDescriptor implements EditableFeatureAttributeDescriptor
DynField_v2.AvailableValuesProvideradditionalInfo, allowIndexDuplicateds, allowNull, availableValues, availableValuesCache, availableValuesExpression, avoidCachingAvailableValues, coerceContext, dataProfile, dataType, dateFormat, defaultFormat, defaultValue, description, displaySize, evaluator, featureAttributeEmulator, featureAttributeGetter, fixed, foreingKey, geometrySubType, geometryType, geomType, groupName, hidden, index, indexed, interval, isAutomatic, isIndexAscending, isTime, label, locale, LOGGER, mathContext, maximumOccurrences, maxValue, minimumOccurrences, minValue, name, NOTIFICATION_FIXED_CHANGED, objectClass, observableHelper, order, precision, primaryKey, readOnly, roundMode, scale, shortLabel, size, SRS, tagsANY, CHOICE, RANGE, RELATION_TYPE_AGGREGATE, RELATION_TYPE_AGGREGATE_WITH_COMPOSITION, RELATION_TYPE_COLLABORATION, RELATION_TYPE_COLLABORATION_WITH_COMPOSITION, RELATION_TYPE_COMPOSITION, RELATION_TYPE_IDENTITY, RELATION_TYPE_NONE| Modifier | Constructor and Description | 
|---|---|
protected  | 
DefaultEditableFeatureAttributeDescriptor(DefaultFeatureAttributeDescriptor other)  | 
  | 
DefaultEditableFeatureAttributeDescriptor(FeatureType type,
                                         boolean strongChanges)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
checkIntegrity()
Checks attribute integrity 
 | 
void | 
fixAll()  | 
EditableForeingKey | 
getForeingKey()  | 
java.lang.String | 
getOriginalName()
Returns the attribute descriptor's name before it was changed or null if
 never changed 
 | 
DefaultFeatureAttributeDescriptor | 
getSource()  | 
boolean | 
hasStrongChanges()  | 
static void | 
selfRegister()  | 
EditableFeatureAttributeDescriptor | 
set(java.lang.String name,
   java.lang.Object value)  | 
EditableFeatureAttributeDescriptor | 
setAdditionalInfo(java.lang.String infoName,
                 java.lang.Object value)  | 
EditableFeatureAttributeDescriptor | 
setAdditionalInfo(java.lang.String infoName,
                 java.lang.String value)
Sets additional information of the attribute 
 | 
EditableFeatureAttributeDescriptor | 
setAllowIndexDuplicateds(boolean allowDuplicateds)  | 
EditableFeatureAttributeDescriptor | 
setAllowNull(boolean allowNull)
Sets whether the related FeatureAttribute can have a null value 
 | 
EditableFeatureAttributeDescriptor | 
setAvailableValuesFilter(Expression filter)  | 
EditableFeatureAttributeDescriptor | 
setAvailableValuesFilter(java.lang.String filter)  | 
EditableFeatureAttributeDescriptor | 
setAvoidCachingAvailableValues(boolean avoidCachingAvailableValues)  | 
EditableFeatureAttributeDescriptor | 
setDataProfileName(java.lang.String dataProfile)  | 
EditableFeatureAttributeDescriptor | 
setDataType(DataType dataType)  | 
EditableFeatureAttributeDescriptor | 
setDataType(int type)
Sets the data type 
 | 
EditableFeatureAttributeDescriptor | 
setDateFormat(java.text.DateFormat dateFormat)
If this attribute is of type Date, then this method set the date format
 set by the data store. 
 | 
EditableFeatureAttributeDescriptor | 
setDefaultFieldValue(java.lang.Object defaultValue)
Set the default value used for this field when a new object with this
 field is created. 
 | 
EditableFeatureAttributeDescriptor | 
setDefaultFormat(java.lang.String format)  | 
EditableFeatureAttributeDescriptor | 
setDefaultValue(java.lang.Object defaultValue)
Sets the default value 
 | 
EditableFeatureAttributeDescriptor | 
setDisplaySize(int size)
Set the required bytes to store this attribute. 
 | 
EditableFeatureAttributeDescriptor | 
setEvaluator(Evaluator evaluator)
Sets the expression evaluator that the FeatureAttribute will use 
 | 
EditableFeatureAttributeDescriptor | 
setFeatureAttributeEmulator(Expression expression)  | 
EditableFeatureAttributeDescriptor | 
setFeatureAttributeEmulator(FeatureAttributeEmulator featureAttributeEmulator)
Sets the  
FeatureAttributeEmulator that is used to update the
 presentation of a field. | 
EditableFeatureAttributeDescriptor | 
setFeatureAttributeEmulator(java.lang.String expression)  | 
EditableFeatureAttributeDescriptor | 
setForeingkey(boolean isForeingkey,
             boolean isClosedList,
             java.lang.String tableName,
             java.lang.String codeName,
             java.lang.String labelFormula)  | 
EditableFeatureAttributeDescriptor | 
setGeometrySubType(int subType)
Sets the geometry subtype 
 | 
EditableFeatureAttributeDescriptor | 
setGeometryType(GeometryType geometryType)
Sets the geometry type 
 | 
EditableFeatureAttributeDescriptor | 
setGeometryType(int type)
Sets the geometry type 
 | 
EditableFeatureAttributeDescriptor | 
setGeometryType(int type,
               int subType)  | 
EditableFeatureAttributeDescriptor | 
setGeometryType(java.lang.String geometryType)
Sets the geometry type and subtype. 
 | 
EditableFeatureAttributeDescriptor | 
setInterval(Interval interval)  | 
EditableFeatureAttributeDescriptor | 
setIsAutomatic(boolean isAutomatic)
Sets whether the related FeatureAttribute is part of the FeatureType's
 primary key 
 | 
EditableFeatureAttributeDescriptor | 
setIsIndexAscending(boolean ascending)  | 
EditableFeatureAttributeDescriptor | 
setIsIndexed(boolean isIndexed)
Sets if this attribute is indexed in the table. 
 | 
EditableFeatureAttributeDescriptor | 
setIsPrimaryKey(boolean isPrimaryKey)
Sets whether the related FeatureAttribute is part of the FeatureType's
 primary key 
 | 
EditableFeatureAttributeDescriptor | 
setIsReadOnly(boolean isReadOnly)
Sets whether the related FeatureAttribute is read only 
 | 
EditableFeatureAttributeDescriptor | 
setIsTime(boolean isTime)
Sets is the attribute is a temporal attribute. 
 | 
EditableFeatureAttributeDescriptor | 
setLocale(java.util.Locale locale)  | 
EditableFeatureAttributeDescriptor | 
setLocale(java.lang.String locale)  | 
EditableFeatureAttributeDescriptor | 
setMaximumOccurrences(int maximumOccurrences)
Sets the maximum number of occurrences 
 | 
EditableFeatureAttributeDescriptor | 
setMinimumOccurrences(int minimumOccurrences)
Sets the number of minimum occurrences 
 | 
EditableFeatureAttributeDescriptor | 
setName(java.lang.String name)
Sets the name 
 | 
EditableFeatureAttributeDescriptor | 
setObjectClass(java.lang.Class theClass)
Sets the Class to which the related FeatureAttribute can be cast 
 | 
EditableFeatureAttributeDescriptor | 
setPrecision(int precision)
Sets the precision 
 | 
EditableFeatureAttributeDescriptor | 
setRoundMode(int roundMode)  | 
EditableFeatureAttributeDescriptor | 
setScale(int scale)  | 
EditableFeatureAttributeDescriptor | 
setSize(int size)
Sets the size. 
 | 
EditableFeatureAttributeDescriptor | 
setSRS(IProjection SRS)
Sets the SRS. 
 | 
EditableFeatureAttributeDescriptor | 
setSRS(java.lang.String SRS)  | 
EditableFeatureAttributeDescriptor | 
setTag(java.lang.String name,
      java.lang.Object value)  | 
addObserver, allowIndexDuplicateds, allowNull, clone, coerce, copyFrom, deleteObserver, deleteObservers, equals, format, fromJson, get, getAdditionalInfo, getAvailableValues, getAvailableValues, getAvailableValuesExpression, getAvailableValuesFilter, getAvailableValuesMethod, getCalculatedValue, getCalculateMethod, getClassNameOfItems, getClassNameOfValue, getClassOfItems, getClassOfValue, getCoercedDefaultValue, getCoercion, getCoercionContext, getCopy, getDataProfile, getDataProfileName, getDataType, getDataTypeName, getDateFormat, getDefaultFormat, getDefaultValue, getDefaultValueCoerced, getDefaultValueSupplier, getDescription, getDisplaySize, getDynClassOfItems, getDynClassOfValue, getElementsType, getEvaluator, getFeatureAttributeEmulator, getFeatureAttributeGetter, getFeatureType, getGeometrySubType, getGeometryType, getGeomType, getGroup, getIndex, getInterval, getLabel, getLabelOfValue, getLocale, getLocalizedLabel, getLocalizedShortLabel, getMathContext, getMaximumOccurrences, getMaxValue, getMinimumOccurrences, getMinValue, getName, getObjectClass, getOder, getPrecision, getRelationType, getRequiredFieldNames, getRoundMode, getScale, getShortLabel, getSize, getSRS, getSRS, getStore, getSubtype, getTags, getTheTypeOfAvailableValues, getType, getTypeOfItems, getValidateElements, getValue, hasAvailableValues, hasConstantAvailableValues, hasDataProfile, hasDescription, hasLabel, hasOnlyMetadataChanges, hasShortLabel, isAutomatic, isAvailableValuesCalculated, isAvoidCachingAvailableValues, isCalculated, isComputed, isContainer, isFixed, isForeingKey, isHidden, isInAvailableValues, isIndexAscending, isIndexed, isMandatory, isPersistent, isPrimaryKey, isReadOnly, isTime, loadFromState, recentUsed, registerPersistenceDefinition, saveToState, setAvailableValues, setAvailableValues, setAvailableValues, setAvailableValuesExpression, setAvailableValuesExpression, setCalculateMethod, setClassOfItems, setClassOfItems, setClassOfItems, setClassOfValue, setClassOfValue, setClassOfValue, setConstantValue, setDefaultDynValue, setDefaultValueSupplier, setDescription, setElementsType, setElementsType, setFeatureAttributeGetter, setFeatureType, setFixed, setGroup, setHidden, setIndex, setLabel, setMandatory, setMaxValue, setMinValue, setOrder, setPersistent, setReadOnly, setRelationType, setShortLabel, setSRSForced, setSubtype, setTheTypeOfAvailableValues, setType, setType, setTypeOfItems, setValidateElements, toJson, toJsonBuilder, toString, validatefinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitallowIndexDuplicateds, allowNull, format, get, getAdditionalInfo, getAvailableValuesExpression, getAvailableValuesFilter, getCoercion, getCoercionContext, getCopy, getDataProfile, getDataProfileName, getDataTypeName, getDateFormat, getDefaultFormat, getDefaultValueCoerced, getDisplaySize, getEvaluator, getFeatureAttributeEmulator, getFeatureAttributeGetter, getFeatureType, getGeometrySubType, getGeometryType, getGeomType, getIndex, getInterval, getLabelOfValue, getLocale, getLocalizedLabel, getLocalizedShortLabel, getMathContext, getMaximumOccurrences, getMinimumOccurrences, getObjectClass, getPrecision, getRequiredFieldNames, getRoundMode, getScale, getSize, getSRS, getStore, hasAvailableValues, hasConstantAvailableValues, hasDataProfile, hasDescription, hasLabel, hasOnlyMetadataChanges, hasShortLabel, isAutomatic, isAvoidCachingAvailableValues, isComputed, isForeingKey, isInAvailableValues, isIndexAscending, isIndexed, isPrimaryKey, isTime, recentUsed, setAvailableValuesExpression, setAvailableValuesExpression, setFeatureAttributeGettercopyFrom, getAvailableValues, getAvailableValuesMethod, getCalculatedValue, getCalculateMethod, getClassNameOfItems, getClassNameOfValue, getClassOfItems, getCoercedDefaultValue, getDefaultValueSupplier, getDynClassOfItems, getDynClassOfValue, getRelationType, getTags, getTypeOfItems, getValidateElements, isAvailableValuesCalculated, isCalculated, setAvailableValues, setCalculateMethod, setClassOfItems, setClassOfItems, setClassOfItems, setClassOfValue, setClassOfValue, setDefaultValueSupplier, setRelationType, setTypeOfItems, setValidateElementsgetLabel, getShortLabel, setLabel, setShortLabelcoerce, getAvailableValues, getClassOfValue, getDataType, getDefaultValue, getDescription, getElementsType, getGroup, getMaxValue, getMinValue, getName, getOder, getSubtype, getTheTypeOfAvailableValues, getType, isContainer, isHidden, isMandatory, isPersistent, isReadOnly, setAvailableValues, setAvailableValues, setClassOfValue, setDefaultDynValue, setDescription, setElementsType, setElementsType, setGroup, setHidden, setMandatory, setMaxValue, setMinValue, setOrder, setPersistent, setReadOnly, setSubtype, setTheTypeOfAvailableValues, setType, setType, validateclone, cloneQuietly, cloneQuietlygetLabel, getValue, label, toStringloadFromState, saveToStatetoJson, toJson, toJsonBuilder, toJsonBuilderfromJsonprotected DefaultEditableFeatureAttributeDescriptor(DefaultFeatureAttributeDescriptor other)
public DefaultEditableFeatureAttributeDescriptor(FeatureType type, boolean strongChanges)
public DefaultFeatureAttributeDescriptor getSource()
public void fixAll()
fixAll in class DefaultFeatureAttributeDescriptorpublic void checkIntegrity()
                    throws AttributeFeatureTypeIntegrityException
EditableFeatureAttributeDescriptorcheckIntegrity in interface EditableFeatureAttributeDescriptorAttributeFeatureTypeIntegrityExceptionpublic EditableFeatureAttributeDescriptor setAllowNull(boolean allowNull)
EditableFeatureAttributeDescriptorsetAllowNull in interface EditableFeatureAttributeDescriptorallowNull - a boolean value determining whether the FeatureAttribute
 can be nullpublic EditableForeingKey getForeingKey()
getForeingKey in interface EditableFeatureAttributeDescriptorgetForeingKey in interface FeatureAttributeDescriptorgetForeingKey in class DefaultFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setDataType(DataType dataType)
setDataType in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setDataType(int type)
EditableFeatureAttributeDescriptorsetDataType in interface EditableFeatureAttributeDescriptorsetDataType in class DefaultFeatureAttributeDescriptortype - one of the constants defined in DataTypespublic EditableFeatureAttributeDescriptor setDefaultValue(java.lang.Object defaultValue)
EditableFeatureAttributeDescriptorsetDefaultValue in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setDefaultFieldValue(java.lang.Object defaultValue)
DynFieldsetDefaultFieldValue in interface DynFieldsetDefaultFieldValue in class DefaultFeatureAttributeDescriptorDynField objectpublic EditableFeatureAttributeDescriptor setAvoidCachingAvailableValues(boolean avoidCachingAvailableValues)
setAvoidCachingAvailableValues in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setEvaluator(Evaluator evaluator)
EditableFeatureAttributeDescriptorsetEvaluator in interface EditableFeatureAttributeDescriptorevaluator - an implementation of DAL's Evaluator interfacepublic EditableFeatureAttributeDescriptor setFeatureAttributeEmulator(FeatureAttributeEmulator featureAttributeEmulator)
EditableFeatureAttributeDescriptorFeatureAttributeEmulator that is used to update the
 presentation of a field.setFeatureAttributeEmulator in interface EditableFeatureAttributeDescriptorsetFeatureAttributeEmulator in class DefaultFeatureAttributeDescriptorfeatureAttributeEmulator - the FeatureAttributeEmulator to
 set.public EditableFeatureAttributeDescriptor setFeatureAttributeEmulator(Expression expression)
setFeatureAttributeEmulator in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setFeatureAttributeEmulator(java.lang.String expression)
setFeatureAttributeEmulator in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setGeometryType(int type)
EditableFeatureAttributeDescriptorsetGeometryType in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setGeometrySubType(int subType)
EditableFeatureAttributeDescriptorsetGeometrySubType in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setGeometryType(GeometryType geometryType)
EditableFeatureAttributeDescriptorsetGeometryType in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setGeometryType(java.lang.String geometryType)
EditableFeatureAttributeDescriptor{geometryType}{sep}[geometrySubtype} where:
 setGeometryType in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setGeometryType(int type, int subType)
setGeometryType in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setIsPrimaryKey(boolean isPrimaryKey)
EditableFeatureAttributeDescriptorsetIsPrimaryKey in interface EditableFeatureAttributeDescriptorisPrimaryKey - true if is part of the primary keypublic EditableFeatureAttributeDescriptor setIsReadOnly(boolean isReadOnly)
EditableFeatureAttributeDescriptorsetIsReadOnly in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setMaximumOccurrences(int maximumOccurrences)
EditableFeatureAttributeDescriptorsetMaximumOccurrences in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setMinimumOccurrences(int minimumOccurrences)
EditableFeatureAttributeDescriptorsetMinimumOccurrences in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setName(java.lang.String name)
EditableFeatureAttributeDescriptorsetName in interface EditableFeatureAttributeDescriptorsetName in class DefaultFeatureAttributeDescriptorname - to setpublic java.lang.String getOriginalName()
EditableFeatureAttributeDescriptorgetOriginalName in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setObjectClass(java.lang.Class theClass)
EditableFeatureAttributeDescriptorsetObjectClass in interface EditableFeatureAttributeDescriptortheClass - Class to which the related FeatureAttribute can be castpublic EditableFeatureAttributeDescriptor setPrecision(int precision)
EditableFeatureAttributeDescriptorsetPrecision in interface EditableFeatureAttributeDescriptorprecision - of type intpublic EditableFeatureAttributeDescriptor setScale(int scale)
setScale in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setSRS(IProjection SRS)
EditableFeatureAttributeDescriptorsetSRS in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setSRS(java.lang.String SRS)
setSRS in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setInterval(Interval interval)
setInterval in interface EditableFeatureAttributeDescriptorsetInterval in class DefaultFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setSize(int size)
EditableFeatureAttributeDescriptorsetSize in interface EditableFeatureAttributeDescriptorsize - a size of type intpublic boolean hasStrongChanges()
public EditableFeatureAttributeDescriptor setAdditionalInfo(java.lang.String infoName, java.lang.Object value)
setAdditionalInfo in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setAdditionalInfo(java.lang.String infoName, java.lang.String value)
EditableFeatureAttributeDescriptorsetAdditionalInfo in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setIsAutomatic(boolean isAutomatic)
EditableFeatureAttributeDescriptorsetIsAutomatic in interface EditableFeatureAttributeDescriptorisAutomatic - true if is part of the primary keypublic EditableFeatureAttributeDescriptor setIsTime(boolean isTime)
EditableFeatureAttributeDescriptorsetIsTime in interface EditableFeatureAttributeDescriptorisTime - true if the attribute is temporalpublic EditableFeatureAttributeDescriptor setDateFormat(java.text.DateFormat dateFormat)
EditableFeatureAttributeDescriptorsetDateFormat in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setIsIndexed(boolean isIndexed)
EditableFeatureAttributeDescriptorsetIsIndexed in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setAllowIndexDuplicateds(boolean allowDuplicateds)
setAllowIndexDuplicateds in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setIsIndexAscending(boolean ascending)
setIsIndexAscending in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setDataProfileName(java.lang.String dataProfile)
setDataProfileName in interface EditableFeatureAttributeDescriptorsetDataProfileName in class DefaultFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setLocale(java.util.Locale locale)
setLocale in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setLocale(java.lang.String locale)
public EditableFeatureAttributeDescriptor setRoundMode(int roundMode)
setRoundMode in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor set(java.lang.String name, java.lang.Object value)
set in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setDisplaySize(int size)
EditableFeatureAttributeDescriptorsetDisplaySize in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setAvailableValuesFilter(Expression filter)
setAvailableValuesFilter in interface EditableFeatureAttributeDescriptorsetAvailableValuesFilter in class DefaultFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setAvailableValuesFilter(java.lang.String filter)
setAvailableValuesFilter in class DefaultFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setForeingkey(boolean isForeingkey, boolean isClosedList, java.lang.String tableName, java.lang.String codeName, java.lang.String labelFormula)
setForeingkey in interface EditableFeatureAttributeDescriptorpublic EditableFeatureAttributeDescriptor setTag(java.lang.String name, java.lang.Object value)
setTag in interface EditableFeatureAttributeDescriptorpublic static void selfRegister()
public EditableFeatureAttributeDescriptor setDefaultFormat(java.lang.String format)
setDefaultFormat in interface EditableFeatureAttributeDescriptor