|
Business Components | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | 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()
Converts this to a JDBC object. |
java.lang.String |
getSQLType()
Converts this to string naming a JDBC type. |
int |
getSQLTypeId()
Converts this to a JDBC type ID. |
void |
setContext(DomainOwnerInterface owner,
Transaction trans,
java.lang.Object ctx)
|
java.lang.String |
toString()
Converts this to a string. |
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
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)
sqlTypeID - an string representing a JDBC type.JboTypeMap| Method Detail |
public int getSQLTypeId()
this to a JDBC type ID.java.sql.TYPESpublic java.lang.String getSQLType()
this to string naming a JDBC type.JboTypeMappublic java.lang.Object getData()
this to a JDBC object.
public void setContext(DomainOwnerInterface owner,
Transaction trans,
java.lang.Object ctx)
public java.lang.String toString()
this to a string.public boolean equals(java.lang.Object obj)
this for equality with another object.other - an arbitrary Object.true if the parameter is either null,
or a NullValue of the same Domain type as this.
|
Business Components | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||