Class DefaultEditableFeatureAttributeDescriptor

java.lang.Object
org.gvsig.fmap.dal.feature.impl.DefaultFeatureAttributeDescriptor
org.gvsig.fmap.dal.feature.impl.DefaultEditableFeatureAttributeDescriptor
All Implemented Interfaces:
Cloneable, org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor, org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor, org.gvsig.json.SupportFromJson, org.gvsig.json.SupportToJson, org.gvsig.tools.dynobject.DynField, org.gvsig.tools.dynobject.DynField_LabelAttribute, org.gvsig.tools.dynobject.DynField_v2, org.gvsig.tools.dynobject.Tagged, org.gvsig.tools.lang.Cloneable, org.gvsig.tools.observer.Observable, org.gvsig.tools.persistence.Persistent, org.gvsig.tools.util.LabeledValue<org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor>

public class DefaultEditableFeatureAttributeDescriptor extends DefaultFeatureAttributeDescriptor implements org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
  • Constructor Details

    • DefaultEditableFeatureAttributeDescriptor

      protected DefaultEditableFeatureAttributeDescriptor(DefaultFeatureAttributeDescriptor other)
    • DefaultEditableFeatureAttributeDescriptor

      public DefaultEditableFeatureAttributeDescriptor(org.gvsig.fmap.dal.feature.FeatureType type, boolean strongChanges)
  • Method Details

    • getSource

    • fixAll

      public void fixAll()
      Overrides:
      fixAll in class DefaultFeatureAttributeDescriptor
    • checkIntegrity

      public void checkIntegrity() throws org.gvsig.fmap.dal.feature.exception.AttributeFeatureTypeIntegrityException
      Specified by:
      checkIntegrity in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
      Throws:
      org.gvsig.fmap.dal.feature.exception.AttributeFeatureTypeIntegrityException
    • setAllowNull

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setAllowNull(boolean allowNull)
      Specified by:
      setAllowNull in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • getForeingKey

      public org.gvsig.fmap.dal.feature.EditableForeingKey getForeingKey()
      Specified by:
      getForeingKey in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
      Specified by:
      getForeingKey in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
      Overrides:
      getForeingKey in class DefaultFeatureAttributeDescriptor
    • setDataType

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setDataType(org.gvsig.tools.dataTypes.DataType dataType)
      Specified by:
      setDataType in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setDataType

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setDataType(int type)
      Specified by:
      setDataType in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
      Overrides:
      setDataType in class DefaultFeatureAttributeDescriptor
    • setDefaultValue

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setDefaultValue(Object defaultValue)
      Specified by:
      setDefaultValue in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setDefaultFieldValue

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setDefaultFieldValue(Object defaultValue)
      Specified by:
      setDefaultFieldValue in interface org.gvsig.tools.dynobject.DynField
      Overrides:
      setDefaultFieldValue in class DefaultFeatureAttributeDescriptor
    • setAvoidCachingAvailableValues

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setAvoidCachingAvailableValues(boolean avoidCachingAvailableValues)
      Specified by:
      setAvoidCachingAvailableValues in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setEvaluator

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setEvaluator(org.gvsig.tools.evaluator.Evaluator evaluator)
      Specified by:
      setEvaluator in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setFeatureAttributeEmulator

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setFeatureAttributeEmulator(org.gvsig.fmap.dal.feature.FeatureAttributeEmulator featureAttributeEmulator)
      Specified by:
      setFeatureAttributeEmulator in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
      Overrides:
      setFeatureAttributeEmulator in class DefaultFeatureAttributeDescriptor
    • setFeatureAttributeEmulator

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setFeatureAttributeEmulator(org.gvsig.expressionevaluator.Expression expression)
      Specified by:
      setFeatureAttributeEmulator in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setFeatureAttributeEmulator

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setFeatureAttributeEmulator(String expression)
      Specified by:
      setFeatureAttributeEmulator in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setGeometryType

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setGeometryType(int type)
      Specified by:
      setGeometryType in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setGeometrySubType

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setGeometrySubType(int subType)
      Specified by:
      setGeometrySubType in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setGeometryType

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setGeometryType(org.gvsig.fmap.geom.type.GeometryType geometryType)
      Specified by:
      setGeometryType in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setGeometryType

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setGeometryType(String geometryType)
      Specified by:
      setGeometryType in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setGeometryType

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setGeometryType(int type, int subType)
      Specified by:
      setGeometryType in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setIsPrimaryKey

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setIsPrimaryKey(boolean isPrimaryKey)
      Specified by:
      setIsPrimaryKey in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setIsReadOnly

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setIsReadOnly(boolean isReadOnly)
      Specified by:
      setIsReadOnly in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setMaximumOccurrences

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setMaximumOccurrences(int maximumOccurrences)
      Specified by:
      setMaximumOccurrences in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setMinimumOccurrences

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setMinimumOccurrences(int minimumOccurrences)
      Specified by:
      setMinimumOccurrences in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setName

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setName(String name)
      Specified by:
      setName in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
      Overrides:
      setName in class DefaultFeatureAttributeDescriptor
    • getOriginalName

      public String getOriginalName()
      Specified by:
      getOriginalName in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setObjectClass

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setObjectClass(Class theClass)
      Specified by:
      setObjectClass in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setPrecision

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setPrecision(int precision)
      Specified by:
      setPrecision in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setScale

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setScale(int scale)
      Specified by:
      setScale in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setSRS

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setSRS(org.gvsig.crs.projection.lib.Projection SRS)
      Specified by:
      setSRS in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setSRS

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setSRS(String SRS)
      Specified by:
      setSRS in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setInterval

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setInterval(org.gvsig.timesupport.Interval interval)
      Specified by:
      setInterval in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
      Overrides:
      setInterval in class DefaultFeatureAttributeDescriptor
    • setSize

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setSize(int size)
      Specified by:
      setSize in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • hasStrongChanges

      public boolean hasStrongChanges()
    • setAdditionalInfo

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setAdditionalInfo(String infoName, Object value)
      Specified by:
      setAdditionalInfo in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setAdditionalInfo

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setAdditionalInfo(String infoName, String value)
      Specified by:
      setAdditionalInfo in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setIsAutomatic

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setIsAutomatic(boolean isAutomatic)
      Specified by:
      setIsAutomatic in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setIsTime

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setIsTime(boolean isTime)
      Specified by:
      setIsTime in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setDateFormat

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setDateFormat(DateFormat dateFormat)
      Specified by:
      setDateFormat in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setIsIndexed

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setIsIndexed(boolean isIndexed)
      Specified by:
      setIsIndexed in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setAllowIndexDuplicateds

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setAllowIndexDuplicateds(boolean allowDuplicateds)
      Specified by:
      setAllowIndexDuplicateds in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setIsIndexAscending

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setIsIndexAscending(boolean ascending)
      Specified by:
      setIsIndexAscending in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setDataProfileName

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setDataProfileName(String dataProfile)
      Specified by:
      setDataProfileName in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
      Overrides:
      setDataProfileName in class DefaultFeatureAttributeDescriptor
    • setLocale

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setLocale(Locale locale)
      Specified by:
      setLocale in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setLocale

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setLocale(String locale)
    • setRoundMode

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setRoundMode(int roundMode)
      Specified by:
      setRoundMode in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • set

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor set(String name, Object value)
      Specified by:
      set in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setDisplaySize

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setDisplaySize(int size)
      Specified by:
      setDisplaySize in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setAvailableValuesFilter

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setAvailableValuesFilter(org.gvsig.expressionevaluator.Expression filter)
      Specified by:
      setAvailableValuesFilter in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
      Overrides:
      setAvailableValuesFilter in class DefaultFeatureAttributeDescriptor
    • setAvailableValuesFilter

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setAvailableValuesFilter(String filter)
      Overrides:
      setAvailableValuesFilter in class DefaultFeatureAttributeDescriptor
    • setForeingkey

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setForeingkey(boolean isForeingkey, boolean isClosedList, String tableName, String codeName, String labelFormula)
      Specified by:
      setForeingkey in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • setTag

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setTag(String name, Object value)
      Specified by:
      setTag in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor
    • selfRegister

      public static void selfRegister()
    • setDefaultFormat

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor setDefaultFormat(String format)
      Specified by:
      setDefaultFormat in interface org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor