Class PropertyValueImpl
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.property.PropertyValueImpl
- All Implemented Interfaces:
PropertyValue,Serializable,Comparable<PropertyValue>
A property value in Innovator.
- Version:
- 10.1.1
- Author:
- jmback
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyValueImpl(boolean bValue) PropertyValueImpl(int iValue) PropertyValueImpl(long iValue) PropertyValueImpl(Object value) -
Method Summary
Modifier and TypeMethodDescriptionintbooleanequals(PropertyValue other) Compare with other property value.booleanbooleanGet 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.toString()
-
Constructor Details
-
PropertyValueImpl
- Parameters:
value-
-
PropertyValueImpl
public PropertyValueImpl(boolean bValue) -
PropertyValueImpl
public PropertyValueImpl(int iValue) -
PropertyValueImpl
public PropertyValueImpl(long iValue)
-
-
Method Details
-
setValue
Description copied from interface:PropertyValueSet the property value.- Specified by:
setValuein interfacePropertyValue- Parameters:
value- Generic value
-
getStringValue
Description copied from interface:PropertyValueGet string value.- Specified by:
getStringValuein interfacePropertyValue- Returns:
- string value of the property value
-
getBooleanValue
public boolean getBooleanValue()Description copied from interface:PropertyValueGet boolean value.- Specified by:
getBooleanValuein interfacePropertyValue- Returns:
- boolean value of the property value
-
isBooleanValue
public boolean isBooleanValue()Description copied from interface:PropertyValueIs the value of boolean type.- Specified by:
isBooleanValuein interfacePropertyValue- Returns:
- true if property value can be interpreted as a boolean
-
getIntegerValue
public int getIntegerValue()Description copied from interface:PropertyValueGet integer value.- Specified by:
getIntegerValuein interfacePropertyValue- Returns:
- integer value of the property value
-
isIntegerValue
public boolean isIntegerValue()Description copied from interface:PropertyValueIs the value of integer type.- Specified by:
isIntegerValuein interfacePropertyValue- Returns:
- true if property value can be interpreted as a integer.
-
getPointValue
Description copied from interface:PropertyValueGet a single point.- Specified by:
getPointValuein interfacePropertyValue- Returns:
- Point
-
getListPointValue
Description copied from interface:PropertyValueGet a list of points.- Specified by:
getListPointValuein interfacePropertyValue- Returns:
- List of Points
-
getListValue
Description copied from interface:PropertyValueGet list.- Specified by:
getListValuein interfacePropertyValue- Type Parameters:
T-- Parameters:
cls- Class of list elements- Returns:
- object value of the property value
-
getObjectValue
Description copied from interface:PropertyValueGet generic value.- Specified by:
getObjectValuein interfacePropertyValue- Returns:
- object value of the property value
-
equals
-
equals
Description copied from interface:PropertyValueCompare with other property value.- Specified by:
equalsin interfacePropertyValue- Parameters:
other- other property value- Returns:
- true, if both property values have the same value.
-
toString
-
getDisplayValue
Description copied from interface:PropertyValueGet a short value for display usage. Not necessary showing complete content- Specified by:
getDisplayValuein interfacePropertyValue- Returns:
- short description
-
getMappingElementList
Description copied from interface:PropertyValueGet a list of mapping elements.- Specified by:
getMappingElementListin interfacePropertyValue- Returns:
- list of mapping elements
-
compareTo
- Specified by:
compareToin interfaceComparable<PropertyValue>
-