Class InformationRegisterConverter
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.core.uconverter.AbstractUObjectConverter
-
- com._1c.g5.v8.dt.platform.core.uconverter.AbstractUObjectConverterForDynamicTypes
-
- com._1c.g5.v8.dt.form.typeinfo.uconverter.InformationRegisterConverter
-
- All Implemented Interfaces:
IUObjectConverter
public class InformationRegisterConverter extends AbstractUObjectConverterForDynamicTypes
Converter for GenericReportObject and ReportObject.ObjectName types to universal type
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.platform.core.uconverter.AbstractUObjectConverterForDynamicTypes
converter
-
Fields inherited from class com._1c.g5.v8.dt.platform.core.uconverter.AbstractUObjectConverter
allowedRuntimeVersion, allowedTypeNames, converterServiceProvider
-
-
Constructor Summary
Constructors Constructor Description InformationRegisterConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeItem
convert(TypeItem type, Version version, Map<String,TypeItem> earlierComputedUTypes, org.eclipse.emf.ecore.resource.Resource resource)
ConvertsTypeItem
to universal typeprotected void
filteringPropertiesByVisibility(TypeItem baseType, Type uType, org.eclipse.emf.ecore.resource.Resource resource)
Filter properties of converting typeprotected String
getNameBaseUType()
Gets name of base universal typeprotected String
getNameBaseUTypeRu()
Gets Russian name of base universal type-
Methods inherited from class com._1c.g5.v8.dt.platform.core.uconverter.AbstractUObjectConverterForDynamicTypes
addMethodsFromUniversalType, isAppropriate
-
Methods inherited from class com._1c.g5.v8.dt.platform.core.uconverter.AbstractUObjectConverter
addAllowedruntimeVersion, addAllowedTypeName, getAllAllowedTypeNames, recomputePropertyTypes
-
-
-
-
Method Detail
-
convert
public TypeItem convert(TypeItem type, Version version, Map<String,TypeItem> earlierComputedUTypes, org.eclipse.emf.ecore.resource.Resource resource)
Description copied from interface:IUObjectConverter
ConvertsTypeItem
to universal type- Specified by:
convert
in interfaceIUObjectConverter
- Overrides:
convert
in classAbstractUObjectConverterForDynamicTypes
- Parameters:
type
- convertingTypeItem
, can't benull
version
- actual configuration version for convertingtype
. Can't benull
earlierComputedUTypes
- map - (type name; its universal type), can benull
if universal types weren't computed earlierresource
- actualResource
for resolving, can't benull
- Returns:
- universal type corresponding to
type
. Nevernull
-
getNameBaseUType
protected String getNameBaseUType()
Description copied from class:AbstractUObjectConverterForDynamicTypes
Gets name of base universal type- Specified by:
getNameBaseUType
in classAbstractUObjectConverterForDynamicTypes
- Returns:
- name of universal type, can't be
null
-
getNameBaseUTypeRu
protected String getNameBaseUTypeRu()
Description copied from class:AbstractUObjectConverterForDynamicTypes
Gets Russian name of base universal type- Specified by:
getNameBaseUTypeRu
in classAbstractUObjectConverterForDynamicTypes
- Returns:
- name of universal type, can't be
null
-
filteringPropertiesByVisibility
protected void filteringPropertiesByVisibility(TypeItem baseType, Type uType, org.eclipse.emf.ecore.resource.Resource resource)
Description copied from class:AbstractUObjectConverterForDynamicTypes
Filter properties of converting type- Specified by:
filteringPropertiesByVisibility
in classAbstractUObjectConverterForDynamicTypes
- Parameters:
baseType
- converting type, can't benull
uType
- created converting type, can't benull
resource
- actualResource
for resolving, can't benull
-
-