Class FeatureReferenceUID
java.lang.Object
org.gvsig.fmap.dal.feature.impl.featurereference.FeatureReferenceUID
- 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
public class FeatureReferenceUID
extends Object
implements org.gvsig.fmap.dal.feature.spi.FeatureReferenceProviderServices, org.gvsig.tools.persistence.Persistent
- Author:
- fdiaz
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCode()org.gvsig.fmap.dal.feature.Featureorg.gvsig.fmap.dal.feature.FeaturegetFeature(org.gvsig.fmap.dal.feature.FeatureType featureType) org.gvsig.fmap.dal.feature.FeatureString[]getKeyValue(String name) getOID()inthashCode()booleanvoidloadFromState(org.gvsig.tools.persistence.PersistentState state) voidsaveToState(org.gvsig.tools.persistence.PersistentState state) org.gvsig.json.JsonObjectBuildertoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gvsig.json.SupportToJson
toJson, toJson, toJsonBuilder
-
Field Details
-
UID_TYPE
- See Also:
-
-
Constructor Details
-
FeatureReferenceUID
public FeatureReferenceUID()
-
-
Method Details
-
getOID
- Specified by:
getOIDin interfaceorg.gvsig.fmap.dal.feature.spi.FeatureReferenceProviderServices
-
getKeyNames
- Specified by:
getKeyNamesin interfaceorg.gvsig.fmap.dal.feature.spi.FeatureReferenceProviderServices
-
getKeyValue
- Specified by:
getKeyValuein interfaceorg.gvsig.fmap.dal.feature.spi.FeatureReferenceProviderServices
-
getFeatureTypeId
- Specified by:
getFeatureTypeIdin interfaceorg.gvsig.fmap.dal.feature.spi.FeatureReferenceProviderServices
-
getFeature
public org.gvsig.fmap.dal.feature.Feature getFeature() throws org.gvsig.fmap.dal.exception.DataException- Specified by:
getFeaturein interfaceorg.gvsig.fmap.dal.feature.FeatureReference- Throws:
org.gvsig.fmap.dal.exception.DataException
-
getFeatureQuietly
public org.gvsig.fmap.dal.feature.Feature getFeatureQuietly()- Specified by:
getFeatureQuietlyin interfaceorg.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 - Specified by:
getFeaturein interfaceorg.gvsig.fmap.dal.feature.FeatureReference- Throws:
org.gvsig.fmap.dal.exception.DataException
-
isNewFeature
public boolean isNewFeature()- Specified by:
isNewFeaturein interfaceorg.gvsig.fmap.dal.feature.FeatureReference
-
getCode
- Specified by:
getCodein interfaceorg.gvsig.fmap.dal.feature.FeatureReference
-
saveToState
public void saveToState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException - Specified by:
saveToStatein interfaceorg.gvsig.tools.persistence.Persistent- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
loadFromState
public void loadFromState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException - Specified by:
loadFromStatein interfaceorg.gvsig.tools.persistence.Persistent- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
equals
-
hashCode
public int hashCode() -
toJsonBuilder
public org.gvsig.json.JsonObjectBuilder toJsonBuilder()- Specified by:
toJsonBuilderin interfaceorg.gvsig.json.SupportToJson
-
toString
-