public class Char
extends java.lang.Object
implements oracle.jbo.domain.DomainInterface, java.io.Serializable, oracle.jbo.domain.KeyAttributeInterface
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 and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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() |
java.lang.String |
getValue()
Return a java.lang.String object with this domain's value.
|
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(oracle.jbo.domain.DomainOwnerInterface owner, oracle.jbo.Transaction trans, java.lang.Object ctx) |
java.lang.Object |
toJdbc() |
java.lang.String |
toString()
Converts
this to a textual representation. |
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()public java.lang.Object getData()
getData in interface oracle.jbo.domain.DomainInterface
public void setContext(oracle.jbo.domain.DomainOwnerInterface owner,
oracle.jbo.Transaction trans,
java.lang.Object ctx)
setContext in interface oracle.jbo.domain.DomainInterfacepublic java.lang.String getValue()
public java.lang.String toString()
this to a textual representation.toString in class java.lang.Objectpublic 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.Objectother - 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.Objectthis.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()
getBytes in interface oracle.jbo.domain.KeyAttributeInterfacepublic void setBytes(byte[] bArr)
setBytes in interface oracle.jbo.domain.KeyAttributeInterface