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.ComparableDescribes 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 intcompareTo(java.lang.Object o)booleanequals(java.lang.Object obj)java.lang.IntegergetConflictsNumber()Returns the number of attributes in conflict.java.lang.IntegergetConflictsNumberWithoutShape()Returns the number of non shape attributes in conflict.java.util.List<FeatureAttributeDescriptor>getFeatureAttributeDescriptorList()Returns the feature attributes descriptors.FeatureClassDescriptorgetFeatureClassDescriptor()Returns the feature class descriptor.java.util.List<FeatureElementDescriptor>getFeatureElementDescriptorList()Returns the feature element descriptors.java.lang.LonggetFeatureId()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.inthashCode()voidsetFeatureAttributeDescriptorList(java.util.List<FeatureAttributeDescriptor> featureAttributeDescriptorList)Sets the feature attributes descriptors.voidsetFeatureClassDescriptor(FeatureClassDescriptor featureClassDescriptor)Sets the feature class descriptor.voidsetFeatureElementDescriptorList(java.util.List<FeatureElementDescriptor> featureElementDescriptorList)Sets the feature elements descriptors.voidsetFeatureId(java.lang.Long featureId)Sets the feature identifier.java.lang.StringtoString()
-
-
-
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:
toStringin 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:
compareToin interfacejava.lang.Comparable
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-