Package com._1c.g5.v8.dt.compare.model
Interface CollectionElementComparisonNode
-
- All Superinterfaces:
ComparisonNode
,org.eclipse.emf.ecore.EObject
,IBmObject
,MatchedObjectsComparisonNode
,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
ChildMdObjectComparisonNode
,ContainmentCollectionElementComparisonNode
,ContainmentCollectionElementImplComparisonNode
,MdObjectCollectionElementComparisonNode
,ReferenceCollectionElementComparisonNode
,ReferenceCollectionElementImplComparisonNode
,TopMdObjectCollectionElementComparisonNode
,ValueCollectionElementComparisonNode
,ValueCollectionElementImplComparisonNode
- All Known Implementing Classes:
ChildMdObjectComparisonNodeImpl
,CollectionElementComparisonNodeImpl
,ContainmentCollectionElementComparisonNodeImpl
,ContainmentCollectionElementImplComparisonNodeImpl
,MdObjectCollectionElementComparisonNodeImpl
,ReferenceCollectionElementComparisonNodeImpl
,ReferenceCollectionElementImplComparisonNodeImpl
,TopMdObjectCollectionElementComparisonNodeImpl
,ValueCollectionElementComparisonNodeImpl
,ValueCollectionElementImplComparisonNodeImpl
public interface CollectionElementComparisonNode extends MatchedObjectsComparisonNode
A representation of the model object 'Collection Element Comparison Node'. * A node related to an element in some collection.The following features are supported:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Integer
getAncestorPosition()
Returns the value of the 'Ancestor Position' attribute.CollectionElementNeighbour
getLeftNeighbour()
Returns the value of the 'Left Neighbour' containment reference.Integer
getMainPosition()
Returns the value of the 'Main Position' attribute.Integer
getOtherPosition()
Returns the value of the 'Other Position' attribute.CollectionComparisonNode
getParent()
RelatedFeature
getParentCollectionFeature()
Returns the value of the 'Parent Collection Feature' containment reference.Integer
getPosition(ComparisonSide side)
int
getPositionAfterMerge()
Returns the value of the 'Position After Merge' attribute.void
setAncestorPosition(Integer value)
Sets the value of the 'Ancestor Position
' attribute.void
setLeftNeighbour(CollectionElementNeighbour value)
Sets the value of the 'Left Neighbour
' containment reference.void
setMainPosition(Integer value)
Sets the value of the 'Main Position
' attribute.void
setOtherPosition(Integer value)
Sets the value of the 'Other Position
' attribute.void
setParentCollectionFeature(RelatedFeature value)
Sets the value of the 'Parent Collection Feature
' containment reference.void
setPosition(ComparisonSide side, Integer position)
void
setPositionAfterMerge(int value)
Sets the value of the 'Position After Merge
' attribute.-
Methods inherited from interface com._1c.g5.v8.dt.compare.model.ComparisonNode
getChildren, getComparisonFlags, getContainmentChildren, getMergeSettings, getNodeSide, getTopChildren, hasChildren, isMainObjectToBeDeleted, isModifiedOnOther, isOneSideNode, isOneSideParent, isOtherObjectToBeAdded, setComparisonFlags, setMainObjectToBeDeleted, setMergeSettings, setModifiedOnOther, setOneSideParent, setOtherObjectToBeAdded
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com._1c.g5.v8.bm.core.IBmObject
bmGetEngine, bmGetFqn, bmGetId, bmGetProperties, bmGetProperty, bmGetReferences, bmGetResourceId, bmGetTopObject, bmGetTransaction, bmGetUri, bmGetUriAsString, bmIsTop, bmIsTransient, bmListBinaryData, bmReadBinaryData, bmRemoveBinaryData, bmSetProperty, bmWriteBinaryData
-
Methods inherited from interface com._1c.g5.v8.dt.compare.model.MatchedObjectsComparisonNode
getAncestorObjectId, getAncestorPathToTopParent, getMainObjectId, getMainPathToTopParent, getObjectId, getObjectsEClassId, getOtherObjectId, getOtherPathToTopParent, getPathToTopParent, isAncestorObjectExists, setAncestorObjectExists, setAncestorObjectId, setMainObjectId, setObjectId, setObjectsEClassId, setOtherObjectId
-
-
-
-
Method Detail
-
getParentCollectionFeature
RelatedFeature getParentCollectionFeature()
Returns the value of the 'Parent Collection Feature' containment reference.- Returns:
- the value of the 'Parent Collection Feature' containment reference.
- See Also:
setParentCollectionFeature(RelatedFeature)
,ComparePackage.getCollectionElementComparisonNode_ParentCollectionFeature()
-
setParentCollectionFeature
void setParentCollectionFeature(RelatedFeature value)
Sets the value of the 'Parent Collection Feature
' containment reference.- Parameters:
value
- the new value of the 'Parent Collection Feature' containment reference.- See Also:
getParentCollectionFeature()
-
getMainPosition
Integer getMainPosition()
Returns the value of the 'Main Position' attribute.- Returns:
- the value of the 'Main Position' attribute.
- See Also:
setMainPosition(Integer)
,ComparePackage.getCollectionElementComparisonNode_MainPosition()
-
setMainPosition
void setMainPosition(Integer value)
Sets the value of the 'Main Position
' attribute.- Parameters:
value
- the new value of the 'Main Position' attribute.- See Also:
getMainPosition()
-
getOtherPosition
Integer getOtherPosition()
Returns the value of the 'Other Position' attribute.- Returns:
- the value of the 'Other Position' attribute.
- See Also:
setOtherPosition(Integer)
,ComparePackage.getCollectionElementComparisonNode_OtherPosition()
-
setOtherPosition
void setOtherPosition(Integer value)
Sets the value of the 'Other Position
' attribute.- Parameters:
value
- the new value of the 'Other Position' attribute.- See Also:
getOtherPosition()
-
getAncestorPosition
Integer getAncestorPosition()
Returns the value of the 'Ancestor Position' attribute.- Returns:
- the value of the 'Ancestor Position' attribute.
- See Also:
setAncestorPosition(Integer)
,ComparePackage.getCollectionElementComparisonNode_AncestorPosition()
-
setAncestorPosition
void setAncestorPosition(Integer value)
Sets the value of the 'Ancestor Position
' attribute.- Parameters:
value
- the new value of the 'Ancestor Position' attribute.- See Also:
getAncestorPosition()
-
getPositionAfterMerge
int getPositionAfterMerge()
Returns the value of the 'Position After Merge' attribute.- Returns:
- the value of the 'Position After Merge' attribute.
- See Also:
setPositionAfterMerge(int)
,ComparePackage.getCollectionElementComparisonNode_PositionAfterMerge()
-
setPositionAfterMerge
void setPositionAfterMerge(int value)
Sets the value of the 'Position After Merge
' attribute.- Parameters:
value
- the new value of the 'Position After Merge' attribute.- See Also:
getPositionAfterMerge()
-
getLeftNeighbour
CollectionElementNeighbour getLeftNeighbour()
Returns the value of the 'Left Neighbour' containment reference.- Returns:
- the value of the 'Left Neighbour' containment reference.
- See Also:
setLeftNeighbour(CollectionElementNeighbour)
,ComparePackage.getCollectionElementComparisonNode_LeftNeighbour()
-
setLeftNeighbour
void setLeftNeighbour(CollectionElementNeighbour value)
Sets the value of the 'Left Neighbour
' containment reference.- Parameters:
value
- the new value of the 'Left Neighbour' containment reference.- See Also:
getLeftNeighbour()
-
getParent
CollectionComparisonNode getParent()
- Specified by:
getParent
in interfaceComparisonNode
-
getPosition
Integer getPosition(ComparisonSide side)
-
setPosition
void setPosition(ComparisonSide side, Integer position)
-
-