|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quattor.pan.dml.data.Element
org.quattor.pan.dml.data.TransientElement
org.quattor.pan.dml.data.Null
@Immutable public class Null
Represents a null value in the pan language.
| Field Summary | |
|---|---|
static Null |
VALUE
|
| Method Summary | |
|---|---|
void |
checkValidReplacement(Element newValue)
Check that the newValue is a valid replacement for the this value. |
boolean |
equals(java.lang.Object o)
Require that all Elements implement an equals method. |
static Null |
getInstance()
|
java.lang.String |
getTypeAsString()
All Elements must return a string describing its type. |
int |
hashCode()
Require that all Elements implement the hashCode method. |
java.lang.String |
locateUndefinedElement()
Determine if the element contains any undefined (transient) elements. |
java.lang.Object |
readResolve()
|
java.lang.String |
toString()
Require that all Elements implement a reasonable toString method. |
| Methods inherited from class org.quattor.pan.dml.data.Element |
|---|
checkInvalidSelfContext, checkRange, checkRestrictedContext, defined, duplicate, execute, exists, isBoolean, isDouble, isList, isLong, isNlist, isPersistent, isProperty, isProtected, isResource, isString, isTransient, protect, rget, rgetList, rput, writableCopy |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Null VALUE
| Method Detail |
|---|
public java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionpublic static Null getInstance()
public java.lang.String locateUndefinedElement()
Element
locateUndefinedElement in class Element
public void checkValidReplacement(Element newValue)
throws EvaluationException
Element
checkValidReplacement in class ElementnewValue - the new value for the replacement
EvaluationException - if the new value is not a valid replacement of the existing
valuepublic java.lang.String getTypeAsString()
Element
getTypeAsString in class Elementpublic int hashCode()
Element
hashCode in class Elementpublic boolean equals(java.lang.Object o)
Element
equals in class Elementpublic java.lang.String toString()
Element
toString in class Element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||