Package com._1c.g5.v8.dt.xdto.model.type
Class XdtoTypeUtil
java.lang.Object
com._1c.g5.v8.dt.xdto.model.type.XdtoTypeUtil
Contains utils methods for creating platform types by xdto types
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
copyDataFromBaseType
(XdtoType proxyType, Type type) Copies content of the type toXdtoType
createObjectTypeProperty
(ObjectType objectType, org.eclipse.xtext.scoping.IScopeProvider scopeProvider, org.eclipse.xtext.scoping.IScope typeScope, org.eclipse.emf.ecore.EObject context) GetsProperty
s byObjectType
for bsl language
-
Method Details
-
createObjectTypeProperty
public static List<Property> createObjectTypeProperty(ObjectType objectType, org.eclipse.xtext.scoping.IScopeProvider scopeProvider, org.eclipse.xtext.scoping.IScope typeScope, org.eclipse.emf.ecore.EObject context) GetsProperty
s byObjectType
for bsl language- Parameters:
objectType
- xdto object type with properties, cannot benull
scopeProvider
- actualIScopeProvider
for getting available xdto types bycontext
, cannot benull
typeScope
-IScope
of theTypeItem
s, cannot benull
context
- actual contextEObject
, cannot benull
- Returns:
- list of
Property
s byObjectType
for bsl language, nevernull
-
copyDataFromBaseType
Copies content of the type toXdtoType
-