Package com._1c.g5.v8.dt.compare.model
Interface MergeSettings
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,IBmObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
MergeSettingsImpl
public interface MergeSettings extends IBmObject
A representation of the model object 'Merge Settings'.The following features are supported:
- See Also:
ComparePackage.getMergeSettings()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.common.util.EList<MergeRule>
getAvailableMergeRules()
Returns the value of the 'Available Merge Rules' attribute list.CustomMergeSettings
getCustomSettings()
Returns the value of the 'Custom Settings' containment reference.MergeRule
getDefaultMergeRule()
Returns the value of the 'Default Merge Rule' attribute.MergeRule
getMergeRule()
Returns the value of the 'Merge Rule' attribute.OrderRule
getOrderRule()
Returns the value of the 'Order Rule' containment reference.boolean
isCanBeMerged()
Returns the value of the 'Can Be Merged' attribute.boolean
isDefaultMergeRule()
* Tells whether the current merge rule equals to the default one.boolean
isHaveChildrenExcludedFromMerge()
Returns the value of the 'Have Children Excluded From Merge' attribute.boolean
isMergeRuleSetByUser()
Returns the value of the 'Merge Rule Set By User' attribute.boolean
isMustBeMerged()
Returns the value of the 'Must Be Merged' attribute.void
setCanBeMerged(boolean value)
Sets the value of the 'Can Be Merged
' attribute.void
setCustomSettings(CustomMergeSettings value)
Sets the value of the 'Custom Settings
' containment reference.void
setDefaultMergeRule(MergeRule value)
Sets the value of the 'Default Merge Rule
' attribute.void
setHaveChildrenExcludedFromMerge(boolean value)
Sets the value of the 'Have Children Excluded From Merge
' attribute.void
setMergeRule(MergeRule value)
Sets the value of the 'Merge Rule
' attribute.void
setMergeRuleSetByUser(boolean value)
Sets the value of the 'Merge Rule Set By User
' attribute.void
setMustBeMerged(boolean value)
Sets the value of the 'Must Be Merged
' attribute.void
setOrderRule(OrderRule value)
Sets the value of the 'Order Rule
' containment reference.-
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
-
-
-
-
Method Detail
-
getMergeRule
MergeRule getMergeRule()
Returns the value of the 'Merge Rule' attribute. The literals are from the enumerationMergeRule
. * The rule to be used during a merge process. This rule could be changed by the user in case ifisCanBeMerged()
is true. The values for overriding should be taken from thegetAvailableMergeRules()
- Returns:
- the value of the 'Merge Rule' attribute.
- See Also:
MergeRule
,setMergeRule(MergeRule)
,ComparePackage.getMergeSettings_MergeRule()
-
setMergeRule
void setMergeRule(MergeRule value)
Sets the value of the 'Merge Rule
' attribute.- Parameters:
value
- the new value of the 'Merge Rule' attribute.- See Also:
MergeRule
,getMergeRule()
-
getDefaultMergeRule
MergeRule getDefaultMergeRule()
Returns the value of the 'Default Merge Rule' attribute. The literals are from the enumerationMergeRule
. * The default merge rule calculated for the current node during the comparison process.- Returns:
- the value of the 'Default Merge Rule' attribute.
- See Also:
MergeRule
,setDefaultMergeRule(MergeRule)
,ComparePackage.getMergeSettings_DefaultMergeRule()
-
setDefaultMergeRule
void setDefaultMergeRule(MergeRule value)
Sets the value of the 'Default Merge Rule
' attribute.- Parameters:
value
- the new value of the 'Default Merge Rule' attribute.- See Also:
MergeRule
,getDefaultMergeRule()
-
getAvailableMergeRules
org.eclipse.emf.common.util.EList<MergeRule> getAvailableMergeRules()
Returns the value of the 'Available Merge Rules' attribute list. The list contents are of typeMergeRule
. The literals are from the enumerationMergeRule
. * The list of merge rules available for the node.- Returns:
- the value of the 'Available Merge Rules' attribute list.
- See Also:
MergeRule
,ComparePackage.getMergeSettings_AvailableMergeRules()
-
isMustBeMerged
boolean isMustBeMerged()
Returns the value of the 'Must Be Merged' attribute. * Tells whether the node will be merged during the merge process using the corresponding merge rule.
This setting could be changed by the user in case ifisCanBeMerged()
is true.- Returns:
- the value of the 'Must Be Merged' attribute.
- See Also:
setMustBeMerged(boolean)
,ComparePackage.getMergeSettings_MustBeMerged()
-
setMustBeMerged
void setMustBeMerged(boolean value)
Sets the value of the 'Must Be Merged
' attribute.- Parameters:
value
- the new value of the 'Must Be Merged' attribute.- See Also:
isMustBeMerged()
-
isCanBeMerged
boolean isCanBeMerged()
Returns the value of the 'Can Be Merged' attribute. * Tells whether default merge settings obtained during the comparison process can be changed by the user. In case if overriding is available, the user is able to change the merge flag viasetMustBeMerged(boolean)
as well as to select the merge rule (setMergeRule(com._1c.g5.v8.dt.compare.model.MergeRule)
) from the available list of rules obtaibable viagetAvailableMergeRules()
.- Returns:
- the value of the 'Can Be Merged' attribute.
- See Also:
setCanBeMerged(boolean)
,ComparePackage.getMergeSettings_CanBeMerged()
-
setCanBeMerged
void setCanBeMerged(boolean value)
Sets the value of the 'Can Be Merged
' attribute.- Parameters:
value
- the new value of the 'Can Be Merged' attribute.- See Also:
isCanBeMerged()
-
isHaveChildrenExcludedFromMerge
boolean isHaveChildrenExcludedFromMerge()
Returns the value of the 'Have Children Excluded From Merge' attribute. * Tells whether the node contains children excluded from merge. More technically, this flag is true when the node contains canBeMerged-children that are not mustBeMerged.- Returns:
- the value of the 'Have Children Excluded From Merge' attribute.
- See Also:
setHaveChildrenExcludedFromMerge(boolean)
,ComparePackage.getMergeSettings_HaveChildrenExcludedFromMerge()
-
setHaveChildrenExcludedFromMerge
void setHaveChildrenExcludedFromMerge(boolean value)
Sets the value of the 'Have Children Excluded From Merge
' attribute.- Parameters:
value
- the new value of the 'Have Children Excluded From Merge' attribute.- See Also:
isHaveChildrenExcludedFromMerge()
-
isMergeRuleSetByUser
boolean isMergeRuleSetByUser()
Returns the value of the 'Merge Rule Set By User' attribute. * Tells whether the merge rule set by the user and therefore shouldn't be changed by merge rule's building algorithms.- Returns:
- the value of the 'Merge Rule Set By User' attribute.
- See Also:
setMergeRuleSetByUser(boolean)
,ComparePackage.getMergeSettings_MergeRuleSetByUser()
-
setMergeRuleSetByUser
void setMergeRuleSetByUser(boolean value)
Sets the value of the 'Merge Rule Set By User
' attribute.- Parameters:
value
- the new value of the 'Merge Rule Set By User' attribute.- See Also:
isMergeRuleSetByUser()
-
getOrderRule
OrderRule getOrderRule()
Returns the value of the 'Order Rule' containment reference. * The rule to be used for ordering of child elements on merge. Not null only for comparison nodes that support ordering of their children.- Returns:
- the value of the 'Order Rule' containment reference.
- See Also:
setOrderRule(OrderRule)
,ComparePackage.getMergeSettings_OrderRule()
-
setOrderRule
void setOrderRule(OrderRule value)
Sets the value of the 'Order Rule
' containment reference.- Parameters:
value
- the new value of the 'Order Rule' containment reference.- See Also:
getOrderRule()
-
getCustomSettings
CustomMergeSettings getCustomSettings()
Returns the value of the 'Custom Settings' containment reference. * Additional custom settings that extend standard merge settings for specific node types.- Returns:
- the value of the 'Custom Settings' containment reference.
- See Also:
setCustomSettings(CustomMergeSettings)
,ComparePackage.getMergeSettings_CustomSettings()
-
setCustomSettings
void setCustomSettings(CustomMergeSettings value)
Sets the value of the 'Custom Settings
' containment reference.- Parameters:
value
- the new value of the 'Custom Settings' containment reference.- See Also:
getCustomSettings()
-
isDefaultMergeRule
boolean isDefaultMergeRule()
* Tells whether the current merge rule equals to the default one.
-
-