public class Value
extends java.lang.Object
Constructor and Description |
---|
Value()
Default Constructor.
|
Value(ESPK r)
Constructor to set the reference component of this value
|
Value(java.lang.String d)
Constructor to set the String component of the value
|
Modifier and Type | Method and Description |
---|---|
Value |
cloneValue() |
boolean |
equals(java.lang.Object val)
Returns true if two Value objects are equal.
|
java.lang.String |
getData()
Get the intrinsic value of the Value object as a data value
|
ESPK |
getRef()
Get the intrinsic value of the Value object as a reference
|
int |
hashCode()
Hashcode of the underlying String or ESPK depending on type of Value.
|
boolean |
hasValue()
Determine if this Value has at least one underlying data value set.
|
boolean |
isNull()
A null value is one whose data and value are both unset
|
java.lang.String |
toString()
Convienence method for debugging
|
public Value()
public Value(java.lang.String d)
d
- The data to store in this Value objectpublic Value(ESPK r)
r
- The reference to store in this Value objectpublic Value cloneValue()
public final ESPK getRef()
public final java.lang.String getData()
public final boolean equals(java.lang.Object val)
equals
in class java.lang.Object
val
- The other Value to compare topublic boolean isNull()
public boolean hasValue()
public final java.lang.String toString()
toString
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel