Class NFEConflictsDescriptor
- java.lang.Object
-
- oracle.spatial.network.nfe.workspace.NFEConflictsDescriptor
-
public class NFEConflictsDescriptor extends java.lang.Object
The data will follow the structure:
NFEConflictDescriptor featureLayerDescriptors featureClassDescriptors featureDescriptors attributeDescriptors conflictDescriptor
The non conflictive attributes will have conflictDescriptor set to null.
It is possible to resolve the attributes one by one or grouped.
To resolve an attribute conflict call the function nfeWorkspaceIOService.resolveConflicts with as parameter the attributes and the information about the child, parent and chosen workspace.If the model is in from scratch mode the feature can group conflict regions in case of shape conflicts.
For example if a link is in conflict and a node linked to this link is also in conflict they will be group in a single conflict.
Note that he function featureDescriptor.getInvolvedNodesIds will return the involved nodes in a conflict. It can be used to get the minimum bounding rectangle (MBR) of the conflict for example.
-
-
Constructor Summary
Constructors Constructor Description NFEConflictsDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getConflictsNumber()
Returns the number of conflicts.java.util.List<FeatureLayerDescriptor>
getFeatureLayerDescriptorList()
Returns the feature layers descriptors.java.lang.Integer
getFeaturesNumber()
Returns the number of features in conflict.void
setFeatureLayerDescriptorList(java.util.List<FeatureLayerDescriptor> featureLayerDescriptorList)
Sets the feature layers descriptors.java.lang.String
toString()
-
-
-
Method Detail
-
getFeatureLayerDescriptorList
public java.util.List<FeatureLayerDescriptor> getFeatureLayerDescriptorList()
Returns the feature layers descriptors.- Returns:
- feature layers descriptors
-
setFeatureLayerDescriptorList
public void setFeatureLayerDescriptorList(java.util.List<FeatureLayerDescriptor> featureLayerDescriptorList)
Sets the feature layers descriptors.- Parameters:
featureLayerDescriptorList
- feature layers descriptors
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getConflictsNumber
public java.lang.Integer getConflictsNumber()
Returns the number of conflicts.- Returns:
- number of conflicts
-
getFeaturesNumber
public java.lang.Integer getFeaturesNumber()
Returns the number of features in conflict. Note that some features can group a conflict region.- Returns:
- number of features.
-
-