|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.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 DomainInterface
RowIdAMImpl
public void setContext(DomainOwnerInterface owner, Transaction trans, java.lang.Object ctx)
setContext
in interface DomainInterface
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(java.lang.Object rowId)
compareTo
in interface java.lang.Comparable
rowId
- object that needs to be compared to
BigDecimal.compareTo(Object)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |