Package com.cumulocity.model.util
Class Classes
java.lang.Object
com.cumulocity.model.util.Classes
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisSimpleProperty(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 booleanisSimpleValueType(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 Details
-
isSimpleProperty
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
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
-