Class AbstractRule
- java.lang.Object
- 
- com._1c.g5.aef2.standard.definitions.rules.AbstractRule
 
- 
- All Implemented Interfaces:
- IRule
 - Direct Known Subclasses:
- AbstractRule
 
 public abstract class AbstractRule extends Object implements IRule Basic implementation ofIRule. Contains methods for easier rule creation.
- 
- 
Constructor SummaryConstructors Constructor Description AbstractRule()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidbuildSingleObject(Object object)Builds statements for each of selected object.protected IDefinitioncomponentDefinition(IDefinitionIdentifier identifier)CreatesIDefinitionthat point to component for the specifiedidentifier.protected IDefinitioncomponentDefinition(String stringIdentifier)CreatesIDefinitionthat point to component for the specifiedstringIdentifier.protected IDefinitioncomponentDefinition(org.eclipse.emf.databinding.FeaturePath... featurePaths)CreatesIDefinitionthat point to component for the specifiedfeaturePaths.protected IDefinitioncomponentDefinition(org.eclipse.emf.ecore.EOperation operation)CreatesIDefinitionthat point to component for the specifiedoperation.protected IDefinitioncomponentDefinition(org.eclipse.emf.ecore.EStructuralFeature... features)CreatesIDefinitionthat point to component for the specifiedfeatures.protected IRuleTargetcomponentTarget(IDefinition componentDefinition)CreatesIRuleTargetthat point to component for the component definition.protected voiddisable(IDefinition definition)Disables field with the given arguments.protected voiddisable(IRuleTarget target)Disables field with the givenIRuleTarget.protected voiddisable(String stringId)Disables field with the given arguments.protected voiddisable(org.eclipse.emf.ecore.EOperation operation)Disables field with the given arguments.protected voiddisable(org.eclipse.emf.ecore.EStructuralFeature... features)Disables field with the given arguments.protected voidenable(IDefinition definition)Enables field with the given arguments.protected voidenable(IRuleTarget target)Enables field with the givenIRuleTarget.protected voidenable(String stringId)Enables field with the given arguments.protected voidenable(org.eclipse.emf.ecore.EOperation operation)Enables field with the given arguments.protected voidenable(org.eclipse.emf.ecore.EStructuralFeature... features)Enables field with the given arguments.IRuleResultgetResult(IRuleInput input)Returns the result of the rule.protected voidhide(IDefinition definition)Hides field with the given arguments.protected voidhide(IRuleTarget target)Hides field with the givenIRuleTarget.protected voidhide(String stringId)Hides field with the given arguments.protected voidhide(org.eclipse.emf.ecore.EOperation operation)Hides field with the given arguments.protected voidhide(org.eclipse.emf.ecore.EStructuralFeature... features)Hides field with the given arguments.protected voidmultiFeatureDisable(org.eclipse.emf.ecore.EStructuralFeature... features)Disables field with the given arguments.protected voidmultiFeatureEnable(org.eclipse.emf.ecore.EStructuralFeature... features)Enables multi feature field with the given arguments.protected voidmultiFeatureHide(org.eclipse.emf.ecore.EStructuralFeature... features)Hides field with the given arguments.protected voidmultiFeatureShow(org.eclipse.emf.ecore.EStructuralFeature... features)Shows multi feature field with the given arguments.protected voidshow(IDefinition definition)Shows field with the given arguments.protected voidshow(IRuleTarget target)Shows field with the givenIRuleTarget.protected voidshow(String stringId)Shows field with the given arguments.protected voidshow(org.eclipse.emf.ecore.EOperation operation)Shows field with the given arguments.protected voidshow(org.eclipse.emf.ecore.EStructuralFeature... features)Shows field with the given arguments.
 
- 
- 
- 
Method Detail- 
getResultpublic IRuleResult getResult(IRuleInput input) Description copied from interface:IRuleReturns the result of the rule.- Specified by:
- getResultin interface- IRule
- Parameters:
- input- the input.
- Returns:
- the IRuleResultinstance.
 
 - 
buildSingleObjectprotected abstract void buildSingleObject(Object object) Builds statements for each of selected object.- Parameters:
- object- the object, cannot be- null.
 
 - 
showprotected void show(IRuleTarget target) Shows field with the givenIRuleTarget.- Parameters:
- target- the- IRuleTargetinstance, cannot be- null.
 
 - 
showprotected void show(IDefinition definition) Shows field with the given arguments.- Parameters:
- definition- the definition, cannot be- null.
 
 - 
showprotected void show(org.eclipse.emf.ecore.EStructuralFeature... features) Shows field with the given arguments.- Parameters:
- features- the features, cannot be- nullor empty.
 
 - 
showprotected void show(org.eclipse.emf.ecore.EOperation operation) Shows field with the given arguments.- Parameters:
- operation- the EMF operation, cannot be- null.
 
 - 
showprotected void show(String stringId) Shows field with the given arguments.- Parameters:
- stringId- the definition identifier, cannot be- nullor empty.
 
 - 
multiFeatureShowprotected void multiFeatureShow(org.eclipse.emf.ecore.EStructuralFeature... features) Shows multi feature field with the given arguments.- Parameters:
- features- the features, cannot be- nullor empty.
 
 - 
