public class OdiStandardSequenceValue
extends oracle.odi.domain.support.AbstractOdiEntity
SequenceType.STANDARD type.
Note: methods getFirstDate(), getLastDate(), getFirstUser(), getLastUser() are not relevant for this class and must not be used.
SequenceType,
Serialized Form| Constructor and Description |
|---|
OdiStandardSequenceValue() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContextCode()
Returns context's code this sequence's value belogs to.
|
java.io.Serializable |
getInternalId()
Provides a common getter for the persistence layer to obtain an identity,
irrespective of the actual type of identity used.
|
java.lang.String |
getName()
Returns the name of the sequence.
|
long |
getValue()
Returns current value of this sequence.
|
void |
setValue(long pValue)
Used to modify this sequence current value.
|
getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, isInstanceLevelSecurityNeeded, isNew, preCommit, toStringequals, getBigNumericId, getGlobalId, getNumericId, getParent, hashCodegetGlobalId, getParentpublic java.lang.String getName()
getName in interface IOdiEntitygetName in class oracle.odi.domain.support.AbstractOdiEntitypublic java.lang.String getContextCode()
public long getValue()
setValue(long)public void setValue(long pValue)
pValue - new value for this sequencegetValue()public java.io.Serializable getInternalId()
IRepositoryEntity
Typically a subclass will delegate to a public
SomePrimitiveWrapper getId() method. The necessity for the
getInternalId() abstract method is solely because the
persistence layer needs a way of obtaining the identity irrespective of
the actual identity implementation choice.
Returning null from this method will indicate the object has
never been saved. This will likely be relied on by some DAO
implementations.