Package com.cumulocity.model.util
Class Classes
- java.lang.Object
-
- com.cumulocity.model.util.Classes
-
public final class Classes extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isSimpleProperty(Class<?> clazz)
Check if the given type represents a "simple" property: a primitive, a String or other CharSequence, a Number, a Date, a URI, a URL, a Locale, a Class, or a corresponding array.static boolean
isSimpleValueType(Class<?> clazz)
Check if the given type represents a "simple" value type: a primitive, a String or other CharSequence, a Number, a Date, a URI, a URL, a Locale or a Class.
-
-
-
Method Detail
-
isSimpleProperty
public static boolean isSimpleProperty(Class<?> clazz)
Check if the given type represents a "simple" property: a primitive, a String or other CharSequence, a Number, a Date, a URI, a URL, a Locale, a Class, or a corresponding array. Used to determine properties to check for a "simple" dependency-check. Params: clazz – the type to check Returns: whether the given type represents a "simple" property
-
isSimpleValueType
public static boolean isSimpleValueType(Class<?> clazz)
Check if the given type represents a "simple" value type: a primitive, a String or other CharSequence, a Number, a Date, a URI, a URL, a Locale or a Class.- Parameters:
clazz
- the type to check- Returns:
- whether the given type represents a "simple" value type
-
-