Class DefaultFeatureAttributeDescriptor

java.lang.Object
org.gvsig.fmap.dal.feature.impl.DefaultFeatureAttributeDescriptor
All Implemented Interfaces:
Cloneable, org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor, 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>
Direct Known Subclasses:
DefaultEditableFeatureAttributeDescriptor

public class DefaultFeatureAttributeDescriptor extends Object implements org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor, org.gvsig.tools.persistence.Persistent, org.gvsig.tools.dynobject.DynField_v2, org.gvsig.tools.dynobject.DynField_LabelAttribute, org.gvsig.tools.observer.Observable
  • Field Details

    • LOGGER

      protected static final org.slf4j.Logger LOGGER
    • NOTIFICATION_FIXED_CHANGED

      public static final String NOTIFICATION_FIXED_CHANGED
      See Also:
    • allowNull

      protected boolean allowNull
    • dataType

      protected org.gvsig.tools.dataTypes.DataType dataType
    • dataProfile

      protected String dataProfile
    • dateFormat

      protected DateFormat dateFormat
    • defaultValue

      protected Object defaultValue
    • index

      protected int index
    • maximumOccurrences

      protected int maximumOccurrences
    • minimumOccurrences

      protected int minimumOccurrences
    • size

      protected int size
    • name

      protected String name
    • objectClass

      protected Class objectClass
    • precision

      protected int precision
    • scale

      protected int scale
    • roundMode

      protected int roundMode
    • evaluator

      protected org.gvsig.tools.evaluator.Evaluator evaluator
    • primaryKey

      protected boolean primaryKey
    • readOnly

      protected boolean readOnly
    • SRS

      protected org.gvsig.crs.projection.lib.Projection SRS
    • geomType

      protected org.gvsig.fmap.geom.type.GeometryType geomType
    • geometryType

      protected int geometryType
    • geometrySubType

      protected int geometrySubType
    • additionalInfo

      protected Map<String,String> additionalInfo
    • isAutomatic

      protected boolean isAutomatic
    • isTime

      protected boolean isTime
    • interval

      protected org.gvsig.timesupport.Interval interval
    • featureAttributeGetter

      protected org.gvsig.fmap.dal.feature.FeatureAttributeGetter featureAttributeGetter
    • featureAttributeEmulator

      protected org.gvsig.fmap.dal.feature.FeatureAttributeEmulator featureAttributeEmulator
    • indexed

      protected boolean indexed
    • isIndexAscending

      protected boolean isIndexAscending
    • allowIndexDuplicateds

      protected boolean allowIndexDuplicateds
    • availableValues

      protected org.gvsig.tools.dynobject.DynObjectValueItem[] availableValues
    • availableValuesCache

      protected org.gvsig.tools.dynobject.DynObjectValueItem[] availableValuesCache
    • availableValuesExpression

      protected org.gvsig.expressionevaluator.Expression availableValuesExpression
    • avoidCachingAvailableValues

      protected boolean avoidCachingAvailableValues
    • description

      protected String description
    • minValue

      protected Object minValue
    • maxValue

      protected Object maxValue
    • label

      protected String label
    • shortLabel

      protected String shortLabel
    • order

      protected int order
    • hidden

      protected boolean hidden
    • groupName

      protected String groupName
    • tags

      protected org.gvsig.tools.dynobject.Tags tags
    • foreingKey

      protected DefaultForeingKey foreingKey
    • coerceContext

      protected org.gvsig.tools.dataTypes.CoercionContext coerceContext
    • mathContext

      protected MathContext mathContext
    • locale

      protected Locale locale
    • displaySize

      protected int displaySize
    • defaultFormat

      protected String defaultFormat
    • fixed

      protected boolean fixed
    • observableHelper

      protected org.gvsig.tools.observer.ObservableHelper observableHelper
  • Constructor Details

    • DefaultFeatureAttributeDescriptor

      public DefaultFeatureAttributeDescriptor()
    • DefaultFeatureAttributeDescriptor

      protected DefaultFeatureAttributeDescriptor(org.gvsig.fmap.dal.feature.FeatureType type)
    • DefaultFeatureAttributeDescriptor

      protected DefaultFeatureAttributeDescriptor(DefaultFeatureAttributeDescriptor other)
  • Method Details

    • copyFrom

      public void copyFrom(org.gvsig.tools.dynobject.DynField other1)
      Specified by:
      copyFrom in interface org.gvsig.tools.dynobject.DynField_v2
    • setFeatureType

      public void setFeatureType(org.gvsig.fmap.dal.feature.FeatureType type)
    • getDataTypeName

      public String getDataTypeName()
      Specified by:
      getDataTypeName in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getFullDataTypeName

      public String getFullDataTypeName()
      Specified by:
      getFullDataTypeName in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getCopy

      Specified by:
      getCopy in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • clone

      public Object clone() throws CloneNotSupportedException
      Specified by:
      clone in interface org.gvsig.tools.lang.Cloneable
      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException
    • allowNull

      public boolean allowNull()
      Specified by:
      allowNull in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getLocale

      public Locale getLocale()
      Specified by:
      getLocale in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getDataType

      public org.gvsig.tools.dataTypes.DataType getDataType()
      Specified by:
      getDataType in interface org.gvsig.tools.dynobject.DynField
    • setDataType

      public org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor setDataType(int type)
    • getDateFormat

      public DateFormat getDateFormat()
      Specified by:
      getDateFormat in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getDefaultValue

      public Object getDefaultValue()
      Specified by:
      getDefaultValue in interface org.gvsig.tools.dynobject.DynField
    • getDefaultValueCoerced

      @Deprecated public Object getDefaultValueCoerced()
      Deprecated.
      Specified by:
      getDefaultValueCoerced in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getCoercedDefaultValue

      public Object getCoercedDefaultValue()
      Specified by:
      getCoercedDefaultValue in interface org.gvsig.tools.dynobject.DynField_v2
    • getDefaultValueSupplier

      public Supplier getDefaultValueSupplier()
      Specified by:
      getDefaultValueSupplier in interface org.gvsig.tools.dynobject.DynField_v2
    • setDefaultValueSupplier

      public org.gvsig.tools.dynobject.DynField setDefaultValueSupplier(Supplier supplier)
      Specified by:
      setDefaultValueSupplier in interface org.gvsig.tools.dynobject.DynField_v2
    • getEvaluator

      public org.gvsig.tools.evaluator.Evaluator getEvaluator()
      Specified by:
      getEvaluator in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getGeometryType

      public int getGeometryType()
      Specified by:
      getGeometryType in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getGeometrySubType

      public int getGeometrySubType()
      Specified by:
      getGeometrySubType in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getGeomType

      public org.gvsig.fmap.geom.type.GeometryType getGeomType()
      Specified by:
      getGeomType in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getIndex

      public int getIndex()
      Specified by:
      getIndex in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • setIndex

      protected org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor setIndex(int index)
    • getMaximumOccurrences

      public int getMaximumOccurrences()
      Specified by:
      getMaximumOccurrences in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getMinimumOccurrences

      public int getMinimumOccurrences()
      Specified by:
      getMinimumOccurrences in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getName

      public String getName()
      Specified by:
      getName in interface org.gvsig.tools.dynobject.DynField
    • setName

      public org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor setName(String name)
    • getObjectClass

      public Class getObjectClass()
      Specified by:
      getObjectClass in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getPrecision

      public int getPrecision()
      Specified by:
      getPrecision in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getScale

      public int getScale()
      Specified by:
      getScale in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getCoercion

      public org.gvsig.tools.dataTypes.Coercion getCoercion()
      Specified by:
      getCoercion in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getMathContext

      public MathContext getMathContext()
      Specified by:
      getMathContext in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getCoercionContext

      public org.gvsig.tools.dataTypes.CoercionContext getCoercionContext()
      Specified by:
      getCoercionContext in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getRoundMode

      public int getRoundMode()
      Specified by:
      getRoundMode in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getSRS

      public org.gvsig.crs.projection.lib.Projection getSRS()
      Specified by:
      getSRS in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getInterval

      public org.gvsig.timesupport.Interval getInterval()
      Specified by:
      getInterval in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getSRS

      public org.gvsig.crs.projection.lib.Projection getSRS(WeakReference storeRef)
    • getSize

      public int getSize()
      Specified by:
      getSize in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • isPrimaryKey

      public boolean isPrimaryKey()
      Specified by:
      isPrimaryKey in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • isReadOnly

      public boolean isReadOnly()
      Specified by:
      isReadOnly in interface org.gvsig.tools.dynobject.DynField
    • getAdditionalInfo

      public String getAdditionalInfo(String infoName)
      Specified by:
      getAdditionalInfo in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • isAutomatic

      public boolean isAutomatic()
      Specified by:
      isAutomatic in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • loadFromState

      public void loadFromState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException
      Specified by:
      loadFromState in interface org.gvsig.tools.persistence.Persistent
      Throws:
      org.gvsig.tools.persistence.exception.PersistenceException
    • saveToState

      public void saveToState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException
      Specified by:
      saveToState in interface org.gvsig.tools.persistence.Persistent
      Throws:
      org.gvsig.tools.persistence.exception.PersistenceException
    • registerPersistenceDefinition

      public static void registerPersistenceDefinition()
    • getTags

      public org.gvsig.tools.dynobject.Tags getTags()
      Specified by:
      getTags in interface org.gvsig.tools.dynobject.DynField_v2
      Specified by:
      getTags in interface org.gvsig.tools.dynobject.Tagged
    • getAvailableValuesFilter

      public org.gvsig.expressionevaluator.Expression getAvailableValuesFilter()
      Specified by:
      getAvailableValuesFilter in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • setAvailableValuesFilter

      public org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor setAvailableValuesFilter(org.gvsig.expressionevaluator.Expression filter)
    • setAvailableValuesFilter

      public org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor setAvailableValuesFilter(String filter)
    • hasConstantAvailableValues

      public boolean hasConstantAvailableValues()
      Specified by:
      hasConstantAvailableValues in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • isAvoidCachingAvailableValues

      public boolean isAvoidCachingAvailableValues()
      Specified by:
      isAvoidCachingAvailableValues in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • hasAvailableValues

      public boolean hasAvailableValues()
      Specified by:
      hasAvailableValues in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getAvailableValues

      public org.gvsig.tools.dynobject.DynObjectValueItem[] getAvailableValues(org.gvsig.tools.dynobject.DynObject context)
      Specified by:
      getAvailableValues in interface org.gvsig.tools.dynobject.DynField_v2
    • isAvailableValuesCalculated

      public boolean isAvailableValuesCalculated()
      Specified by:
      isAvailableValuesCalculated in interface org.gvsig.tools.dynobject.DynField_v2
    • getAvailableValues

      public org.gvsig.tools.dynobject.DynObjectValueItem[] getAvailableValues()
      Specified by:
      getAvailableValues in interface org.gvsig.tools.dynobject.DynField
    • getAvailableValuesExpression

      public org.gvsig.expressionevaluator.Expression getAvailableValuesExpression()
      Specified by:
      getAvailableValuesExpression in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • setAvailableValuesExpression

      public org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor setAvailableValuesExpression(String expression)
      Specified by:
      setAvailableValuesExpression in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • setAvailableValuesExpression

      public org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor setAvailableValuesExpression(org.gvsig.expressionevaluator.Expression expression)
      Specified by:
      setAvailableValuesExpression in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getLabelOfValue

      public String getLabelOfValue(Object value)
      Specified by:
      getLabelOfValue in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface org.gvsig.tools.dynobject.DynField
    • getMaxValue

      public Object getMaxValue()
      Specified by:
      getMaxValue in interface org.gvsig.tools.dynobject.DynField
    • getMinValue

      public Object getMinValue()
      Specified by:
      getMinValue in interface org.gvsig.tools.dynobject.DynField
    • getTheTypeOfAvailableValues

      public int getTheTypeOfAvailableValues()
      Specified by:
      getTheTypeOfAvailableValues in interface org.gvsig.tools.dynobject.DynField
    • getType

      public int getType()
      Specified by:
      getType in interface org.gvsig.tools.dynobject.DynField
    • isMandatory

      public boolean isMandatory()
      Specified by:
      isMandatory in interface org.gvsig.tools.dynobject.DynField
    • isPersistent

      public boolean isPersistent()
      Specified by:
      isPersistent in interface org.gvsig.tools.dynobject.DynField
    • setAvailableValues

      public org.gvsig.tools.dynobject.DynField setAvailableValues(org.gvsig.tools.dynobject.DynObjectValueItem[] values)
      Specified by:
      setAvailableValues in interface org.gvsig.tools.dynobject.DynField
    • setDescription

      public org.gvsig.tools.dynobject.DynField setDescription(String description)
      Specified by:
      setDescription in interface org.gvsig.tools.dynobject.DynField
    • setMandatory

      public org.gvsig.tools.dynobject.DynField setMandatory(boolean mandatory)
      Specified by:
      setMandatory in interface org.gvsig.tools.dynobject.DynField
    • setMaxValue

      public org.gvsig.tools.dynobject.DynField setMaxValue(Object maxValue)
      Specified by:
      setMaxValue in interface org.gvsig.tools.dynobject.DynField
    • setMinValue

      public org.gvsig.tools.dynobject.DynField setMinValue(Object minValue)
      Specified by:
      setMinValue in interface org.gvsig.tools.dynobject.DynField
    • setPersistent

      public org.gvsig.tools.dynobject.DynField setPersistent(boolean persistent)
      Specified by:
      setPersistent in interface org.gvsig.tools.dynobject.DynField
    • setTheTypeOfAvailableValues

      public org.gvsig.tools.dynobject.DynField setTheTypeOfAvailableValues(int type)
      Specified by:
      setTheTypeOfAvailableValues in interface org.gvsig.tools.dynobject.DynField
    • setType

      public org.gvsig.tools.dynobject.DynField setType(int type)
      Specified by:
      setType in interface org.gvsig.tools.dynobject.DynField
    • setDefaultDynValue

      @Deprecated public org.gvsig.tools.dynobject.DynField setDefaultDynValue(Object defaultValue)
      Deprecated.
      Specified by:
      setDefaultDynValue in interface org.gvsig.tools.dynobject.DynField
    • setDefaultFieldValue

      public org.gvsig.tools.dynobject.DynField setDefaultFieldValue(Object defaultValue)
      Specified by:
      setDefaultFieldValue in interface org.gvsig.tools.dynobject.DynField
    • getClassOfValue

      public Class getClassOfValue()
      Specified by:
      getClassOfValue in interface org.gvsig.tools.dynobject.DynField
    • getElementsType

      public org.gvsig.tools.dynobject.DynField getElementsType()
      Specified by:
      getElementsType in interface org.gvsig.tools.dynobject.DynField
    • setClassOfValue

      public org.gvsig.tools.dynobject.DynField setClassOfValue(Class theClass) throws org.gvsig.tools.dynobject.exception.DynFieldIsNotAContainerException
      Specified by:
      setClassOfValue in interface org.gvsig.tools.dynobject.DynField
      Throws:
      org.gvsig.tools.dynobject.exception.DynFieldIsNotAContainerException
    • setElementsType

      public org.gvsig.tools.dynobject.DynField setElementsType(org.gvsig.tools.dynobject.DynStruct type) throws org.gvsig.tools.dynobject.exception.DynFieldIsNotAContainerException
      Specified by:
      setElementsType in interface org.gvsig.tools.dynobject.DynField
      Throws:
      org.gvsig.tools.dynobject.exception.DynFieldIsNotAContainerException
    • setElementsType

      public org.gvsig.tools.dynobject.DynField setElementsType(int type) throws org.gvsig.tools.dynobject.exception.DynFieldIsNotAContainerException
      Specified by:
      setElementsType in interface org.gvsig.tools.dynobject.DynField
      Throws:
      org.gvsig.tools.dynobject.exception.DynFieldIsNotAContainerException
    • setDataProfileName

      public org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor setDataProfileName(String dataProfile)
    • getDataProfileName

      public String getDataProfileName()
      Specified by:
      getDataProfileName in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • hasDataProfile

      public boolean hasDataProfile()
      Specified by:
      hasDataProfile in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getDataProfile

      public org.gvsig.fmap.dal.feature.DataProfile getDataProfile()
      Specified by:
      getDataProfile in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • validate

      public void validate(Object value) throws org.gvsig.tools.dynobject.exception.DynFieldValidateException
      Specified by:
      validate in interface org.gvsig.tools.dynobject.DynField
      Throws:
      org.gvsig.tools.dynobject.exception.DynFieldValidateException
    • getSubtype

      public String getSubtype()
      Specified by:
      getSubtype in interface org.gvsig.tools.dynobject.DynField
    • coerce

      public Object coerce(Object value) throws org.gvsig.tools.dataTypes.CoercionException
      Specified by:
      coerce in interface org.gvsig.tools.dynobject.DynField
      Throws:
      org.gvsig.tools.dataTypes.CoercionException
    • setAvailableValues

      public org.gvsig.tools.dynobject.DynField setAvailableValues(List values)
      Specified by:
      setAvailableValues in interface org.gvsig.tools.dynobject.DynField
    • getGroup

      public String getGroup()
      Specified by:
      getGroup in interface org.gvsig.tools.dynobject.DynField
    • getOder

      public int getOder()
      Specified by:
      getOder in interface org.gvsig.tools.dynobject.DynField
    • getLabel

      public String getLabel()
      Specified by:
      getLabel in interface org.gvsig.tools.dynobject.DynField_LabelAttribute
      Specified by:
      getLabel in interface org.gvsig.tools.util.LabeledValue<org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor>
    • getLocalizedLabel

      public String getLocalizedLabel()
      Specified by:
      getLocalizedLabel in interface org.gvsig.tools.dynobject.DynField_LabelAttribute
      Specified by:
      getLocalizedLabel in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • setLabel

      public org.gvsig.tools.dynobject.DynField setLabel(String label)
      Specified by:
      setLabel in interface org.gvsig.tools.dynobject.DynField_LabelAttribute
    • setShortLabel

      public org.gvsig.tools.dynobject.DynField setShortLabel(String shortLabel)
      Specified by:
      setShortLabel in interface org.gvsig.tools.dynobject.DynField_LabelAttribute
    • getShortLabel

      public String getShortLabel()
      Specified by:
      getShortLabel in interface org.gvsig.tools.dynobject.DynField_LabelAttribute
    • getLocalizedShortLabel

      public String getLocalizedShortLabel()
      Specified by:
      getLocalizedShortLabel in interface org.gvsig.tools.dynobject.DynField_LabelAttribute
      Specified by:
      getLocalizedShortLabel in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • setGroup

      public org.gvsig.tools.dynobject.DynField setGroup(String groupName)
      Specified by:
      setGroup in interface org.gvsig.tools.dynobject.DynField
    • setOrder

      public org.gvsig.tools.dynobject.DynField setOrder(int order)
      Specified by:
      setOrder in interface org.gvsig.tools.dynobject.DynField
    • setHidden

      public org.gvsig.tools.dynobject.DynField setHidden(boolean hidden)
      Specified by:
      setHidden in interface org.gvsig.tools.dynobject.DynField
    • isHidden

      public boolean isHidden()
      Specified by:
      isHidden in interface org.gvsig.tools.dynobject.DynField
    • setReadOnly

      public org.gvsig.tools.dynobject.DynField setReadOnly(boolean readOnly)
      Specified by:
      setReadOnly in interface org.gvsig.tools.dynobject.DynField
    • isContainer

      public boolean isContainer()
      Specified by:
      isContainer in interface org.gvsig.tools.dynobject.DynField
    • getClassOfItems

      public Class getClassOfItems()
      Specified by:
      getClassOfItems in interface org.gvsig.tools.dynobject.DynField
      Specified by:
      getClassOfItems in interface org.gvsig.tools.dynobject.DynField_v2
    • setClassOfItems

      public org.gvsig.tools.dynobject.DynField setClassOfItems(Class theClass)
      Specified by:
      setClassOfItems in interface org.gvsig.tools.dynobject.DynField
      Specified by:
      setClassOfItems in interface org.gvsig.tools.dynobject.DynField_v2
    • setType

      public org.gvsig.tools.dynobject.DynField setType(org.gvsig.tools.dataTypes.DataType type)
      Specified by:
      setType in interface org.gvsig.tools.dynobject.DynField
    • setSubtype

      public org.gvsig.tools.dynobject.DynField setSubtype(String subtype)
      Specified by:
      setSubtype in interface org.gvsig.tools.dynobject.DynField
    • isTime

      public boolean isTime()
      Specified by:
      isTime in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getFeatureAttributeGetter

      public org.gvsig.fmap.dal.feature.FeatureAttributeGetter getFeatureAttributeGetter()
      Specified by:
      getFeatureAttributeGetter in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • setFeatureAttributeGetter

      public void setFeatureAttributeGetter(org.gvsig.fmap.dal.feature.FeatureAttributeGetter featureAttributeTransform)
      Specified by:
      setFeatureAttributeGetter in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getFeatureAttributeEmulator

      public org.gvsig.fmap.dal.feature.FeatureAttributeEmulator getFeatureAttributeEmulator()
      Specified by:
      getFeatureAttributeEmulator in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • setFeatureAttributeEmulator

      public org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor setFeatureAttributeEmulator(org.gvsig.fmap.dal.feature.FeatureAttributeEmulator featureAttributeEmulator)
    • isIndexed

      public boolean isIndexed()
      Specified by:
      isIndexed in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • isForeingKey

      public boolean isForeingKey()
      Specified by:
      isForeingKey in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getForeingKey

      public org.gvsig.fmap.dal.feature.ForeingKey getForeingKey()
      Specified by:
      getForeingKey in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • allowIndexDuplicateds

      public boolean allowIndexDuplicateds()
      Specified by:
      allowIndexDuplicateds in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • isIndexAscending

      public boolean isIndexAscending()
      Specified by:
      isIndexAscending in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • setClassOfValue

      public org.gvsig.tools.dynobject.DynField setClassOfValue(org.gvsig.tools.dynobject.DynStruct dynStrct)
      Specified by:
      setClassOfValue in interface org.gvsig.tools.dynobject.DynField_v2
    • setClassOfValue

      public org.gvsig.tools.dynobject.DynField setClassOfValue(String theClassNameOfValue)
      Specified by:
      setClassOfValue in interface org.gvsig.tools.dynobject.DynField_v2
    • getClassNameOfValue

      public String getClassNameOfValue()
      Specified by:
      getClassNameOfValue in interface org.gvsig.tools.dynobject.DynField_v2
    • getDynClassOfValue

      public org.gvsig.tools.dynobject.DynStruct getDynClassOfValue()
      Specified by:
      getDynClassOfValue in interface org.gvsig.tools.dynobject.DynField_v2
    • setTypeOfItems

      public org.gvsig.tools.dynobject.DynField setTypeOfItems(int type)
      Specified by:
      setTypeOfItems in interface org.gvsig.tools.dynobject.DynField_v2
    • getTypeOfItems

      public int getTypeOfItems()
      Specified by:
      getTypeOfItems in interface org.gvsig.tools.dynobject.DynField_v2
    • setClassOfItems

      public org.gvsig.tools.dynobject.DynField setClassOfItems(org.gvsig.tools.dynobject.DynStruct dynStrct)
      Specified by:
      setClassOfItems in interface org.gvsig.tools.dynobject.DynField_v2
    • setClassOfItems

      public org.gvsig.tools.dynobject.DynField setClassOfItems(String theClassNameOfValue)
      Specified by:
      setClassOfItems in interface org.gvsig.tools.dynobject.DynField_v2
    • getClassNameOfItems

      public String getClassNameOfItems()
      Specified by:
      getClassNameOfItems in interface org.gvsig.tools.dynobject.DynField_v2
    • getDynClassOfItems

      public org.gvsig.tools.dynobject.DynStruct getDynClassOfItems()
      Specified by:
      getDynClassOfItems in interface org.gvsig.tools.dynobject.DynField_v2
    • setRelationType

      public org.gvsig.tools.dynobject.DynField setRelationType(int relationType)
      Specified by:
      setRelationType in interface org.gvsig.tools.dynobject.DynField_v2
    • getRelationType

      public int getRelationType()
      Specified by:
      getRelationType in interface org.gvsig.tools.dynobject.DynField_v2
    • setAvailableValues

      public org.gvsig.tools.dynobject.DynField setAvailableValues(org.gvsig.tools.dynobject.DynMethod availableValuesMethod)
      Specified by:
      setAvailableValues in interface org.gvsig.tools.dynobject.DynField_v2
    • getAvailableValuesMethod

      public org.gvsig.tools.dynobject.DynMethod getAvailableValuesMethod()
      Specified by:
      getAvailableValuesMethod in interface org.gvsig.tools.dynobject.DynField_v2
    • getCalculateMethod

      public org.gvsig.tools.dynobject.DynMethod getCalculateMethod()
      Specified by:
      getCalculateMethod in interface org.gvsig.tools.dynobject.DynField_v2
    • setCalculateMethod

      public org.gvsig.tools.dynobject.DynField setCalculateMethod(org.gvsig.tools.dynobject.DynMethod method)
      Specified by:
      setCalculateMethod in interface org.gvsig.tools.dynobject.DynField_v2
    • isCalculated

      public boolean isCalculated()
      Specified by:
      isCalculated in interface org.gvsig.tools.dynobject.DynField_v2
    • getCalculatedValue

      public Object getCalculatedValue(org.gvsig.tools.dynobject.DynObject self)
      Specified by:
      getCalculatedValue in interface org.gvsig.tools.dynobject.DynField_v2
    • setValidateElements

      public org.gvsig.tools.dynobject.DynField setValidateElements(boolean validate)
      Specified by:
      setValidateElements in interface org.gvsig.tools.dynobject.DynField_v2
    • getValidateElements

      public boolean getValidateElements()
      Specified by:
      getValidateElements in interface org.gvsig.tools.dynobject.DynField_v2
    • hasLabel

      public boolean hasLabel()
      Specified by:
      hasLabel in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • hasShortLabel

      public boolean hasShortLabel()
      Specified by:
      hasShortLabel in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • hasDescription

      public boolean hasDescription()
      Specified by:
      hasDescription in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getValue

      public org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor getValue()
      Specified by:
      getValue in interface org.gvsig.tools.util.LabeledValue<org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor>
    • getDisplaySize

      public int getDisplaySize()
      Specified by:
      getDisplaySize in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • isInAvailableValues

      public boolean isInAvailableValues(Object valueToCheck)
      Specified by:
      isInAvailableValues in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • setConstantValue

      public void setConstantValue(boolean isConstantValue)
    • isComputed

      public boolean isComputed()
      Specified by:
      isComputed in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getStore

      public org.gvsig.fmap.dal.feature.FeatureStore getStore()
      Specified by:
      getStore in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • getFeatureType

      public org.gvsig.fmap.dal.feature.FeatureType getFeatureType()
      Specified by:
      getFeatureType in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • setInterval

      public org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor setInterval(org.gvsig.timesupport.Interval interval)
    • fixAll

      public void fixAll()
    • getRequiredFieldNames

      public String[] getRequiredFieldNames()
      Specified by:
      getRequiredFieldNames in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • recentUsed

      public void recentUsed()
      Specified by:
      recentUsed in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • hasOnlyMetadataChanges

      public boolean hasOnlyMetadataChanges(org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor other)
      Specified by:
      hasOnlyMetadataChanges in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • get

      public Object get(String name)
      Specified by:
      get in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • setSRSForced

      public void setSRSForced(org.gvsig.crs.projection.lib.Projection SRS)
    • toJson

      public javax.json.JsonObject toJson()
      Specified by:
      toJson in interface org.gvsig.json.SupportToJson
    • toJsonBuilder

      public org.gvsig.json.JsonObjectBuilder toJsonBuilder()
      Specified by:
      toJsonBuilder in interface org.gvsig.json.SupportToJson
    • fromJson

      public void fromJson(javax.json.JsonObject json)
    • selfRegister

      public static void selfRegister()
    • getDefaultFormat

      public String getDefaultFormat()
      Specified by:
      getDefaultFormat in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • format

      public String format(Object value)
      Specified by:
      format in interface org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor
    • toString

      public String toString()
      Specified by:
      toString in interface org.gvsig.tools.util.LabeledValue<org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor>
      Overrides:
      toString in class Object
    • setFixed

      public void setFixed(boolean fixed)
    • isFixed

      public boolean isFixed()
    • addObserver

      public void addObserver(org.gvsig.tools.observer.Observer o)
      Specified by:
      addObserver in interface org.gvsig.tools.observer.Observable
    • deleteObserver

      public void deleteObserver(org.gvsig.tools.observer.Observer o)
      Specified by:
      deleteObserver in interface org.gvsig.tools.observer.Observable
    • deleteObservers

      public void deleteObservers()
      Specified by:
      deleteObservers in interface org.gvsig.tools.observer.Observable