public abstract class NFEFeature extends NFEBasicModelObject
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROP_PARENT_FEATURE_ID
Feature's parent feature ID property
|
static java.lang.String |
PROP_PARENT_FEATURE_LAYER_ID
Feature's feature layer ID property
|
EFLAG_EXISTING, EFLAG_REMOVED| Constructor and Description |
|---|
NFEFeature() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
addFeatureElement(NFEFeatureElement featureElement)
Adds a feature element to the feature
|
abstract void |
addFeatureElements(java.util.List<NFEFeatureElement> featureElements)
Adds all the feature elements in the collection to the feature
|
abstract NFEFeature |
createCopy()
Returns object copy.
|
abstract java.lang.Object |
getAttribute(java.lang.String attributeName)
Gets the value of the attribute with the given name
|
abstract NFEFeatureClass |
getFeatureClass()
Gets the feature class of the feature
|
abstract java.util.List<NFEFeatureElement> |
getFeatureElements()
Gets all the feature elements in the feature
|
abstract NFEFeatureLayer |
getFeatureLayer()
Gets the feature's feature layer
|
abstract long |
getId()
Gets the feature's ID
|
abstract java.lang.String |
getKey()
Returns the feature's key.
|
abstract long |
getParentFeatureId()
Gets the feature's parent feature ID (if any)
|
abstract long |
getParentFeatureLayerId()
Gets the feature layer ID of the feature's parent feature
|
abstract boolean |
removeFeatureElement(NFEFeatureElement featureElement)
Removes the given feature element from the feature
|
abstract void |
removeFeatureElements(java.util.Collection<NFEFeatureElement> featureElements)
Removes from the feature all the feature elements in the collection
|
abstract void |
setAttribute(java.lang.String attributeName, java.lang.Object attributeValue)
Sets the value of the attribute with the given name
|
abstract void |
setFeatureClass(NFEFeatureClass featureClass)
Sets the feature class of the feature
|
abstract void |
setFeatureLayer(NFEFeatureLayer featureLayer)
Sets the feature's feature layer
|
abstract void |
setId(long id)
Sets the feature's ID
|
abstract void |
setParentFeatureId(long parentFeatureId)
Sets the feature's parent feature ID
|
abstract void |
setParentFeatureLayerId(long parentFeatureLayerId)
Sets the feature layer ID of the feature's parent feature.
|
addEditionFlag, containsEditionFlag, getEditionFlags, removeEditionFlag, setEditionFlagspublic static final java.lang.String PROP_PARENT_FEATURE_ID
public static final java.lang.String PROP_PARENT_FEATURE_LAYER_ID
public abstract void setFeatureLayer(NFEFeatureLayer featureLayer)
featureLayer - a feature layer instancepublic abstract NFEFeatureLayer getFeatureLayer()
public abstract void setId(long id)
id - a feature IDpublic abstract long getId()
public abstract void setParentFeatureId(long parentFeatureId)
parentFeatureId - a feature IDpublic abstract long getParentFeatureId()
public abstract void setParentFeatureLayerId(long parentFeatureLayerId)
parentFeatureLayerId - a feature layer IDpublic abstract long getParentFeatureLayerId()
public abstract void setFeatureClass(NFEFeatureClass featureClass)
featureClass - a feature class instancepublic abstract NFEFeatureClass getFeatureClass()
public abstract java.lang.String getKey()
public abstract java.lang.Object getAttribute(java.lang.String attributeName)
attributeName - an attribute name
public abstract void setAttribute(java.lang.String attributeName,
java.lang.Object attributeValue)
attributeName - an attribute nameattributeValue - the value of the attributepublic abstract boolean addFeatureElement(NFEFeatureElement featureElement)
featureElement - a feature element instancepublic abstract void addFeatureElements(java.util.List<NFEFeatureElement> featureElements)
featureElements - a collection of feature element instancespublic abstract java.util.List<NFEFeatureElement> getFeatureElements()
public abstract boolean removeFeatureElement(NFEFeatureElement featureElement)
featureElement - a feature element instancepublic abstract void removeFeatureElements(java.util.Collection<NFEFeatureElement> featureElements)
featureElements - a collection of feature element instancespublic abstract NFEFeature createCopy()