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:
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:
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
public interface ComparisonNode extends IBmObject
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:
ComparePackage.getComparisonNode()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends ComparisonNode>
org.eclipse.emf.common.util.EList<T>getChildren()
* Returns list of all node's children, containment- and bmTop ones.ComparisonFlags
getComparisonFlags()
Returns the value of the 'Comparison Flags' attribute.org.eclipse.emf.common.util.EList<ContainmentComparisonNode>
getContainmentChildren()
Returns the value of the 'Containment Children' containment reference list.MergeSettings
getMergeSettings()
Returns the value of the 'Merge Settings' containment reference.ComparisonSide
getNodeSide()
* Returns comparison side to which node relates.ComparisonNode
getParent()
org.eclipse.emf.common.util.EList<TopComparisonNode>
getTopChildren()
Returns the value of the 'Top Children' reference list.boolean
hasChildren()
* Tells whether the node has its children.boolean
isAncestorObjectExists()
* Tells whether the node has an object on COMMON_ANCESTOR sideboolean
isMainObjectToBeDeleted()
Returns the value of the 'Main Object To Be Deleted' attribute.boolean
isModifiedOnOther()
Returns the value of the 'Modified On Other' attribute.boolean
isOneSideNode()
* Tells whether the node contains an object only on one side - MAIN or OTHER.boolean
isOneSideParent()
Returns the value of the 'One Side Parent' attribute.boolean
isOtherObjectToBeAdded()
Returns the value of the 'Other Object To Be Added' attribute.void
setComparisonFlags(ComparisonFlags value)
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
-
-
-
-
Method Detail
-
getComparisonFlags
ComparisonFlags getComparisonFlags()
Returns the value of the 'Comparison Flags' attribute.- Returns:
- the value of the 'Comparison Flags' attribute.
- See Also:
setComparisonFlags(ComparisonFlags)
,ComparePackage.getComparisonNode_ComparisonFlags()
-
setComparisonFlags
void setComparisonFlags(ComparisonFlags value)
Sets the value of the 'Comparison Flags
' attribute.- Parameters:
value
- the new value of the 'Comparison Flags' attribute.- See Also:
getComparisonFlags()
-
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:
ComparePackage.getComparisonNode_TopChildren()
,TopComparisonNode.getParent()
-
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:
ComparePackage.getComparisonNode_ContainmentChildren()
,ContainmentComparisonNode.getParent()
-
getMergeSettings
MergeSettings getMergeSettings()
Returns the value of the 'Merge Settings' containment reference.- Returns:
- the value of the 'Merge Settings' containment reference.
- See Also:
setMergeSettings(MergeSettings)
,ComparePackage.getComparisonNode_MergeSettings()
-
setMergeSettings
void setMergeSettings(MergeSettings value)
Sets the value of the 'Merge Settings
' containment reference.- Parameters:
value
- the new value of the 'Merge Settings' containment reference.- See Also:
getMergeSettings()
-
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(boolean)
,ComparePackage.getComparisonNode_MainObjectToBeDeleted()
-
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:
isMainObjectToBeDeleted()
-
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(boolean)
,ComparePackage.getComparisonNode_OtherObjectToBeAdded()
-
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:
isOtherObjectToBeAdded()
-
isModifiedOnOther
boolean isModifiedOnOther()
Returns the value of the 'Modified On Other' attribute.- Returns:
- the value of the 'Modified On Other' attribute.
- See Also:
setModifiedOnOther(boolean)
,ComparePackage.getComparisonNode_ModifiedOnOther()
-
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:
isModifiedOnOther()
-
isOneSideParent
boolean isOneSideParent()
Returns the value of the 'One Side Parent' attribute.- Returns:
- the value of the 'One Side Parent' attribute.
- See Also:
setOneSideParent(boolean)
,ComparePackage.getComparisonNode_OneSideParent()
-
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:
isOneSideParent()
-
getParent
ComparisonNode getParent()
-
getChildren
<T extends ComparisonNode> org.eclipse.emf.common.util.EList<T> 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
-
-