enableprotected void enable(IRuleTarget target) Enables field with the givenIRuleTarget.- Parameters:
- target- the- IRuleTargetinstance, cannot be- null.
 
 - 
enableprotected void enable(IDefinition definition) Enables field with the given arguments.- Parameters:
- definition- the definition, cannot be- null.
 
 - 
enableprotected void enable(org.eclipse.emf.ecore.EStructuralFeature... features) Enables field with the given arguments.- Parameters:
- features- the features, cannot be- nullor empty.
 
 - 
enableprotected void enable(org.eclipse.emf.ecore.EOperation operation) Enables field with the given arguments.- Parameters:
- operation- the EMF operation, cannot be- null.
 
 - 
enableprotected void enable(String stringId) Enables field with the given arguments.- Parameters:
- stringId- the definition identifier, cannot be- nullor empty.
 
 - 
multiFeatureEnableprotected void multiFeatureEnable(org.eclipse.emf.ecore.EStructuralFeature... features) Enables multi feature field with the given arguments.- Parameters:
- features- the features, cannot be- nullor empty.
 
 - 
hideprotected void hide(IRuleTarget target) Hides field with the givenIRuleTarget.- Parameters:
- target- the- IRuleTargetinstance, cannot be- null.
 
 - 
hideprotected void hide(IDefinition definition) Hides field with the given arguments.- Parameters:
- definition- the definition, cannot be- null.
 
 - 
hideprotected void hide(org.eclipse.emf.ecore.EStructuralFeature... features) Hides field with the given arguments.- Parameters:
- features- the features, cannot be- nullor empty.
 
 - 
hideprotected void hide(org.eclipse.emf.ecore.EOperation operation) Hides field with the given arguments.- Parameters:
- operation- the EMF operation, cannot be- null.
 
 - 
hideprotected void hide(String stringId) Hides field with the given arguments.- Parameters:
- stringId- the definition identifier, cannot be- nullor empty.
 
 - 
multiFeatureHideprotected void multiFeatureHide(org.eclipse.emf.ecore.EStructuralFeature... features) Hides field with the given arguments.- Parameters:
- features- the features, cannot be- nullor empty.
 
 - 
disableprotected void disable(IRuleTarget target) Disables field with the givenIRuleTarget.- Parameters:
- target- the- IRuleTargetinstance, cannot be- null.
 
 - 
disableprotected void disable(IDefinition definition) Disables field with the given arguments.- Parameters:
- definition- the definition, cannot be- null.
 
 - 
disableprotected void disable(org.eclipse.emf.ecore.EStructuralFeature... features) Disables field with the given arguments.- Parameters:
- features- the features, cannot be- nullor empty.
 
 - 
disableprotected void disable(org.eclipse.emf.ecore.EOperation operation) Disables field with the given arguments.- Parameters:
- operation- the EMF operation, cannot be- null.
 
 - 
disableprotected void disable(String stringId) Disables field with the given arguments.- Parameters:
- stringId- the definition identifier, cannot be- nullor empty.
 
 - 
multiFeatureDisableprotected void multiFeatureDisable(org.eclipse.emf.ecore.EStructuralFeature... features) Disables field with the given arguments.- Parameters:
- features- the features, cannot be- nullor empty.
 
 - 
componentTargetprotected IRuleTarget componentTarget(IDefinition componentDefinition) CreatesIRuleTargetthat point to component for the component definition.- Parameters:
- componentDefinition- the component definition, cannot be- nullor empty.
- Returns:
- IRuleTargetinstance, never- null.
 
 - 
componentDefinitionprotected IDefinition componentDefinition(org.eclipse.emf.databinding.FeaturePath... featurePaths) CreatesIDefinitionthat point to component for the specifiedfeaturePaths.- Parameters:
- featurePaths- the feature paths, cannot be- nullor empty.
- Returns:
- IDefinitioninstance, never- null.
 
 - 
componentDefinitionprotected IDefinition componentDefinition(org.eclipse.emf.ecore.EStructuralFeature... features) CreatesIDefinitionthat point to component for the specifiedfeatures.- Parameters:
- features- the features, cannot be- nullor empty.
- Returns:
- IDefinitioninstance, never- null.
 
 - 
componentDefinitionprotected IDefinition componentDefinition(String stringIdentifier) CreatesIDefinitionthat point to component for the specifiedstringIdentifier.- Parameters:
- stringIdentifier- the definition identifier, cannot be- nullor empty.
- Returns:
- IDefinitioninstance, never- null.
 
 - 
componentDefinitionprotected IDefinition componentDefinition(org.eclipse.emf.ecore.EOperation operation) CreatesIDefinitionthat point to component for the specifiedoperation.- Parameters:
- operation- the EMF operation, cannot be- null.
- Returns:
- IDefinitioninstance, never- null.
 
 - 
componentDefinitionprotected IDefinition componentDefinition(IDefinitionIdentifier identifier) CreatesIDefinitionthat point to component for the specifiedidentifier.- Parameters:
- identifier- the- IDefinitionIdentifier, cannot be- null.
- Returns:
- IDefinitioninstance, never- null.
 
 
- 
 
-