Class FeatureDescriptor
- java.lang.Object
-
- oracle.spatial.network.nfe.workspace.FeatureDescriptor
-
- All Implemented Interfaces:
java.lang.Comparable
public class FeatureDescriptor extends java.lang.Object implements java.lang.Comparable
Describes a feature involve in a conflict.
-
-
Constructor Summary
Constructors Constructor Description FeatureDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(java.lang.Object o)
boolean
equals(java.lang.Object obj)
java.lang.Integer
getConflictsNumber()
Returns the number of attributes in conflict.java.lang.Integer
getConflictsNumberWithoutShape()
Returns the number of non shape attributes in conflict.java.util.List<FeatureAttributeDescriptor>
getFeatureAttributeDescriptorList()
Returns the feature attributes descriptors.FeatureClassDescriptor
getFeatureClassDescriptor()
Returns the feature class descriptor.java.util.List<FeatureElementDescriptor>
getFeatureElementDescriptorList()
Returns the feature element descriptors.java.lang.Long
getFeatureId()
Returns the feature identifier.java.util.List<java.lang.Long>
getImpactedNodesIds()
Returns the nodes identifiers that directly are part of the conflict or that are the start or end of a link that is in conflict.java.util.List<java.lang.Long>
getInvolvedNodesIds()
Returns the nodes identifiers that belongs to the feature and conflict regions.int
hashCode()
void
setFeatureAttributeDescriptorList(java.util.List<FeatureAttributeDescriptor> featureAttributeDescriptorList)
Sets the feature attributes descriptors.void
setFeatureClassDescriptor(FeatureClassDescriptor featureClassDescriptor)
Sets the feature class descriptor.void
setFeatureElementDescriptorList(java.util.List<FeatureElementDescriptor> featureElementDescriptorList)
Sets the feature elements descriptors.void
setFeatureId(java.lang.Long featureId)
Sets the feature identifier.java.lang.String
toString()
-
-
-
Method Detail
-
getFeatureId
public java.lang.Long getFeatureId()
Returns the feature identifier.- Returns:
- feature identifier
-
setFeatureId
public void setFeatureId(java.lang.Long featureId)
Sets the feature identifier.- Parameters:
featureId
- feature identifier
-
getFeatureAttributeDescriptorList
public java.util.List<FeatureAttributeDescriptor> getFeatureAttributeDescriptorList()
Returns the feature attributes descriptors.- Returns:
- feature attributes descriptors
-
setFeatureAttributeDescriptorList
public void setFeatureAttributeDescriptorList(java.util.List<FeatureAttributeDescriptor> featureAttributeDescriptorList)
Sets the feature attributes descriptors.- Parameters:
featureAttributeDescriptorList
- feature attributes descriptors
-
getFeatureElementDescriptorList
public java.util.List<FeatureElementDescriptor> getFeatureElementDescriptorList()
Returns the feature element descriptors.- Returns:
- feature element descriptors
-
setFeatureElementDescriptorList
public void setFeatureElementDescriptorList(java.util.List<FeatureElementDescriptor> featureElementDescriptorList)
Sets the feature elements descriptors.- Parameters:
featureElementDescriptorList
- feature elements descriptors
-
getFeatureClassDescriptor
public FeatureClassDescriptor getFeatureClassDescriptor()
Returns the feature class descriptor.- Returns:
- feature class descriptor
-
setFeatureClassDescriptor
public void setFeatureClassDescriptor(FeatureClassDescriptor featureClassDescriptor)
Sets the feature class descriptor.- Parameters:
featureClassDescriptor
- feature class descriptor
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getConflictsNumber
public java.lang.Integer getConflictsNumber()
Returns the number of attributes in conflict.- Returns:
- number of attributes in conflict
-
getConflictsNumberWithoutShape
public java.lang.Integer getConflictsNumberWithoutShape()
Returns the number of non shape attributes in conflict.- Returns:
- number of non shape attributes in conflict
-
getInvolvedNodesIds
public java.util.List<java.lang.Long> getInvolvedNodesIds()
Returns the nodes identifiers that belongs to the feature and conflict regions. It can be used to get the minimum bounding rectangle (MBR) of the conflict for example. The nodes returned will belong to any conflictive network element or to any element that logically links conflictive elements.- Returns:
- nodes identifiers
-
getImpactedNodesIds
public java.util.List<java.lang.Long> getImpactedNodesIds()
Returns the nodes identifiers that directly are part of the conflict or that are the start or end of a link that is in conflict.- Returns:
- nodes identifiers
-
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interfacejava.lang.Comparable
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-