|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.domain.NullValue
public class NullValue
Provides a means of creating and serializing null Domain objects.
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 Summary | |
---|---|
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. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Tests this for 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 this to string naming a JDBC type. |
int |
getSQLTypeId()
Converts this to 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 this to a string. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.JboTypeMap
Method Detail |
---|
public int getSQLTypeId()
this
to a JDBC type ID.
public java.lang.String getSQLType()
this
to string naming a JDBC type.
JboTypeMap
public java.lang.Object getData()
Converts this
to a JDBC object.
getData
in interface DomainInterface
public void setContext(DomainOwnerInterface owner, Transaction trans, java.lang.Object ctx)
setContext
in interface DomainInterface
public java.lang.String toString()
this
to a string.
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
this
for equality with another object.
equals
in class java.lang.Object
obj
- 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 XMLDomainInterface
allDefs
- 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 XMLDomainInterface
xmlDoc
- name of the XML document in which the node should be created.public Node getSerializedDomainXML(Document xmlDoc)
getSerializedDomainXML
in interface XMLDomainWriter
xmlDoc
- name of the XML document in which the node should be created.public static XMLDomainReaderFactory getXMLDomainFactory(java.lang.Class attrClass)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |