Class FeatureElementDescriptor
- java.lang.Object
-
- oracle.spatial.network.nfe.workspace.FeatureElementDescriptor
-
public class FeatureElementDescriptor extends java.lang.Object
Describes 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 boolean
equals(java.lang.Object obj)
ConflictDescriptor
getConflictDescriptor()
Returns the conflict descriptor if any conflict is related to this feature element, null otherwise.java.lang.Integer
getElementType()
Returns the feature element type.LinkDescriptor
getLinkDescriptor()
Returns the link descriptor if the network element is a link, null otherwise.java.lang.Long
getNetElementId()
Returns the network element identifier.NodeDescriptor
getNodeDescriptor()
Returns the node descriptor if the network element is a node, null otherwise.java.lang.Integer
getSequence()
Returns the feature element sequence.int
hashCode()
boolean
isNode()
Returns true if the network element is a node, false otherwise.void
setConflictDescriptor(ConflictDescriptor conflictDescriptor)
Sets the conflict descriptor.void
setElementType(java.lang.Integer elementType)
Sets the feature element type.void
setLinkDescriptor(LinkDescriptor linkDescriptor)
Sets the link descriptor.void
setNetElementId(java.lang.Long netElementId)
Sets the network element identifier.void
setNodeDescriptor(NodeDescriptor nodeDescriptor)
Sets the node descriptor.void
setSequence(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:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in 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
-
-