Package tools.mdsd.characteristics.utils
Class ValueTypeUtils
- java.lang.Object
-
- tools.mdsd.characteristics.utils.ValueTypeUtils
-
public final class ValueTypeUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
adheresToValueType(ValueTypeImpl valueTypeImpl, java.lang.Object instance)
static <P> P
getProperty(ValueType vt, java.lang.Class<P> propertyType)
static boolean
hasProperty(ValueType vt, java.lang.Class<?> propertyType)
static boolean
isInstanceOfDataType(java.lang.Object obj, EDataType dataType)
-
-
-
Method Detail
-
getProperty
public static <P> P getProperty(ValueType vt, java.lang.Class<P> propertyType)
-
isInstanceOfDataType
public static boolean isInstanceOfDataType(java.lang.Object obj, EDataType dataType)
-
adheresToValueType
public static boolean adheresToValueType(ValueTypeImpl valueTypeImpl, java.lang.Object instance)
-
hasProperty
public static boolean hasProperty(ValueType vt, java.lang.Class<?> propertyType)
-
-