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 FormConstructor 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.
|
IRepositoryEntity |
getSecurityContainer()
Define a generic way to retrieve container for entities.
|
long |
getValue()
Returns current value of this sequence.
|
void |
setValue(long pValue)
Used to modify this sequence current value.
|
equals, getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, hashCode, isInstanceLevelSecurityNeeded, isNew, toString
getGlobalId, getNumericId, hasCustomizedPersistenceMethodFor, invokeCustomizedPersistenceMethodFor
getGlobalId
public java.lang.String getName()
getName
in interface IOdiEntity
getName
in class oracle.odi.domain.support.AbstractOdiEntity
public 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.
public IRepositoryEntity getSecurityContainer()
IRepositoryEntity