Interface PropertyValue
- All Superinterfaces:
Comparable<PropertyValue>, Serializable
- All Known Implementing Classes:
PropertyValueImpl
This class is the value of a property of a model element.
- Version:
- 10.1.1
- Author:
- jmback
-
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare with other property value.booleanGet boolean value.Get a short value for display usage.intGet integer value.Get a list of points.<T> List<T> getListValue(Class<T> cls) Get list.Get a list of mapping elements.Get generic value.Get a single point.Get string value.booleanIs the value of boolean type.booleanIs the value of integer type.voidSet the property value.Methods inherited from interface Comparable
compareTo
-
Method Details
-
getStringValue
-
getBooleanValue
boolean getBooleanValue()Get boolean value.- Returns:
- boolean value of the property value
-
isBooleanValue
boolean isBooleanValue()Is the value of boolean type.- Returns:
- true if property value can be interpreted as a boolean
-
getPointValue
-
getListPointValue
-
getObjectValue
-
getListValue
-
getMappingElementList
MappingElementList getMappingElementList()Get a list of mapping elements.- Returns:
- list of mapping elements
-
getIntegerValue
int getIntegerValue()Get integer value.- Returns:
- integer value of the property value
-
isIntegerValue
boolean isIntegerValue()Is the value of integer type.- Returns:
- true if property value can be interpreted as a integer.
-
setValue
-
equals
Compare with other property value.- Parameters:
c- other property value- Returns:
- true, if both property values have the same value.
-
getDisplayValue
String getDisplayValue()Get a short value for display usage. Not necessary showing complete content- Returns:
- short description
-