public class SequenceImpl extends java.lang.Object implements DomainInterface
SequenceImpl proxy.SequenceImpl| Constructor and Description |
|---|
SequenceImpl() |
SequenceImpl(java.lang.String seqName,
ApplicationModule am)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other)
Test if the specified value is equal to
this SequenceImpl
object. |
java.lang.Object |
getData()
Returns the sequence value that was generated by the database
sequence while constructing the SequenceImpl object.
|
Number |
getSequenceNumber() |
int |
hashCode()
Computes a hash code for
this SequenceImpl 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.
|
public SequenceImpl()
public SequenceImpl(java.lang.String seqName,
ApplicationModule am)
This method will increment the specified database sequence when it is invoked.
seqName - The name of the database sequence that will be used to
generate sequence values.am - The application module instance that will provide the JDBC
connection and the marshalling context for the sequence requests.public java.lang.Object getData()
getData in interface DomainInterfacepublic Number getSequenceNumber()
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 other)
this SequenceImpl
object.equals in class java.lang.Objectother - The object to which the SequenceImpl should be compared.this
SequenceImpl.public int hashCode()
this SequenceImpl object.hashCode in class java.lang.Objectthis SequenceImpl object.