MetaDone
|
Public Member Functions | |
Value (Object value) | |
Object | getValue () |
boolean | getValueAsBoolean () throws BadPreCondition |
char | getValueAsChar () throws BadPreCondition |
long | getValueAsInteger () throws BadPreCondition |
double | getValueAsFloat () throws BadPreCondition |
String | getValueAsString () throws BadPreCondition |
Exception | getValueAsException () throws BadPreCondition |
Collection<?extends ConcreteObject > | getValueAsCO () throws BadPreCondition |
int | hashCode () |
boolean | equals (Object obj) |
String | toString () |
Private Attributes | |
final Object | value |
A value.
metadone.client.grasyla2.value.Value.Value | ( | Object | value | ) |
Initializes this value.
value | The value |
References metadone.client.grasyla2.value.Value.value.
boolean metadone.client.grasyla2.value.Value.equals | ( | Object | obj | ) |
Object metadone.client.grasyla2.value.Value.getValue | ( | ) |
Gets the value.
References metadone.client.grasyla2.value.Value.value.
Referenced by metadone.client.grasyla2.value.GrasylaEngineAdaptorFromValue< T >.adapt().
boolean metadone.client.grasyla2.value.Value.getValueAsBoolean | ( | ) | throws BadPreCondition |
Gets the value as a boolean.
BadPreCondition | when the value couldn't be converted |
References metadone.util.ClassUtil.convert(), and metadone.client.grasyla2.value.Value.value.
char metadone.client.grasyla2.value.Value.getValueAsChar | ( | ) | throws BadPreCondition |
Gets the value as a character.
BadPreCondition | when the value couldn't be converted |
References metadone.util.ClassUtil.convert(), and metadone.client.grasyla2.value.Value.value.
Collection<? extends ConcreteObject> metadone.client.grasyla2.value.Value.getValueAsCO | ( | ) | throws BadPreCondition |
Gets the value as a collection of ConcreteObject.
BadPreCondition | when the value couldn't be converted |
References metadone.util.IteratorUtil.map(), metadone.metabusiness.WorkspaceObject.narrow(), metadone.util.IteratorUtil.readInto(), and metadone.client.grasyla2.value.Value.value.
Referenced by metadone.client.grasyla2.value.GrasylaEngineAdaptorFromValue< T >.adapt(), and metadone.client.grasyla2.swing.JAdaptValue.adapt().
Exception metadone.client.grasyla2.value.Value.getValueAsException | ( | ) | throws BadPreCondition |
Gets the value as an exception.
BadPreCondition | when the value couldn't be converted |
References metadone.util.Objects.cast(), and metadone.client.grasyla2.value.Value.value.
Referenced by metadone.client.grasyla2.value.GrasylaEngineAdaptorFromValue< T >.adapt().
double metadone.client.grasyla2.value.Value.getValueAsFloat | ( | ) | throws BadPreCondition |
Gets the value as a floating-point number.
BadPreCondition | when the value couldn't be converted |
References metadone.util.ClassUtil.convert(), and metadone.client.grasyla2.value.Value.value.
long metadone.client.grasyla2.value.Value.getValueAsInteger | ( | ) | throws BadPreCondition |
Gets the value as an integer.
BadPreCondition | when the value couldn't be converted |
References metadone.util.ClassUtil.convert(), and metadone.client.grasyla2.value.Value.value.
String metadone.client.grasyla2.value.Value.getValueAsString | ( | ) | throws BadPreCondition |
Gets the value as a string.
BadPreCondition | when the value couldn't be converted |
References metadone.client.grasyla2.value.Value.value.
Referenced by metadone.client.grasyla2.swing.JAdaptValue.adapt().
int metadone.client.grasyla2.value.Value.hashCode | ( | ) |
References metadone.util.Objects.hashCode().
String metadone.client.grasyla2.value.Value.toString | ( | ) |
final Object metadone.client.grasyla2.value.Value.value [private] |
Referenced by metadone.client.grasyla2.value.Value.equals(), metadone.client.grasyla2.value.Value.getValue(), metadone.client.grasyla2.value.Value.getValueAsBoolean(), metadone.client.grasyla2.value.Value.getValueAsChar(), metadone.client.grasyla2.value.Value.getValueAsCO(), metadone.client.grasyla2.value.Value.getValueAsException(), metadone.client.grasyla2.value.Value.getValueAsFloat(), metadone.client.grasyla2.value.Value.getValueAsInteger(), metadone.client.grasyla2.value.Value.getValueAsString(), and metadone.client.grasyla2.value.Value.Value().