Class TypedObjectRuleUtils
- java.lang.Object
-
- com._1c.g5.v8.dt.ui.aef.definitions.rules.TypedObjectRuleUtils
-
public final class TypedObjectRuleUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description TypedObjectRuleUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
containsAnyCategory(TypeDescription typeDescription, String... categories)
Checks type description contains type from one of categories.static boolean
containsAnyType(TypeDescription typeDescription, String... types)
Checks type description contains one of the types.static boolean
containsRefType(TypeDescription typeDescription)
Check type is ref.static boolean
isCompositeType(TypeDescription typeDescription)
Check the type is composite.
-
-
-
Method Detail
-
isCompositeType
public static boolean isCompositeType(TypeDescription typeDescription)
Check the type is composite.- Parameters:
typeDescription
- the type description- Returns:
true
if type is composite,false
otherwise.
-
containsAnyType
public static boolean containsAnyType(TypeDescription typeDescription, String... types)
Checks type description contains one of the types.- Parameters:
typeDescription
- the type descriptiontypes
- Ńollection verifiable type names- Returns:
true
if type contains one of the types,false
otherwise.
-
containsAnyCategory
public static boolean containsAnyCategory(TypeDescription typeDescription, String... categories)
Checks type description contains type from one of categories.- Parameters:
typeDescription
- the type descriptioncategories
- verifiable category names- Returns:
true
if type contains one of the categories,false
otherwise.
-
containsRefType
public static boolean containsRefType(TypeDescription typeDescription)
Check type is ref.- Parameters:
typeDescription
- the type description- Returns:
true
if type is ref,false
otherwise.
-
-