|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.domain.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. |
java.lang.String |
getSQLType()
Converts this to string naming a JDBC type. |
int |
getSQLTypeId()
Converts this to a JDBC type ID. |
int |
hashCode()
Generates a hashcode for NullValue. |
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.
public int hashCode()
public boolean equals(java.lang.Object obj)
this
for equality with another object.
obj
- an arbitrary Object
.
true
if the parameter is either null
,
or a NullValue
of the same Domain type as this
.
|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.