public class NFEBasicFeature extends NFEFeature
NFEFeaturePROP_PARENT_FEATURE_ID, PROP_PARENT_FEATURE_LAYER_IDEFLAG_EXISTING, EFLAG_REMOVED| Constructor and Description |
|---|
NFEBasicFeature() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addFeatureElement(NFEFeatureElement featureElement)
Adds a feature element to the feature
|
void |
addFeatureElements(java.util.List<NFEFeatureElement> featureElements)
Adds all the feature elements in the collection to the feature
|
NFEFeature |
createCopy()
Returns object copy.
|
java.lang.Object |
getAttribute(java.lang.String attributeName)
Gets the value of the attribute with the given name
|
NFEFeatureClass |
getFeatureClass()
Gets the feature class of the feature
|
java.util.List<NFEFeatureElement> |
getFeatureElements()
Gets all the feature elements in the feature
|
NFEFeatureLayer |
getFeatureLayer()
Gets the feature's feature layer
|
long |
getId()
Gets the feature's ID
|
java.lang.String |
getKey()
Returns the feature's key.
|
long |
getParentFeatureId()
Gets the feature's parent feature ID (if any)
|
long |
getParentFeatureLayerId()
Gets the feature layer ID of the feature's parent feature
|
boolean |
removeFeatureElement(NFEFeatureElement featureElement)
Removes the given feature element from the feature
|
void |
removeFeatureElements(java.util.Collection<NFEFeatureElement> featureElements)
Removes from the feature all the feature elements in the collection
|
void |
setAttribute(java.lang.String attributeName,
java.lang.Object attributeValue)
Sets the value of the attribute with the given name
|
void |
setFeatureClass(NFEFeatureClass featureClass)
Sets the feature class of the feature
|
void |
setFeatureLayer(NFEFeatureLayer featureLayer)
Sets the feature's feature layer
|
void |
setId(long id)
Sets the feature's ID
|
void |
setParentFeatureId(long parentFeatId)
Sets the feature's parent feature ID
|
void |
setParentFeatureLayerId(long parentFeatLayerId)
Sets the feature layer ID of the feature's parent feature.
|
addEditionFlag, containsEditionFlag, getEditionFlags, removeEditionFlag, setEditionFlagspublic void setFeatureLayer(NFEFeatureLayer featureLayer)
NFEFeaturesetFeatureLayer in class NFEFeaturefeatureLayer - a feature layer instancepublic NFEFeatureLayer getFeatureLayer()
NFEFeaturegetFeatureLayer in class NFEFeaturepublic void setId(long id)
NFEFeaturesetId in class NFEFeatureid - a feature IDpublic long getId()
NFEFeaturegetId in class NFEFeaturepublic void setParentFeatureId(long parentFeatId)
NFEFeaturesetParentFeatureId in class NFEFeatureparentFeatId - a feature IDpublic long getParentFeatureId()
NFEFeaturegetParentFeatureId in class NFEFeaturepublic void setParentFeatureLayerId(long parentFeatLayerId)
NFEFeaturesetParentFeatureLayerId in class NFEFeatureparentFeatLayerId - a feature layer IDpublic long getParentFeatureLayerId()
NFEFeaturegetParentFeatureLayerId in class NFEFeaturepublic void setFeatureClass(NFEFeatureClass featureClass)
NFEFeaturesetFeatureClass in class NFEFeaturefeatureClass - a feature class instancepublic NFEFeatureClass getFeatureClass()
NFEFeaturegetFeatureClass in class NFEFeaturepublic java.lang.String getKey()
NFEFeaturegetKey in class NFEFeaturepublic void setAttribute(java.lang.String attributeName,
java.lang.Object attributeValue)
NFEFeaturesetAttribute in class NFEFeatureattributeName - an attribute nameattributeValue - the value of the attributepublic java.lang.Object getAttribute(java.lang.String attributeName)
NFEFeaturegetAttribute in class NFEFeatureattributeName - an attribute namepublic boolean addFeatureElement(NFEFeatureElement featureElement)
NFEFeatureaddFeatureElement in class NFEFeaturefeatureElement - a feature element instancepublic void addFeatureElements(java.util.List<NFEFeatureElement> featureElements)
NFEFeatureaddFeatureElements in class NFEFeaturefeatureElements - a collection of feature element instancespublic java.util.List<NFEFeatureElement> getFeatureElements()
NFEFeaturegetFeatureElements in class NFEFeaturepublic boolean removeFeatureElement(NFEFeatureElement featureElement)
NFEFeatureremoveFeatureElement in class NFEFeaturefeatureElement - a feature element instancepublic void removeFeatureElements(java.util.Collection<NFEFeatureElement> featureElements)
NFEFeatureremoveFeatureElements in class NFEFeaturefeatureElements - a collection of feature element instancespublic NFEFeature createCopy()
NFEFeaturecreateCopy in class NFEFeature