|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.jbo.server.uniqueid.GeneratorSequenceImpl
public class GeneratorSequenceImpl
This class generates a unique id for the entity attribute. When an attribute is assigned this type, it will get a unique id at runtime.
| Constructor Summary | |
|---|---|
GeneratorSequenceImpl()Default constructor |
|
GeneratorSequenceImpl(java.math.BigDecimal rowIdVal)This constructor is invoked when displaying the data from a query |
|
GeneratorSequenceImpl(Number rowIdVal)This constructor is invoked when creating a row during delete operation. |
|
GeneratorSequenceImpl(java.lang.String defaultVal)This constructor is invoked when creating the instance with the default value passed. |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object rowId)comparing two row ids if both objects are null, then returns 0 if only current object is null, then returns -1 if only compared to object is null, then returns 1 if not any of the above, then invokes BigDecimal.compareTo() |
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
getData()This method is invoked on the DomainInterface to get the data for the attribute of type GeneratorSequenceImpl. |
void |
setContext(DomainOwnerInterface owner, Transaction trans, java.lang.Object ctx)sets the DBTransaction to be used to create RowIdAM |
java.lang.String |
toString() |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GeneratorSequenceImpl()
public GeneratorSequenceImpl(java.math.BigDecimal rowIdVal)
rowIdVal -public GeneratorSequenceImpl(Number rowIdVal)
rowIdVal -public GeneratorSequenceImpl(java.lang.String defaultVal)
defaultVal -| Method Detail |
|---|
public java.lang.Object getData()
RowIdAM to get the next unique id.getData in interface DomainInterfaceRowIdAMImpl
public void setContext(DomainOwnerInterface owner,
Transaction trans,
java.lang.Object ctx)
setContext in interface DomainInterfacepublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int compareTo(java.lang.Object rowId)
compareTo in interface java.lang.ComparablerowId - object that needs to be compared toBigDecimal.compareTo(Object)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||