public class GeneratorSequenceImpl extends java.lang.Object implements DomainInterface, java.lang.Comparable
| Constructor and Description | 
|---|
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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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()  | 
public GeneratorSequenceImpl()
public GeneratorSequenceImpl(java.math.BigDecimal rowIdVal)
rowIdVal - public GeneratorSequenceImpl(Number rowIdVal)
rowIdVal - @Restricted public GeneratorSequenceImpl(java.lang.String defaultVal)
defaultVal - @Restricted public java.lang.Object getData()
 RowIdAM  to get the next unique id.getData in interface DomainInterfaceRowIdAMImpl@Restricted 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)