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 and Description |
---|
NFEConflictsDescriptor() |
Modifier and Type | Method and 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() |
public java.util.List<FeatureLayerDescriptor> getFeatureLayerDescriptorList()
public void setFeatureLayerDescriptorList(java.util.List<FeatureLayerDescriptor> featureLayerDescriptorList)
featureLayerDescriptorList
- feature layers descriptorspublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Integer getConflictsNumber()
public java.lang.Integer getFeaturesNumber()