Package com._1c.g5.v8.dt.md.resource
Class MdFieldInferrer
- java.lang.Object
-
- com._1c.g5.v8.dt.md.resource.MdFieldInferrer
-
- All Implemented Interfaces:
Visitors.IVisitor
public class MdFieldInferrer extends Object implements Visitors.IVisitor
Infers fields from an MdObject. Essentially, a part of theMdDerivedStateComputer
. Note that an instance of this class may be shared between different instances of theMdDerivedStateComputer
.- See Also:
IFieldSource.h
-
-
Constructor Summary
Constructors Constructor Description MdFieldInferrer(MdTypeUtil mdTypeUtil, org.eclipse.xtext.naming.IQualifiedNameConverter qualifiedNameConverter, IRuntimeVersionSupport runtimeVersionSupport, IConfigurationProvider configurationProvider, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, MdRuQualifiedNameProvider ruQualifiedNameProvider, com._1c.g5.v8.dt.internal.md.bm.derived.inferrers.CommonMdFieldDerivedDataInferrer commonMdFieldDerivedDataInferrer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
_inferFrom(AccountingRegister object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFrom(AccumulationRegister object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFrom(BusinessProcess object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFrom(CalculationRegister object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFrom(Catalog object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFrom(ChartOfAccounts object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFrom(ChartOfCalculationTypes object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFrom(ChartOfCharacteristicTypes object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFrom(Constant object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFrom(DataProcessor object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFrom(DocumentJournal object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFrom(Document object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFrom(Enum object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFrom(ExchangePlan object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFrom(ExternalDataProcessor object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFrom(ExternalReport object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFrom(InformationRegister object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFrom(Report object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFrom(Table object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFrom(Task object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFrom(org.eclipse.emf.ecore.EObject object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFromTabularSection(StandardTabularPart object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFromTabularSection(DataProcessorTabularSection object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFromTabularSection(DbObjectTabularSection object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
protected boolean
_inferFromTabularSection(ReportTabularSection object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
boolean
hasProducedTypeByCatalogOrChartOfCharacteristics(TypeDescription typeDescription)
boolean
inferFrom(org.eclipse.emf.ecore.EObject object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
boolean
inferFromTabularSection(FieldSource object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
boolean
isLockByFieldAllowed(TypeDescription typeDescription)
boolean
visit(org.eclipse.emf.ecore.EObject object)
Visits the given object.
-
-
-
Constructor Detail
-
MdFieldInferrer
@Inject public MdFieldInferrer(MdTypeUtil mdTypeUtil, org.eclipse.xtext.naming.IQualifiedNameConverter qualifiedNameConverter, IRuntimeVersionSupport runtimeVersionSupport, IConfigurationProvider configurationProvider, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, MdRuQualifiedNameProvider ruQualifiedNameProvider, com._1c.g5.v8.dt.internal.md.bm.derived.inferrers.CommonMdFieldDerivedDataInferrer commonMdFieldDerivedDataInferrer)
-
-
Method Detail
-
visit
public boolean visit(org.eclipse.emf.ecore.EObject object)
Description copied from interface:Visitors.IVisitor
Visits the given object. Returns whether the contents of the object should also be visited.- Specified by:
visit
in interfaceVisitors.IVisitor
- Parameters:
object
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_inferFrom
protected boolean _inferFrom(org.eclipse.emf.ecore.EObject object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFromTabularSection
protected boolean _inferFromTabularSection(DbObjectTabularSection object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFromTabularSection
protected boolean _inferFromTabularSection(StandardTabularPart object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFromTabularSection
protected boolean _inferFromTabularSection(DataProcessorTabularSection object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFromTabularSection
protected boolean _inferFromTabularSection(ReportTabularSection object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFrom
protected boolean _inferFrom(Enum object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFrom
protected boolean _inferFrom(Constant object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFrom
protected boolean _inferFrom(Catalog object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFrom
protected boolean _inferFrom(Document object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFrom
protected boolean _inferFrom(DocumentJournal object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFrom
protected boolean _inferFrom(Report object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFrom
protected boolean _inferFrom(DataProcessor object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFrom
protected boolean _inferFrom(ChartOfAccounts object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFrom
protected boolean _inferFrom(ChartOfCalculationTypes object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFrom
protected boolean _inferFrom(ChartOfCharacteristicTypes object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFrom
protected boolean _inferFrom(InformationRegister object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFrom
protected boolean _inferFrom(AccumulationRegister object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFrom
protected boolean _inferFrom(ExchangePlan object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFrom
protected boolean _inferFrom(BusinessProcess object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFrom
protected boolean _inferFrom(AccountingRegister object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFrom
protected boolean _inferFrom(Task object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFrom
protected boolean _inferFrom(CalculationRegister object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFrom
protected boolean _inferFrom(ExternalDataProcessor object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFrom
protected boolean _inferFrom(ExternalReport object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
_inferFrom
protected boolean _inferFrom(Table object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
isLockByFieldAllowed
public boolean isLockByFieldAllowed(TypeDescription typeDescription)
-
hasProducedTypeByCatalogOrChartOfCharacteristics
public boolean hasProducedTypeByCatalogOrChartOfCharacteristics(TypeDescription typeDescription)
-
inferFrom
public boolean inferFrom(org.eclipse.emf.ecore.EObject object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
inferFromTabularSection
public boolean inferFromTabularSection(FieldSource object, IEObjectProvider typeProvider, CompatibilityMode compatibilityMode)
-
-