public class NullValue extends java.lang.Object implements DomainInterface, XMLDomainWriter, java.io.Serializable
The zero-parameter constructors for each Domain type produce default objects, rather than null objects. Use the constructors for this class to produce typed null Domain objects.
| Constructor and Description | 
|---|
| NullValue()Creates a default null Domain object, of type  VARCHAR. | 
| NullValue(int sqlTypeId)Creates a null value for a specified Domain type. | 
| NullValue(java.lang.String sqlType)Creates a null value for a specified Domain type. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj)Tests  thisfor equality with another object. | 
| java.lang.Object | getData()Internal: Applications should not invoke this method. | 
| Node | getSerializedDomainXML(Document xmlDoc)Creates the xml node in the given xml document for this domain's data in hex format of the byte[]
 representation of the data. | 
| java.lang.String | getSQLType()Converts  thisto string naming a JDBC type. | 
| int | getSQLTypeId()Converts  thisto a JDBC type ID. | 
| Node | getXMLContentNode(Document xmlDoc)Creates the xml node in the given xml document for this domain's data. | 
| static XMLDomainReaderFactory | getXMLDomainFactory(java.lang.Class attrClass)Internal: Applications should not use this method. | 
| int | hashCode()Generates a hashcode for NullValue. | 
| java.lang.String | printXMLDefinition(java.util.Hashtable allDefs,
                  java.io.PrintWriter pw,
                  boolean bContainees)Prints the DTD info for this domain in the given print writer. | 
| void | setContext(DomainOwnerInterface owner,
          Transaction trans,
          java.lang.Object ctx)Internal: Applications should not invoke this method. | 
| java.lang.String | toString()For testing purposes only: converts  thisto a string. | 
public NullValue()
VARCHAR.public NullValue(int sqlTypeId)
sqlTypeId - an integer representing a JDBC type.public NullValue(java.lang.String sqlType)
sqlType - an string representing a JDBC type.JboTypeMappublic int getSQLTypeId()
this to a JDBC type ID.public java.lang.String getSQLType()
this to string naming a JDBC type.JboTypeMappublic java.lang.Object getData()
 Converts this to a JDBC object.
getData in interface DomainInterfacepublic void setContext(DomainOwnerInterface owner, Transaction trans, java.lang.Object ctx)
setContext in interface DomainInterfacepublic java.lang.String toString()
this to a string.toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
this for equality with another object.equals in class java.lang.Objectobj - an arbitrary Object.true if the parameter is either null,
 or a NullValue of the same Domain type as this.public java.lang.String printXMLDefinition(java.util.Hashtable allDefs,
                                  java.io.PrintWriter pw,
                                  boolean bContainees)
The allDefs hashtable contains predefined XML definitions and is passed by whatever calls this method.
printXMLDefinition in interface XMLDomainInterfaceallDefs - a hashtable of predefined XML definitions passed from whatever
 calls this method.pw - print writer into which the defnition is being printed.bContainees - if true, prints definitions of contained objects.public Node getXMLContentNode(Document xmlDoc)
getXMLContentNode in interface XMLDomainInterfacexmlDoc - name of the XML document in which the node should be created.public Node getSerializedDomainXML(Document xmlDoc)
getSerializedDomainXML in interface XMLDomainWriterxmlDoc - name of the XML document in which the node should be created.public static XMLDomainReaderFactory getXMLDomainFactory(java.lang.Class attrClass)