|
Oracle9i Business Components for Java Generic Domains API Reference Oracle9i Jdeveloper (9.0.4) B10393-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.jbo.domain.Char
This class provides a lightweight wrapper for java.lang.Sting
, the native Java type for Char objects. This wrapper allows an instance of the java.lang.String
to be used as a domain object. The intent of many of the methods in this class is to wrap the corresponding method in the java.lang.String
class such that it returns an instance of an oracle.jbo.domain.Char object.
Constructor Summary | |
Char() Creates a default Char Domain object, representing the time now. | |
Char(Char value) Creates a Char identical to an existing Char . | |
Char(java.lang.Object value) Creates a Char Domain object from a java Object . | |
Char(java.lang.String value) Creates a Char Domain object from a java String . |
Method Summary | |
java.math.BigDecimal |
bigDecimalValue() Calls CHAR.bigDecimalValue() to convert this object into a Java BigDecimal. |
java.math.BigInteger |
bigIntegerValue() Converts this data object into a BigInteger. |
boolean |
booleanValue() Converts this data object into a boolean. |
double |
doubleValue() Converts this data object into a double. |
boolean |
equals(java.lang.Object other) Tests this for equality with another object. |
float |
floatValue() Converts this data object into a float. |
byte[] |
getBytes() |
java.lang.Object |
getData() |
int |
hashCode() Computes a hash code for this . |
int |
intValue() Convert this data object into a int. |
long |
longValue() Converts this data object into a long. |
void |
setBytes(byte[] bArr) |
void |
setContext(DomainOwnerInterface owner, Transaction trans, java.lang.Object ctx) |
java.lang.Object |
toJdbc() |
java.lang.String |
toString() Converts this to a textual representation. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Char()
Char
Domain object, representing the time now.public Char(Char value)
Char
identical to an existing Char
.value
- a Char
Domain object.public Char(java.lang.String value)
Char
Domain object from a java String
.value
- a String
object.public Char(java.lang.Object value)
Char
Domain object from a java Object
.value
- an Object
that is convertible to String using toString()Method Detail |
public java.lang.Object getData()
public void setContext(DomainOwnerInterface owner, Transaction trans, java.lang.Object ctx)
public java.lang.String toString()
this
to a textual representation.toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
this
for equality with another object. The argument is cast to a Char
object, if possible.equals
in class java.lang.Object
other
- an arbitrary Object
.true
if conversion was successful and the converted argument is identical to this
.public int hashCode()
this
.hashCode
in class java.lang.Object
this
.public int intValue()
public long longValue()
public float floatValue()
public double doubleValue()
public java.math.BigInteger bigIntegerValue()
public boolean booleanValue()
public java.math.BigDecimal bigDecimalValue()
public java.lang.Object toJdbc()
public byte[] getBytes()
public void setBytes(byte[] bArr)
|
Oracle9i Business Components for Java Generic Domains API Reference Oracle9i Jdeveloper (9.0.4) B10393-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2003, Oracle. All rights reserved.