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:
BslModuleComparisonNode,BslModuleSectionComparisonNode,ChartComparisonNode,ChildMdObjectComparisonNode,CmiComparisonNode,DcsComparisonNode,ExternalPropertyComparisonNode,FormComparisonNode,HtmlDocumentComparisonNode,ManifestComparisonNode,MdObjectCollectionElementComparisonNode,MdObjectComparisonNode,RightsComparisonNode,RootComparisonNode,SolidResourceComparisonNode,TopMdObjectCollectionElementComparisonNode,TopMdObjectComparisonNode,TopModelObjectsComparisonNode,UnsupportedObjectComparisonNode
- All Known Implementing Classes:
BslModuleComparisonNodeImpl,BslModuleSectionComparisonNodeImpl,ChartComparisonNodeImpl,ChildMdObjectComparisonNodeImpl,CmiComparisonNodeImpl,DcsComparisonNodeImpl,ExternalPropertyComparisonNodeImpl,FormComparisonNodeImpl,HtmlDocumentComparisonNodeImpl,ManifestComparisonNodeImpl,MdObjectCollectionElementComparisonNodeImpl,MdObjectComparisonNodeImpl,RightsComparisonNodeImpl,RootComparisonNodeImpl,SolidResourceComparisonNodeImpl,TopComparisonNodeImpl,TopMdObjectCollectionElementComparisonNodeImpl,TopMdObjectComparisonNodeImpl,TopModelObjectsComparisonNodeImpl,UnsupportedObjectComparisonNodeImpl
public interface TopComparisonNode extends SymlinkComparisonNode
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:
ComparePackage.getTopComparisonNode()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComparisonNodeStatusgetComparisonStatus()Returns the value of the 'Comparison Status' attribute.ObjectOnSupportgetMainObjectOnSupport()Returns the value of the 'Main Object On Support' containment reference.ComparisonSidegetNodeSide()ObjectOnSupportgetOtherObjectOnSupport()Returns the value of the 'Other Object On Support' containment reference.ComparisonNodegetParent()Returns the value of the 'Parent' reference.TopComparisonNodegetTopAncestor()Returns the value of the 'Top Ancestor' reference.org.eclipse.emf.common.util.EList<TopComparisonNode>getTopDescendants()Returns the value of the 'Top Descendants' reference list.booleanisAncestorObjectExists()booleanisOneSideNode()voidsetComparisonStatus(ComparisonNodeStatus value)Sets the value of the 'Comparison Status' attribute.voidsetMainObjectOnSupport(ObjectOnSupport value)Sets the value of the 'Main Object On Support' containment reference.voidsetOtherObjectOnSupport(ObjectOnSupport value)Sets the value of the 'Other Object On Support' containment reference.voidsetParent(ComparisonNode value)Sets the value of the 'Parent' reference.voidsetTopAncestor(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 Detail
-
getParent
ComparisonNode getParent()
Returns the value of the 'Parent' reference. It is bidirectional and its opposite is 'Top Children'.- Specified by:
getParentin interfaceComparisonNode- Returns:
- the value of the 'Parent' reference.
- See Also:
setParent(ComparisonNode),ComparePackage.getTopComparisonNode_Parent(),ComparisonNode.getTopChildren()
-
setParent
void setParent(ComparisonNode value)
Sets the value of the 'Parent' reference.- Parameters:
value- the new value of the 'Parent' reference.- See Also:
getParent()
-
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:
ComparePackage.getTopComparisonNode_TopDescendants(),getTopAncestor()
-
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(TopComparisonNode),ComparePackage.getTopComparisonNode_TopAncestor(),getTopDescendants()
-
setTopAncestor
void setTopAncestor(TopComparisonNode value)
Sets the value of the 'Top Ancestor' reference.- Parameters:
value- the new value of the 'Top Ancestor' reference.- See Also:
getTopAncestor()
-
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:
ComparisonNodeStatus,setComparisonStatus(ComparisonNodeStatus),ComparePackage.getTopComparisonNode_ComparisonStatus()
-
setComparisonStatus
void setComparisonStatus(ComparisonNodeStatus value)
Sets the value of the 'Comparison Status' attribute.- Parameters:
value- the new value of the 'Comparison Status' attribute.- See Also:
ComparisonNodeStatus,getComparisonStatus()
-
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(ObjectOnSupport),ComparePackage.getTopComparisonNode_MainObjectOnSupport()
-
setMainObjectOnSupport
void setMainObjectOnSupport(ObjectOnSupport value)
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:
getMainObjectOnSupport()
-
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(ObjectOnSupport),ComparePackage.getTopComparisonNode_OtherObjectOnSupport()
-
setOtherObjectOnSupport
void setOtherObjectOnSupport(ObjectOnSupport value)
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:
getOtherObjectOnSupport()
-
isOneSideNode
boolean isOneSideNode()
- Specified by:
isOneSideNodein interfaceComparisonNode
-
getNodeSide
ComparisonSide getNodeSide()
- Specified by:
getNodeSidein interfaceComparisonNode
-
isAncestorObjectExists
boolean isAncestorObjectExists()
- Specified by:
isAncestorObjectExistsin interfaceComparisonNode- Specified by:
isAncestorObjectExistsin interfaceMatchedObjectsComparisonNode- Returns:
- the value of the 'Ancestor Object Exists' attribute.
- See Also:
MatchedObjectsComparisonNode.setAncestorObjectExists(boolean),ComparePackage.getMatchedObjectsComparisonNode_AncestorObjectExists()
-
-