public interface Value
Modifier and Type | Method and Description |
---|---|
Value |
addAllRelationalTargets(java.util.Collection<java.lang.String> targets) |
Value |
addRelationalTarget(java.lang.String t)
adds a relational target for the object instance named t
|
java.lang.String |
attName() |
java.lang.StringBuilder |
buildStringVal(java.lang.StringBuilder builder) |
Value |
clearRelationTargets()
Removes any relational targets for this attribute
|
Value |
copy()
Creates a deep copy of this value object.
|
java.util.Set<java.lang.String> |
getAllRelationalTargets()
Returns the ordered set of all relational targets of this object.
|
Attribute |
getAttribute() |
boolean |
getBooleanValue()
Returns the boolean value of this attibute.
|
int |
getDiscVal()
Returns the discrete integer value of this Value object
|
double[] |
getDoubleArray()
Returns a double array value
|
int[] |
getIntArray()
Returns an int array value
|
double |
getNumericRepresentation()
Returns a numeric double representation of this value.
|
double |
getRealVal()
Returns the real-valued double value of this Value object
|
java.lang.String |
getStringVal()
Returns the string value of this Value object
|
Value |
removeRelationalTarget(java.lang.String target)
Removes a specific relational target from the relational value in relational attribute.
|
Value |
setValue(boolean v)
Sets the internalvalue representation using a boolean value
|
Value |
setValue(double v)
Sets the internal value representation using a double value
|
Value |
setValue(double[] doubleArray)
Sets the double array value.
|
Value |
setValue(int v)
Sets the internal value representation using an int value
|
Value |
setValue(int[] intArray)
Sets the int array value.
|
Value |
setValue(java.lang.String v)
Sets the internal value representation using a string value
|
boolean |
valueHasBeenSet()
Returns whether the value has been set to a meaningful value.
|
Value copy()
java.lang.String attName()
Attribute getAttribute()
boolean valueHasBeenSet()
Value setValue(int v)
v
- the int value assignmentValue setValue(double v)
v
- the double value assignmentValue setValue(java.lang.String v)
v
- the string value assignmentValue addRelationalTarget(java.lang.String t)
t
- the name of the object instance targetValue addAllRelationalTargets(java.util.Collection<java.lang.String> targets)
Value clearRelationTargets()
Value removeRelationalTarget(java.lang.String target)
target
- the object name identifier to removeValue setValue(boolean v)
v
- the boolean valueValue setValue(int[] intArray)
intArray
- the int array value to set.Value setValue(double[] doubleArray)
doubleArray
- the double array value to set.int getDiscVal()
double getRealVal()
java.lang.String getStringVal()
java.lang.StringBuilder buildStringVal(java.lang.StringBuilder builder)
java.util.Set<java.lang.String> getAllRelationalTargets()
boolean getBooleanValue()
int[] getIntArray()
double[] getDoubleArray()
double getNumericRepresentation()