Interface ITypeDescriptionAdoptSupport
-
public interface ITypeDescriptionAdoptSupport
The adopting support forTypeDescription
's
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeDescriptionExtension
adoptMultiStateType(MdObject nativeObject, TypeDescription nativeObjectType, Version version, IAdopterContext context)
Adopt the given multi state type with respect to its type content.TypeDescriptionExtension
adoptMultiStateType(MdObject nativeObject, TypeDescription nativeObjectType, Version version, IAdopterContext context, boolean multiRefAsAnyRef)
Adopt the given multi state type with respect to its type content.TypeDescription
adoptType(MdObject nativeObject, TypeDescription nativeObjectType, Version version, IAdopterContext context)
Adopt the given type with respect to its type content.TypeDescription
adoptType(org.eclipse.emf.ecore.EObject nativeObject, TypeDescription nativeObjectType, Version version, IAdopterContext context, boolean multiRefAsAnyRef)
Adopt the given type with respect to its type content.TypeItem
adoptTypeItem(org.eclipse.emf.ecore.EObject nativeObject, TypeItem nativeTypeItem, Version version, IAdopterContext context)
Adopt the given type with respect to its type content.
-
-
-
Method Detail
-
adoptType
TypeDescription adoptType(MdObject nativeObject, TypeDescription nativeObjectType, Version version, IAdopterContext context)
Adopt the given type with respect to its type content. This method is equivalent to:adoptType(nativeObjectType, version, context, true)
- Parameters:
nativeObject
- the native type owner metadata object, may benull
nativeObjectType
- the native object type, cannot benull
version
- the 1C:Enterprise runtime version, cannot benull
context
- the adoptercontext
, cannot benull
- Returns:
- the adopted type, never
null
-
adoptType
TypeDescription adoptType(org.eclipse.emf.ecore.EObject nativeObject, TypeDescription nativeObjectType, Version version, IAdopterContext context, boolean multiRefAsAnyRef)
Adopt the given type with respect to its type content.- Parameters:
nativeObject
- the native type owner metadata object, may benull
nativeObjectType
- the native object type, cannot benull
version
- the 1C:Enterprise runtime version, cannot benull
context
- the adoptercontext
, cannot benull
multiRefAsAnyRef
- whether need to convert multi reference to metadata objects (complex type) as AnyRef- Returns:
- the adopted type, never
null
-
adoptTypeItem
TypeItem adoptTypeItem(org.eclipse.emf.ecore.EObject nativeObject, TypeItem nativeTypeItem, Version version, IAdopterContext context)
Adopt the given type with respect to its type content.- Parameters:
nativeObject
- the native type owner metadata object, may benull
nativeTypeItem
- the native type item, cannot benull
version
- the 1C:Enterprise runtime version, cannot benull
context
- the adoptercontext
, cannot benull
- Returns:
- the adopted type item, never
null
-
adoptMultiStateType
TypeDescriptionExtension adoptMultiStateType(MdObject nativeObject, TypeDescription nativeObjectType, Version version, IAdopterContext context)
Adopt the given multi state type with respect to its type content. This method is equivalent to:adoptType(nativeObjectType, version, context, true)
- Parameters:
nativeObject
- the native type owner metadata object, may benull
nativeObjectType
- the native object type, cannot benull
version
- the 1C:Enterprise runtime version, cannot benull
context
- the adoptercontext
, cannot benull
- Returns:
- the adopted multi state type, never
null
-
adoptMultiStateType
TypeDescriptionExtension adoptMultiStateType(MdObject nativeObject, TypeDescription nativeObjectType, Version version, IAdopterContext context, boolean multiRefAsAnyRef)
Adopt the given multi state type with respect to its type content.- Parameters:
nativeObject
- the native type owner metadata object, may benull
nativeObjectType
- the native object type, cannot benull
version
- the 1C:Enterprise runtime version, cannot benull
context
- the adoptercontext
, cannot benull
multiRefAsAnyRef
- whether need to convert multi reference to metadata objects (complex type) as AnyRef- Returns:
- the adopted multi state type, never
null
-
-