|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.domain.DBSequence
public class DBSequence
Field Summary | |
---|---|
static java.lang.Class |
CLASS_INSTANCE
|
static java.lang.String |
CLASS_INSTANCE_NAME
|
Constructor Summary | |
---|---|
DBSequence()
Internal: Applications should not use this constructor. |
|
DBSequence(DBSequence seq)
Internal: Applications should not invoke this method. |
|
DBSequence(java.lang.Integer num)
Create an instance of DBSequence with the given number as its value. |
|
DBSequence(long num)
|
|
DBSequence(java.lang.Long num)
Create an instance of DBSequence with the given number as its value. |
|
DBSequence(Number num)
Create an instance of DBSequence with the given number as its value. |
|
DBSequence(SequenceImpl seq)
|
|
DBSequence(java.lang.String numberString)
Internal: Applications should not invoke this method. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object another)
Answers an integer indicating the relative positions of the receiver and the argument in the natural order of elements of the receiver's class. |
boolean |
equals(java.lang.Object other)
Test if the specified value is equal to this Sequence object. |
java.lang.Object |
getData()
Internal: Applications should not invoke this method. |
java.lang.Object |
getNativeObject()
|
Number |
getSequenceNumber()
Returns the value of this Sequence as an oracle.jbo.domain.Number |
long |
getValue()
Return this domain's value as long. |
int |
hashCode()
Computes a hash code for this Sequence object. |
void |
setContext(DomainOwnerInterface owner,
Transaction trans,
java.lang.Object ctx)
Internal: Applications should not use this method. |
java.lang.String |
toString()
For testing purposes only: Returns a string representation of the generated sequence value. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Class CLASS_INSTANCE
public static final java.lang.String CLASS_INSTANCE_NAME
Constructor Detail |
---|
public DBSequence(java.lang.Long num)
public DBSequence(long num)
public DBSequence(java.lang.String numberString)
Called from AttributeDef for default values only.
public DBSequence(DBSequence seq)
public DBSequence(SequenceImpl seq)
public DBSequence()
public DBSequence(Number num)
public DBSequence(java.lang.Integer num)
Method Detail |
---|
public long getValue()
public java.lang.String toString()
toString
in class java.lang.Object
public Number getSequenceNumber()
public boolean equals(java.lang.Object other)
this
Sequence object.
equals
in class java.lang.Object
other
- The object to which the Sequence should be compared.
this
Sequence.public int hashCode()
this
Sequence object.
hashCode
in class java.lang.Object
this
Sequence object.public java.lang.Object getNativeObject()
getNativeObject
in interface NativeTypeDomainInterface
public java.lang.Object getData()
getData
in interface DomainInterface
public void setContext(DomainOwnerInterface owner, Transaction trans, java.lang.Object ctx)
DomainInterface
setContext
in interface DomainInterface
public int compareTo(java.lang.Object another)
Comparable
compareTo
in interface Comparable
another
- Object an object to compare the receiver to
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |