Package com._1c.g5.v8.dt.compare.model
Interface ComparisonNode
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,IBmObject
,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
AdditionalIndexesComparisonNode
,BslModuleComparisonNode
,BslModuleSectionComparisonNode
,ChartComparisonNode
,ChildMdCollectionComparisonNode
,ChildMdCollectionImplComparisonNode
,ChildMdObjectComparisonNode
,CmiComparisonNode
,CollectionComparisonNode
,CollectionElementComparisonNode
,ContainmentCollectionComparisonNode
,ContainmentCollectionElementComparisonNode
,ContainmentCollectionElementImplComparisonNode
,ContainmentCollectionImplComparisonNode
,ContainmentComparisonNode
,ContainmentFeatureComparisonNode
,DcsComparisonNode
,ExternalPropertyComparisonNode
,FeatureCollectionComparisonNode
,FeatureCollectionElementComparisonNode
,FeatureComparisonNode
,FormComparisonNode
,HtmlDocumentComparisonNode
,ManifestComparisonNode
,ManifestHeaderComparisonNode
,MatchedObjectsComparisonNode
,MdCollectionComparisonNode
,MdObjectCollectionElementComparisonNode
,MdObjectComparisonNode
,ReferenceCollectionComparisonNode
,ReferenceCollectionElementComparisonNode
,ReferenceCollectionElementImplComparisonNode
,ReferenceCollectionImplComparisonNode
,ReferencedObjectsComparisonNode
,ReferenceFeatureComparisonNode
,RightsComparisonNode
,RootComparisonNode
,SingleContainmentFeatureComparisonNode
,SingleContainmentFeatureImplComparisonNode
,SingleFeatureComparisonNode
,SingleReferenceFeatureComparisonNode
,SingleReferenceFeatureImplComparisonNode
,SingleValueComparisonNode
,SingleValueImplComparisonNode
,SolidResourceComparisonNode
,SymlinkComparisonNode
,TopComparisonNode
,TopMdCollectionComparisonNode
,TopMdCollectionImplComparisonNode
,TopMdObjectCollectionElementComparisonNode
,TopMdObjectComparisonNode
,TopModelObjectsComparisonNode
,UnsupportedObjectComparisonNode
,ValueCollectionComparisonNode
,ValueCollectionElementComparisonNode
,ValueCollectionElementImplComparisonNode
,ValueCollectionImplComparisonNode
- All Known Implementing Classes:
AdditionalIndexesComparisonNodeImpl
,BslModuleComparisonNodeImpl
,BslModuleSectionComparisonNodeImpl
,ChartComparisonNodeImpl
,ChildMdCollectionComparisonNodeImpl
,ChildMdCollectionImplComparisonNodeImpl
,ChildMdObjectComparisonNodeImpl
,CmiComparisonNodeImpl
,CollectionComparisonNodeImpl
,CollectionElementComparisonNodeImpl
,ComparisonNodeImpl
,ContainmentCollectionComparisonNodeImpl
,ContainmentCollectionElementComparisonNodeImpl
,ContainmentCollectionElementImplComparisonNodeImpl
,ContainmentCollectionImplComparisonNodeImpl
,ContainmentComparisonNodeImpl
,ContainmentFeatureComparisonNodeImpl
,DcsComparisonNodeImpl
,ExternalPropertyComparisonNodeImpl
,FeatureCollectionComparisonNodeImpl
,FeatureCollectionElementComparisonNodeImpl
,FeatureComparisonNodeImpl
,FormComparisonNodeImpl
,HtmlDocumentComparisonNodeImpl
,ManifestComparisonNodeImpl
,ManifestHeaderComparisonNodeImpl
,MatchedObjectsComparisonNodeImpl
,MdCollectionComparisonNodeImpl
,MdObjectCollectionElementComparisonNodeImpl
,MdObjectComparisonNodeImpl
,ReferenceCollectionComparisonNodeImpl
,ReferenceCollectionElementComparisonNodeImpl
,ReferenceCollectionElementImplComparisonNodeImpl
,ReferenceCollectionImplComparisonNodeImpl
,ReferencedObjectsComparisonNodeImpl
,ReferenceFeatureComparisonNodeImpl
,RightsComparisonNodeImpl
,RootComparisonNodeImpl
,SingleContainmentFeatureComparisonNodeImpl
,SingleContainmentFeatureImplComparisonNodeImpl
,SingleFeatureComparisonNodeImpl
,SingleReferenceFeatureComparisonNodeImpl
,SingleReferenceFeatureImplComparisonNodeImpl
,SingleValueComparisonNodeImpl
,SingleValueImplComparisonNodeImpl
,SolidResourceComparisonNodeImpl
,SymlinkComparisonNodeImpl
,TopComparisonNodeImpl
,TopMdCollectionComparisonNodeImpl
,TopMdCollectionImplComparisonNodeImpl
,TopMdObjectCollectionElementComparisonNodeImpl
,TopMdObjectComparisonNodeImpl
,TopModelObjectsComparisonNodeImpl
,UnsupportedObjectComparisonNodeImpl
,ValueCollectionComparisonNodeImpl
,ValueCollectionElementComparisonNodeImpl
,ValueCollectionElementImplComparisonNodeImpl
,ValueCollectionImplComparisonNodeImpl
A representation of the model object 'Comparison Node'.
*
Node of a comparison tree. Nodes are built for model objects or features during the comparison process.
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 TypeMethodDescription<T extends ComparisonNode>
org.eclipse.emf.common.util.EList<T>* Returns list of all node's children, containment- and bmTop ones.Returns the value of the 'Comparison Flags' attribute.org.eclipse.emf.common.util.EList<ContainmentComparisonNode>
Returns the value of the 'Containment Children' containment reference list.Returns the value of the 'Merge Settings' containment reference.* Returns comparison side to which node relates.org.eclipse.emf.common.util.EList<TopComparisonNode>
Returns the value of the 'Top Children' reference list.boolean
* Tells whether the node has its children.boolean
* Tells whether the node has an object on COMMON_ANCESTOR sideboolean
Returns the value of the 'Main Object To Be Deleted' attribute.boolean
Returns the value of the 'Modified On Other' attribute.boolean
* Tells whether the node contains an object only on one side - MAIN or OTHER.boolean
Returns the value of the 'One Side Parent' attribute.boolean
Returns the value of the 'Other Object To Be Added' attribute.void
Sets the value of the 'Comparison Flags
' attribute.void
setMainObjectToBeDeleted
(boolean value) Sets the value of the 'Main Object To Be Deleted
' attribute.void
setMergeSettings
(MergeSettings value) Sets the value of the 'Merge Settings
' containment reference.void
setModifiedOnOther
(boolean value) Sets the value of the 'Modified On Other
' attribute.void
setOneSideParent
(boolean value) Sets the value of the 'One Side Parent
' attribute.void
setOtherObjectToBeAdded
(boolean value) Sets the value of the 'Other Object To Be Added
' attribute.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 org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getComparisonFlags
ComparisonFlags getComparisonFlags()Returns the value of the 'Comparison Flags' attribute.- Returns:
- the value of the 'Comparison Flags' attribute.
- See Also:
-
setComparisonFlags
Sets the value of the 'Comparison Flags
' attribute.- Parameters:
value
- the new value of the 'Comparison Flags' attribute.- See Also:
-
getTopChildren
org.eclipse.emf.common.util.EList<TopComparisonNode> getTopChildren()Returns the value of the 'Top Children' reference list. The list contents are of typeTopComparisonNode
. It is bidirectional and its opposite is 'Parent
'.- Returns:
- the value of the 'Top Children' reference list.
- See Also:
-
getContainmentChildren
org.eclipse.emf.common.util.EList<ContainmentComparisonNode> getContainmentChildren()Returns the value of the 'Containment Children' containment reference list. The list contents are of typeContainmentComparisonNode
. It is bidirectional and its opposite is 'Parent
'.- Returns:
- the value of the 'Containment Children' containment reference list.
- See Also:
-
getMergeSettings
MergeSettings getMergeSettings()Returns the value of the 'Merge Settings' containment reference.- Returns:
- the value of the 'Merge Settings' containment reference.
- See Also:
-
setMergeSettings
Sets the value of the 'Merge Settings
' containment reference.- Parameters:
value
- the new value of the 'Merge Settings' containment reference.- See Also:
-
isMainObjectToBeDeleted
boolean isMainObjectToBeDeleted()Returns the value of the 'Main Object To Be Deleted' attribute.- Returns:
- the value of the 'Main Object To Be Deleted' attribute.
- See Also:
-
setMainObjectToBeDeleted
void setMainObjectToBeDeleted(boolean value) Sets the value of the 'Main Object To Be Deleted
' attribute.- Parameters:
value
- the new value of the 'Main Object To Be Deleted' attribute.- See Also:
-
isOtherObjectToBeAdded
boolean isOtherObjectToBeAdded()Returns the value of the 'Other Object To Be Added' attribute.- Returns:
- the value of the 'Other Object To Be Added' attribute.
- See Also:
-
setOtherObjectToBeAdded
void setOtherObjectToBeAdded(boolean value) Sets the value of the 'Other Object To Be Added
' attribute.- Parameters:
value
- the new value of the 'Other Object To Be Added' attribute.- See Also:
-
isModifiedOnOther
boolean isModifiedOnOther()Returns the value of the 'Modified On Other' attribute.- Returns:
- the value of the 'Modified On Other' attribute.
- See Also:
-
setModifiedOnOther
void setModifiedOnOther(boolean value) Sets the value of the 'Modified On Other
' attribute.- Parameters:
value
- the new value of the 'Modified On Other' attribute.- See Also:
-
isOneSideParent
boolean isOneSideParent()Returns the value of the 'One Side Parent' attribute.- Returns:
- the value of the 'One Side Parent' attribute.
- See Also:
-
setOneSideParent
void setOneSideParent(boolean value) Sets the value of the 'One Side Parent
' attribute.- Parameters:
value
- the new value of the 'One Side Parent' attribute.- See Also:
-
getParent
ComparisonNode getParent() -
getChildren
* Returns list of all node's children, containment- and bmTop ones. -
hasChildren
boolean hasChildren()* Tells whether the node has its children. -
isOneSideNode
boolean isOneSideNode()* Tells whether the node contains an object only on one side - MAIN or OTHER. -
getNodeSide
ComparisonSide getNodeSide()* Returns comparison side to which node relates. Non-null only if this is one-side node, seeisOneSideNode()
. -
isAncestorObjectExists
boolean isAncestorObjectExists()* Tells whether the node has an object on COMMON_ANCESTOR side
-