Package com._1c.g5.v8.dt.compare.model
Interface TopComparisonNode
- All Superinterfaces:
ComparisonNode
,org.eclipse.emf.ecore.EObject
,IBmObject
,IMatchingSymlinks
,MatchedObjectsComparisonNode
,org.eclipse.emf.common.notify.Notifier
,SymlinkComparisonNode
- All Known Subinterfaces:
AdditionalIndexesComparisonNode
,BslModuleComparisonNode
,BslModuleSectionComparisonNode
,ChartComparisonNode
,ChildMdObjectComparisonNode
,CmiComparisonNode
,DcsComparisonNode
,ExternalPropertyComparisonNode
,FormComparisonNode
,HtmlDocumentComparisonNode
,ManifestComparisonNode
,MdObjectCollectionElementComparisonNode
,MdObjectComparisonNode
,RightsComparisonNode
,RootComparisonNode
,SolidResourceComparisonNode
,TopMdObjectCollectionElementComparisonNode
,TopMdObjectComparisonNode
,TopModelObjectsComparisonNode
,UnsupportedObjectComparisonNode
- All Known Implementing Classes:
AdditionalIndexesComparisonNodeImpl
,BslModuleComparisonNodeImpl
,BslModuleSectionComparisonNodeImpl
,ChartComparisonNodeImpl
,ChildMdObjectComparisonNodeImpl
,CmiComparisonNodeImpl
,DcsComparisonNodeImpl
,ExternalPropertyComparisonNodeImpl
,FormComparisonNodeImpl
,HtmlDocumentComparisonNodeImpl
,ManifestComparisonNodeImpl
,MdObjectCollectionElementComparisonNodeImpl
,MdObjectComparisonNodeImpl
,RightsComparisonNodeImpl
,RootComparisonNodeImpl
,SolidResourceComparisonNodeImpl
,TopComparisonNodeImpl
,TopMdObjectCollectionElementComparisonNodeImpl
,TopMdObjectComparisonNodeImpl
,TopModelObjectsComparisonNodeImpl
,UnsupportedObjectComparisonNodeImpl
A representation of the model object 'Top Comparison Node'.
*
A top node corresponds to a triple of objects that can be (re)scheduled for comparison or merge.
Top nodes are stored as BM top objects in the comparison model with FQN generated on the base of the node's symlinks.
The following features are supported:
- See Also:
-
Field Summary
Fields inherited from interface com._1c.g5.v8.bm.core.IBmObject
BM_NULL_ID
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Comparison Status' attribute.Returns the value of the 'Main Object On Support' containment reference.Returns the value of the 'Other Object On Support' containment reference.Returns the value of the 'Parent' reference.Returns the value of the 'Top Ancestor' reference.org.eclipse.emf.common.util.EList<TopComparisonNode>
Returns the value of the 'Top Descendants' reference list.boolean
boolean
void
Sets the value of the 'Comparison Status
' attribute.void
Sets the value of the 'Main Object On Support
' containment reference.void
Sets the value of the 'Other Object On Support
' containment reference.void
setParent
(ComparisonNode value) Sets the value of the 'Parent
' reference.void
setTopAncestor
(TopComparisonNode value) Sets the value of the 'Top Ancestor
' reference.Methods inherited from interface com._1c.g5.v8.dt.compare.model.ComparisonNode
getChildren, getComparisonFlags, getContainmentChildren, getMergeSettings, getTopChildren, hasChildren, isMainObjectToBeDeleted, isModifiedOnOther, 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, bmGetNamespace, bmGetPlatformTransaction, bmGetProperties, bmGetProperty, bmGetReferences, bmGetResourceId, bmGetTopObject, bmGetTransaction, bmGetUri, bmGetUriAsString, bmIsTop, bmIsTransient, bmMatchSingleReference, bmSetProperty
Methods inherited from interface com._1c.g5.v8.dt.compare.model.MatchedObjectsComparisonNode
getAncestorObjectId, getAncestorPathToTopParent, getMainObjectId, getMainPathToTopParent, getObjectId, getObjectsEClassId, getOtherObjectId, getOtherPathToTopParent, getPathToTopParent, setAncestorObjectExists, setAncestorObjectId, setMainObjectId, setObjectId, setObjectsEClassId, setOtherObjectId
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface com._1c.g5.v8.dt.compare.model.SymlinkComparisonNode
getCommonAncestorSymlink, getMainSymlink, getOtherSymlink, getSymlink, setCommonAncestorSymlink, setMainSymlink, setOtherSymlink
-
Method Details
-
getParent
ComparisonNode getParent()Returns the value of the 'Parent' reference. It is bidirectional and its opposite is 'Top Children
'.- Specified by:
getParent
in interfaceComparisonNode
- Returns:
- the value of the 'Parent' reference.
- See Also:
-
setParent
Sets the value of the 'Parent
' reference.- Parameters:
value
- the new value of the 'Parent' reference.- See Also:
-
getTopDescendants
org.eclipse.emf.common.util.EList<TopComparisonNode> getTopDescendants()Returns the value of the 'Top Descendants' reference list. The list contents are of typeTopComparisonNode
. It is bidirectional and its opposite is 'Top Ancestor
'. * A list of closest top descendant nodes if traversing down the tree hierarchy. This is the part of the alternative comparison tree navigation by only top nodes.- Returns:
- the value of the 'Top Descendants' reference list.
- See Also:
-
getTopAncestor
TopComparisonNode getTopAncestor()Returns the value of the 'Top Ancestor' reference. It is bidirectional and its opposite is 'Top Descendants
'. * A closest parent top node if traversing up the tree hierarchy. This is the part of the alternative comparison tree navigation by only top nodes.- Returns:
- the value of the 'Top Ancestor' reference.
- See Also:
-
setTopAncestor
Sets the value of the 'Top Ancestor
' reference.- Parameters:
value
- the new value of the 'Top Ancestor' reference.- See Also:
-
getComparisonStatus
ComparisonNodeStatus getComparisonStatus()Returns the value of the 'Comparison Status' attribute. The literals are from the enumerationComparisonNodeStatus
.- Returns:
- the value of the 'Comparison Status' attribute.
- See Also:
-
setComparisonStatus
Sets the value of the 'Comparison Status
' attribute.- Parameters:
value
- the new value of the 'Comparison Status' attribute.- See Also:
-
getMainObjectOnSupport
ObjectOnSupport getMainObjectOnSupport()Returns the value of the 'Main Object On Support' containment reference.- Returns:
- the value of the 'Main Object On Support' containment reference.
- See Also:
-
setMainObjectOnSupport
Sets the value of the 'Main Object On Support
' containment reference.- Parameters:
value
- the new value of the 'Main Object On Support' containment reference.- See Also:
-
getOtherObjectOnSupport
ObjectOnSupport getOtherObjectOnSupport()Returns the value of the 'Other Object On Support' containment reference.- Returns:
- the value of the 'Other Object On Support' containment reference.
- See Also:
-
setOtherObjectOnSupport
Sets the value of the 'Other Object On Support
' containment reference.- Parameters:
value
- the new value of the 'Other Object On Support' containment reference.- See Also:
-
isOneSideNode
boolean isOneSideNode()- Specified by:
isOneSideNode
in interfaceComparisonNode
-
getNodeSide
ComparisonSide getNodeSide()- Specified by:
getNodeSide
in interfaceComparisonNode
-
isAncestorObjectExists
boolean isAncestorObjectExists()- Specified by:
isAncestorObjectExists
in interfaceComparisonNode
- Specified by:
isAncestorObjectExists
in interfaceMatchedObjectsComparisonNode
- Returns:
- the value of the 'Ancestor Object Exists' attribute.
- See Also:
-