Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

oracle.odi.domain.runtime.sequence
Class OdiStandardSequenceValue

java.lang.Object
  extended by oracle.odi.domain.support.BusinessObject
      extended by oracle.odi.domain.support.AbstractRepositoryEntity
          extended by oracle.odi.domain.support.AbstractOdiEntity
              extended by oracle.odi.domain.runtime.sequence.OdiStandardSequenceValue
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, IOdiEntity, IRepositoryEntity

public class OdiStandardSequenceValue
extends oracle.odi.domain.support.AbstractOdiEntity

OdiStandardSequenceValue class represents current value of ODI sequences of SequenceType.STANDARD type.

Note: methods getFirstDate(), getLastDate(), getFirstUser(), getLastUser() are not relevant for this class and must not be used.

Since:
11.1.1.3.0
See Also:
SequenceType, Serialized Form

Field Summary
 
Fields inherited from class oracle.odi.domain.support.AbstractOdiEntity
STARTING_INTERNAL_VERSION
 
Constructor Summary
OdiStandardSequenceValue()
           
 
Method Summary
 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.
 
Methods inherited from class oracle.odi.domain.support.AbstractOdiEntity
equals, getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, hashCode, isInstanceLevelSecurityNeeded, isNew, toString
 
Methods inherited from class oracle.odi.domain.support.BusinessObject
clone
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OdiStandardSequenceValue

public OdiStandardSequenceValue()
Method Detail

getContextCode

public java.lang.String getContextCode()
Returns context's code this sequence's value belogs to.

Returns:
context's code

getInternalId

public java.io.Serializable getInternalId()
Description copied from interface: IRepositoryEntity
Provides a common getter for the persistence layer to obtain an identity, irrespective of the actual type of identity used.

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.

Returns:
the persistence identity of this instance

getName

public java.lang.String getName()
Returns the name of the sequence.

Specified by:
getName in interface IOdiEntity
Overrides:
getName in class oracle.odi.domain.support.AbstractOdiEntity
Returns:
sequence's name

getSecurityContainer

public IRepositoryEntity getSecurityContainer()
Description copied from interface: IRepositoryEntity
Define a generic way to retrieve container for entities.

Returns:
container entity

getValue

public long getValue()
Returns current value of this sequence.

Returns:
value
See Also:
setValue(long)

setValue

public void setValue(long pValue)
Used to modify this sequence current value.

Parameters:
pValue - new value for this sequence
See Also:
getValue()

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

Copyright © 2010, Oracle and/or its affiliates. All rights reserved.