public interface EditableFeatureAttributeDescriptor extends FeatureAttributeDescriptor
ANY, CHOICE, RANGE, RELATION_TYPE_AGGREGATE, RELATION_TYPE_COLLABORATION, RELATION_TYPE_COMPOSITION, RELATION_TYPE_IDENTITY, RELATION_TYPE_NONE
Modifier and Type | Method and Description |
---|---|
void |
checkIntegrity()
Checks attribute integrity
|
String |
getOriginalName()
Returns the attribute descriptor's name before
it was changed or null if never changed
|
EditableFeatureAttributeDescriptor |
setAdditionalInfo(String infoName,
Object 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 |
setDataType(int type)
Sets the data type
|
EditableFeatureAttributeDescriptor |
setDateFormat(DateFormat dateFormat)
If this attribute is of type Date, then this method set
the date format set by the data store.
|
EditableFeatureAttributeDescriptor |
setDefaultValue(Object defaultValue)
Sets the default value
|
EditableFeatureAttributeDescriptor |
setEvaluator(Evaluator evaluator)
Sets the expression evaluator that the FeatureAttribute will use
|
EditableFeatureAttributeDescriptor |
setFeatureAttributeEmulator(FeatureAttributeEmulator featureAttributeEmulator)
Sets the
FeatureAttributeEmulator that is used to update the
presentation of a field. |
EditableFeatureAttributeDescriptor |
setGeometrySubType(int geometrySubType)
Deprecated.
use
setGeometryType(GeometryType) instead |
EditableFeatureAttributeDescriptor |
setGeometryType(GeometryType geometryType)
Sets the geometry type
|
EditableFeatureAttributeDescriptor |
setGeometryType(int geometryType)
Deprecated.
use
setGeometryType(GeometryType) instead |
EditableFeatureAttributeDescriptor |
setGeometryType(int geometrySubType,
int geometryType) |
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 |
setMaximumOccurrences(int maximumOccurrences)
Sets the maximum number of occurrences
|
EditableFeatureAttributeDescriptor |
setMinimumOccurrences(int minimumOccurrences)
Sets the number of minimum occurrences
|
EditableFeatureAttributeDescriptor |
setName(String name)
Sets the name
|
EditableFeatureAttributeDescriptor |
setObjectClass(Class theClass)
Sets the Class to which the related FeatureAttribute can be cast
|
EditableFeatureAttributeDescriptor |
setPrecision(int precision)
Sets the precision
|
EditableFeatureAttributeDescriptor |
setSize(int size)
Sets the size
|
EditableFeatureAttributeDescriptor |
setSRS(IProjection SRS)
Sets the SRS.
|
allowIndexDuplicateds, allowNull, getAdditionalInfo, getCopy, getDataTypeName, getDateFormat, getEvaluator, getFeatureAttributeEmulator, getFeatureAttributeGetter, getGeometrySubType, getGeometryType, getGeomType, getIndex, getMaximumOccurrences, getMinimumOccurrences, getObjectClass, getPrecision, getSize, getSRS, isAutomatic, isIndexAscending, isIndexed, isPrimaryKey, isTime, setFeatureAttributeGetter
coerce, getAvailableValues, getClassOfItems, getClassOfValue, getDataType, getDefaultValue, getDescription, getElementsType, getGroup, getMaxValue, getMinValue, getName, getOder, getSubtype, getTheTypeOfAvailableValues, getType, isContainer, isHidden, isMandatory, isPersistent, isReadOnly, setAvailableValues, setAvailableValues, setClassOfItems, setClassOfValue, setDefaultDynValue, setDefaultFieldValue, setDescription, setElementsType, setElementsType, setGroup, setHidden, setMandatory, setMaxValue, setMinValue, setOrder, setPersistent, setReadOnly, setSubtype, setTheTypeOfAvailableValues, setType, setType, validate
void checkIntegrity() throws AttributeFeatureTypeIntegrityException
EditableFeatureAttributeDescriptor setName(String name)
name
- to setEditableFeatureAttributeDescriptor setDataType(int type)
type
- one of the constants defined in DataTypes
EditableFeatureAttributeDescriptor setSize(int size)
size
- a size of type intEditableFeatureAttributeDescriptor setPrecision(int precision)
precision
- of type intEditableFeatureAttributeDescriptor setObjectClass(Class theClass)
theClass
- Class to which the related FeatureAttribute can be castEditableFeatureAttributeDescriptor setMinimumOccurrences(int minimumOccurrences)
minimumOccurrences
- EditableFeatureAttributeDescriptor setMaximumOccurrences(int maximumOccurrences)
maximumOccurrences
- EditableFeatureAttributeDescriptor setIsPrimaryKey(boolean isPrimaryKey)
isPrimaryKey
- true if is part of the primary keyEditableFeatureAttributeDescriptor setEvaluator(Evaluator evaluator)
evaluator
- an implementation of DAL's Evaluator interfaceEditableFeatureAttributeDescriptor setFeatureAttributeEmulator(FeatureAttributeEmulator featureAttributeEmulator)
FeatureAttributeEmulator
that is used to update the
presentation of a field.featureAttributeEmulator
- the FeatureAttributeEmulator
to set.EditableFeatureAttributeDescriptor setIsReadOnly(boolean isReadOnly)
isReadOnly
- EditableFeatureAttributeDescriptor setAllowNull(boolean allowNull)
allowNull
- a boolean value determining whether the FeatureAttribute can be nullEditableFeatureAttributeDescriptor setSRS(IProjection SRS)
SRS
- EditableFeatureAttributeDescriptor setGeometryType(int geometryType)
setGeometryType(GeometryType)
insteadgeometryType
- EditableFeatureAttributeDescriptor setGeometrySubType(int geometrySubType)
setGeometryType(GeometryType)
insteadgeometrySubType
- EditableFeatureAttributeDescriptor setGeometryType(GeometryType geometryType)
geometryType
- EditableFeatureAttributeDescriptor setGeometryType(int geometrySubType, int geometryType)
EditableFeatureAttributeDescriptor setDefaultValue(Object defaultValue)
defaultValue
- EditableFeatureAttributeDescriptor setAdditionalInfo(String infoName, Object value)
EditableFeatureAttributeDescriptor setIsAutomatic(boolean isAutomatic)
isPrimaryKey
- true if is part of the primary keyEditableFeatureAttributeDescriptor setIsTime(boolean isTime)
isTime
- true
if the attribute is temporalEditableFeatureAttributeDescriptor setIsIndexed(boolean isIndexed)
isIndexed
- EditableFeatureAttributeDescriptor setAllowIndexDuplicateds(boolean allowDuplicateds)
EditableFeatureAttributeDescriptor setIsIndexAscending(boolean ascending)
String getOriginalName()
EditableFeatureAttributeDescriptor setDateFormat(DateFormat dateFormat)