Class MdProducedTypesUtil
- java.lang.Object
-
- com._1c.g5.v8.dt.metadata.mdclass.util.MdProducedTypesUtil
-
public class MdProducedTypesUtil extends Object
Util class to take take ProducedType of MdObject by MdType eClass
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TypeItem
getProducedType(MdObject mdObject, org.eclipse.emf.ecore.EClass mdTypeEClass)
Method returns produced type item of MdObject by MdType eClass
-
-
-
Method Detail
-
getProducedType
public static TypeItem getProducedType(MdObject mdObject, org.eclipse.emf.ecore.EClass mdTypeEClass)
Method returns produced type item of MdObject by MdType eClass- Parameters:
mdObject
- the mdObject to get types from (notnull
)mdTypeEClass
- the EClass of produced type container (notnull
)- Returns:
Type
orTypeSet
or null if there is no produced type for given mdTypeEClass- Throws:
IllegalArgumentException
- if unsupportedmdTypeEClass
is requested for givenmdObject
-
-