Class DefaultFeatureReference

java.lang.Object
org.gvsig.fmap.dal.feature.impl.featurereference.DefaultFeatureReference
All Implemented Interfaces:
org.gvsig.fmap.dal.feature.FeatureReference, org.gvsig.fmap.dal.feature.spi.FeatureReferenceProviderServices, org.gvsig.json.SupportToJson, org.gvsig.tools.persistence.Persistent

@Deprecated public class DefaultFeatureReference extends Object implements org.gvsig.fmap.dal.feature.spi.FeatureReferenceProviderServices, org.gvsig.tools.persistence.Persistent
Deprecated.
  • Constructor Details

    • DefaultFeatureReference

      public DefaultFeatureReference()
      Deprecated.
      Constructor used by the persistence manager. Don't use directly. After to invoke this method, the persistence manager calls the the method loadFromState(PersistentState) to set the values of the internal attributes that this class needs to work.
    • DefaultFeatureReference

      public DefaultFeatureReference(DefaultFeature feature)
      Deprecated.
    • DefaultFeatureReference

      public DefaultFeatureReference(org.gvsig.fmap.dal.feature.FeatureStore store, org.gvsig.fmap.dal.feature.spi.FeatureProvider fdata)
      Deprecated.
    • DefaultFeatureReference

      public DefaultFeatureReference(org.gvsig.fmap.dal.feature.FeatureStore store, Object oid)
      Deprecated.
    • DefaultFeatureReference

      public DefaultFeatureReference(org.gvsig.fmap.dal.feature.FeatureStore store, String code)
      Deprecated.
  • Method Details

    • calculatePK

      public void calculatePK(org.gvsig.fmap.dal.feature.spi.FeatureProvider fdata)
      Deprecated.
    • getFeature

      public org.gvsig.fmap.dal.feature.Feature getFeature() throws org.gvsig.fmap.dal.exception.DataException
      Deprecated.
      Specified by:
      getFeature in interface org.gvsig.fmap.dal.feature.FeatureReference
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getFeatureQuietly

      public org.gvsig.fmap.dal.feature.Feature getFeatureQuietly()
      Deprecated.
      Specified by:
      getFeatureQuietly in interface org.gvsig.fmap.dal.feature.FeatureReference
    • getFeature

      public org.gvsig.fmap.dal.feature.Feature getFeature(org.gvsig.fmap.dal.feature.FeatureType featureType) throws org.gvsig.fmap.dal.exception.DataException
      Deprecated.
      Specified by:
      getFeature in interface org.gvsig.fmap.dal.feature.FeatureReference
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getOID

      public Object getOID()
      Deprecated.
      Specified by:
      getOID in interface org.gvsig.fmap.dal.feature.spi.FeatureReferenceProviderServices
    • isNewFeature

      public boolean isNewFeature()
      Deprecated.
      Specified by:
      isNewFeature in interface org.gvsig.fmap.dal.feature.FeatureReference
    • equals

      public boolean equals(Object obj)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • getKeyNames

      public String[] getKeyNames()
      Deprecated.
      Specified by:
      getKeyNames in interface org.gvsig.fmap.dal.feature.spi.FeatureReferenceProviderServices
    • getKeyValue

      public Object getKeyValue(String name)
      Deprecated.
      Specified by:
      getKeyValue in interface org.gvsig.fmap.dal.feature.spi.FeatureReferenceProviderServices
    • getFeatureTypeId

      public String getFeatureTypeId()
      Deprecated.
      Specified by:
      getFeatureTypeId in interface org.gvsig.fmap.dal.feature.spi.FeatureReferenceProviderServices
    • loadFromState

      public void loadFromState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException
      Deprecated.
      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
      Deprecated.
      Specified by:
      saveToState in interface org.gvsig.tools.persistence.Persistent
      Throws:
      org.gvsig.tools.persistence.exception.PersistenceException
    • getCode

      public String getCode()
      Deprecated.
      Specified by:
      getCode in interface org.gvsig.fmap.dal.feature.FeatureReference
    • registerPersistent

      public static void registerPersistent()
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • toJsonBuilder

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