|
Vordel SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.vordel.es.Value
public class Value
A Value can represent either a data value (in the form of a String), or a
reference to some Entity (in the form of an ESPK).
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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 object| Method Detail |
|---|
public 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.Objectval - The other Value to compare to
public boolean isNull()
public boolean hasValue()
public final java.lang.String toString()
toString in class java.lang.Objectpublic final int hashCode()
hashCode in class java.lang.Object
|
Vordel SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||