Class CommonAttributeUtil
- java.lang.Object
-
- com._1c.g5.v8.dt.metadata.mdclass.util.CommonAttributeUtil
-
public class CommonAttributeUtil extends Object
Utility class to helper methods with CommonAttributes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CommonAttributeUtil.CommonAttributeCategory
static class
CommonAttributeUtil.CommonAttributeUsageCategory
-
Constructor Summary
Constructors Constructor Description CommonAttributeUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<CommonAttribute>
getCommonAttributes(MdObject mdObject, CommonAttributeUtil.CommonAttributeCategory category, CommonAttributeUtil.CommonAttributeUsageCategory usageCategory)
Get list ofCommonAttribute
that contains in mdObject and filter categoriesstatic boolean
isCommonAttributeOwnerClass(org.eclipse.emf.ecore.EClass mdOwnerClass)
Check can common attribute contains in class objectstatic boolean
isDataSeparatableCommonAttributeOwnerClass(org.eclipse.emf.ecore.EClass mdOwnerClass)
Check can common attribute separate this class object data
-
-
-
Method Detail
-
getCommonAttributes
public static List<CommonAttribute> getCommonAttributes(MdObject mdObject, CommonAttributeUtil.CommonAttributeCategory category, CommonAttributeUtil.CommonAttributeUsageCategory usageCategory)
Get list ofCommonAttribute
that contains in mdObject and filter categories- Parameters:
mdObject
-category
-CommonAttributeUtil.CommonAttributeCategory
usageCategory
-CommonAttributeUtil.CommonAttributeUsageCategory
- Returns:
- list of
CommonAttribute
-
isDataSeparatableCommonAttributeOwnerClass
public static boolean isDataSeparatableCommonAttributeOwnerClass(org.eclipse.emf.ecore.EClass mdOwnerClass)
Check can common attribute separate this class object data- Parameters:
mdOwnerClass
-- Returns:
- true can common attribute separate, false not
-
isCommonAttributeOwnerClass
public static boolean isCommonAttributeOwnerClass(org.eclipse.emf.ecore.EClass mdOwnerClass)
Check can common attribute contains in class object- Parameters:
mdOwnerClass
-- Returns:
- true if can, false cannot.
-
-