public class NFEBasicFeatureElement extends NFEFeatureElement
NFEFeatureElementKEY_VAL_SEPARATOR, PROP_END_PERCENTAGE, PROP_FEATURE, PROP_KEY, PROP_NETWORK_ELEMENT, PROP_SEQUENCE, PROP_START_PERCENTAGE, PROP_TYPE, UNKNOWN_KEY_VALEFLAG_EXISTING, EFLAG_REMOVED| Constructor and Description |
|---|
NFEBasicFeatureElement() |
| Modifier and Type | Method and Description |
|---|---|
NFEFeatureElement |
createCopy()
Returns object copy.
|
double |
getEndPercentage()
Gets the line feature element's end point relative to its link's length.
|
NFEFeature |
getFeature()
Gets the feature element's feature
|
NFEFeatureLayer |
getFeatureLayer()
Gets the feature element's feature layer.
|
java.lang.String |
getKey()
Gets the feature element's key which is used to uniquely identify a feature element in an NFEModel
|
NFENetworkElement |
getNetworkElement()
Gets the network element where the feature element resides
|
long |
getSequence()
Gets the feature element's sequence number
|
double |
getStartPercentage()
Gets the position of the feature element's relative to its link's length.
|
FeatureElement.FeatureElementType |
getType()
Gest the type of the feature element.
|
void |
setEndPercentage(double endPercentage)
Sets the line feature element's end point relative to its link's length.
|
void |
setFeature(NFEFeature feature)
Sets the feature which contains the feature element
|
void |
setNetworkElement(NFENetworkElement networkElement)
Sets the network element where the feature element resides
|
void |
setSequence(long sequence)
Sets the feature element's sequence number
|
void |
setStartPercentage(double startPercentage)
Sets the feature element's position relative to its link's length.
|
void |
setType(FeatureElement.FeatureElementType type)
Sets the type of the feature element.
|
createKeyaddEditionFlag, containsEditionFlag, getEditionFlags, removeEditionFlag, setEditionFlagspublic java.lang.String getKey()
NFEFeatureElementgetKey in class NFEFeatureElementpublic void setFeature(NFEFeature feature)
NFEFeatureElementsetFeature in class NFEFeatureElementfeature - a feature instancepublic NFEFeature getFeature()
NFEFeatureElementgetFeature in class NFEFeatureElementpublic NFEFeatureLayer getFeatureLayer()
NFEFeatureElementgetFeatureLayer in class NFEFeatureElementpublic void setNetworkElement(NFENetworkElement networkElement)
NFEFeatureElementsetNetworkElement in class NFEFeatureElementnetworkElement - a network element instance (node or link)public NFENetworkElement getNetworkElement()
NFEFeatureElementgetNetworkElement in class NFEFeatureElementpublic void setType(FeatureElement.FeatureElementType type)
NFEFeatureElementsetType in class NFEFeatureElementtype - a feature element typepublic FeatureElement.FeatureElementType getType()
NFEFeatureElementgetType in class NFEFeatureElementpublic void setStartPercentage(double startPercentage)
NFEFeatureElementsetStartPercentage in class NFEFeatureElementstartPercentage - a value between 0 and 1public double getStartPercentage()
NFEFeatureElementgetStartPercentage in class NFEFeatureElementpublic void setEndPercentage(double endPercentage)
NFEFeatureElementsetEndPercentage in class NFEFeatureElementendPercentage - a value between 0 and 1public double getEndPercentage()
NFEFeatureElementgetEndPercentage in class NFEFeatureElementpublic void setSequence(long sequence)
NFEFeatureElementsetSequence in class NFEFeatureElementsequence - the feature element's sequencepublic long getSequence()
NFEFeatureElementgetSequence in class NFEFeatureElementpublic NFEFeatureElement createCopy()
NFEFeatureElementcreateCopy in class NFEFeatureElement