|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.qtitools.qti.value.NullValue
public class NullValue
Represents NULL value.
This class is not mutable and can contain only NULL value.
Cardinality of this class is always null and BaseType is always null.
Cardinality,
BaseType,
Serialized Form| Constructor Summary | |
|---|---|
NullValue()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
Returns true for any value which is NULL; false otherwise. |
BaseType |
getBaseType()
Returns baseType of this value. |
Cardinality |
getCardinality()
Returns cardinality of this value. |
int |
hashCode()
|
boolean |
isNull()
Returns true if this value is NULL or false otherwise. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NullValue()
| Method Detail |
|---|
public boolean isNull()
Value
isNull in interface Valuepublic Cardinality getCardinality()
ValueIf value is NULL returns null.
getCardinality in interface Valuepublic BaseType getBaseType()
ValueIf value is NULL or record cardinality returns null.
getBaseType in interface Valuepublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectobject - the reference object with which to compare
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||