Class FeatureElementDescriptor
- java.lang.Object
-
- oracle.spatial.network.nfe.workspace.FeatureElementDescriptor
-
public class FeatureElementDescriptor extends java.lang.ObjectDescribes a feature element or a network element that is part of a feature descriptor. FeatureElementDescriptor doesn't map directly feature elements in database. FeatureElementDescriptor can refer to feature elements in database or can be use to describe network elements.
-
-
Constructor Summary
Constructors Constructor Description FeatureElementDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)ConflictDescriptorgetConflictDescriptor()Returns the conflict descriptor if any conflict is related to this feature element, null otherwise.java.lang.IntegergetElementType()Returns the feature element type.LinkDescriptorgetLinkDescriptor()Returns the link descriptor if the network element is a link, null otherwise.java.lang.LonggetNetElementId()Returns the network element identifier.NodeDescriptorgetNodeDescriptor()Returns the node descriptor if the network element is a node, null otherwise.java.lang.IntegergetSequence()Returns the feature element sequence.inthashCode()booleanisNode()Returns true if the network element is a node, false otherwise.voidsetConflictDescriptor(ConflictDescriptor conflictDescriptor)Sets the conflict descriptor.voidsetElementType(java.lang.Integer elementType)Sets the feature element type.voidsetLinkDescriptor(LinkDescriptor linkDescriptor)Sets the link descriptor.voidsetNetElementId(java.lang.Long netElementId)Sets the network element identifier.voidsetNodeDescriptor(NodeDescriptor nodeDescriptor)Sets the node descriptor.voidsetSequence(java.lang.Integer sequence)Sets the feature element sequence.
-
-
-
Method Detail
-
getConflictDescriptor
public ConflictDescriptor getConflictDescriptor()
Returns the conflict descriptor if any conflict is related to this feature element, null otherwise.- Returns:
- conflict descriptor
-
setConflictDescriptor
public void setConflictDescriptor(ConflictDescriptor conflictDescriptor)
Sets the conflict descriptor.- Parameters:
conflictDescriptor- conflict descriptor
-
getNodeDescriptor
public NodeDescriptor getNodeDescriptor()
Returns the node descriptor if the network element is a node, null otherwise.- Returns:
- node descriptor
-
setNodeDescriptor
public void setNodeDescriptor(NodeDescriptor nodeDescriptor)
Sets the node descriptor.- Parameters:
nodeDescriptor- node descriptor
-
getLinkDescriptor
public LinkDescriptor getLinkDescriptor()
Returns the link descriptor if the network element is a link, null otherwise.- Returns:
- link descriptor
-
setLinkDescriptor
public void setLinkDescriptor(LinkDescriptor linkDescriptor)
Sets the link descriptor.- Parameters:
linkDescriptor- link descriptor
-
getElementType
public java.lang.Integer getElementType()
Returns the feature element type. Feature element type is one of the following: 1 point on node, 2 point on link, 3 line.- Returns:
- feature element type
-
setElementType
public void setElementType(java.lang.Integer elementType)
Sets the feature element type.- Parameters:
elementType- element type
-
getNetElementId
public java.lang.Long getNetElementId()
Returns the network element identifier.- Returns:
- network element identifier
-
setNetElementId
public void setNetElementId(java.lang.Long netElementId)
Sets the network element identifier.- Parameters:
netElementId- network element identifier
-
isNode
public boolean isNode()
Returns true if the network element is a node, false otherwise.- Returns:
- true if the network element is a node, false otherwise
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
getSequence
public java.lang.Integer getSequence()
Returns the feature element sequence.- Returns:
- feature element sequence
-
setSequence
public void setSequence(java.lang.Integer sequence)
Sets the feature element sequence.- Parameters:
sequence- feature element sequence
-
-