Package com._1c.g5.v8.dt.md.resource
Class MdStdCommandTypeInferrer
- java.lang.Object
-
- com._1c.g5.v8.dt.md.resource.MdStdCommandTypeInferrer
-
- All Implemented Interfaces:
Visitors.IVisitor
public class MdStdCommandTypeInferrer extends Object implements Visitors.IVisitor
Infers standard commands from an MdObject.
-
-
Constructor Summary
Constructors Constructor Description MdStdCommandTypeInferrer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
_infer(AccountingRegister accountReg)
Infers AccountingRegister standard commands.protected boolean
_infer(AccumulationRegister accumReg)
Inferers AccumulationRegister standard commands.protected boolean
_infer(BusinessProcess bp)
Inferers BusinessProcess standard commands.protected boolean
_infer(CalculationRegister calculationRegister)
Inferers CalculationRegister standard commands.protected boolean
_infer(Catalog catalog)
Inferers Catalog standard commands.protected boolean
_infer(ChartOfAccounts chartOfAccounts)
Infers types of standard commands for Chart of accounts.protected boolean
_infer(ChartOfCalculationTypes chartOfCalculationTypes)
Inferers ChartOfCalculationTypes standard commands.protected boolean
_infer(ChartOfCharacteristicTypes chartOfCharacteristicTypes)
Inferers ChartOfCharacteristicTypes standard commands.protected boolean
_infer(Document document)
Inferers Document standard commands.protected boolean
_infer(ExchangePlan exchangePlan)
Inferers ExchangePlan standard commands.protected boolean
_infer(FilterCriterion filterCriterion)
Inferers FilterCriterion standard command types.protected boolean
_infer(InformationRegister infoReg)
Inferers InformationRegister standard commands.protected boolean
_infer(Task task)
Inferers Task standard commands.protected boolean
_infer(org.eclipse.emf.ecore.EObject object)
Inferers EObject standard commands.void
complete()
Completes the commands inferring.boolean
infer(org.eclipse.emf.ecore.EObject catalog)
boolean
visit(org.eclipse.emf.ecore.EObject eObject)
Visits the given object.
-
-
-
Method Detail
-
complete
public void complete()
Completes the commands inferring. Sets parameters and its types information in parametrized commands
-
visit
public boolean visit(org.eclipse.emf.ecore.EObject eObject)
Visits the given object. Returns whether the contents of the object should also be visited.- Specified by:
visit
in interfaceVisitors.IVisitor
- Parameters:
eObject
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(org.eclipse.emf.ecore.EObject object)
Inferers EObject standard commands.- Parameters:
eObject
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(AccountingRegister accountReg)
Infers AccountingRegister standard commands.- Parameters:
accountReg
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(AccumulationRegister accumReg)
Inferers AccumulationRegister standard commands.- Parameters:
accumReg
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(ChartOfCalculationTypes chartOfCalculationTypes)
Inferers ChartOfCalculationTypes standard commands.- Parameters:
chartOfCalculationTypes
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(ChartOfCharacteristicTypes chartOfCharacteristicTypes)
Inferers ChartOfCharacteristicTypes standard commands.- Parameters:
chartOfCharacteristicTypes
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(Document document)
Inferers Document standard commands.- Parameters:
document
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(InformationRegister infoReg)
Inferers InformationRegister standard commands.- Parameters:
infoReg
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(Catalog catalog)
Inferers Catalog standard commands.- Parameters:
catalog
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(ChartOfAccounts chartOfAccounts)
Infers types of standard commands for Chart of accounts.- Parameters:
catalog
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(ExchangePlan exchangePlan)
Inferers ExchangePlan standard commands.- Parameters:
exchangePlan
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(BusinessProcess bp)
Inferers BusinessProcess standard commands.- Parameters:
bp
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(Task task)
Inferers Task standard commands.- Parameters:
task
- notnull
- Returns:
true
if the contents of the given object. should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(FilterCriterion filterCriterion)
Inferers FilterCriterion standard command types.- Parameters:
filterCriterion
- notnull
- Returns:
true
if the contents of the given object. should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(CalculationRegister calculationRegister)
Inferers CalculationRegister standard commands.- Parameters:
calculationRegister
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
infer
public boolean infer(org.eclipse.emf.ecore.EObject catalog)
-
-