Skip navigation links

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

E17060-04


oracle.odi.domain.runtime.session
Class OdiSessionSequence

java.lang.Object
  extended by oracle.odi.domain.support.BusinessObject
      extended by oracle.odi.domain.support.AbstractRepositoryEntity
          extended by oracle.odi.domain.runtime.session.OdiSessionSequence

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, IRepositoryEntity

public class OdiSessionSequence
extends oracle.odi.domain.support.AbstractRepositoryEntity

Defines a sequence inside an OdiSession and is part of the session aggregate.

An OdiSessionSequence is created during session creation process. It will be destroyed when the session it belongs is removed from runtime repository.

Since:
11.1.1.5
See Also:
Serialized Form

Constructor Summary
OdiSessionSequence()
           

 

Method Summary
 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()
          Gets the name of this sequence.
 IRepositoryEntity getSecurityContainer()
          Define a generic way to retrieve container for entities.
 java.lang.Number getSessionId()
          Returns the ID of session owning this OdiSessionSequence.
 SequenceType getType()
          Gets the type of sequence.

 

Methods inherited from class oracle.odi.domain.support.BusinessObject
clone

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

OdiSessionSequence

public OdiSessionSequence()

Method Detail

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

getSecurityContainer

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

getSessionId

public java.lang.Number getSessionId()
Returns the ID of session owning this OdiSessionSequence.
Returns:
the session ID

getName

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

getType

public SequenceType getType()
Gets the type of sequence.
Returns:
a SequenceType

Skip navigation links

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

E17060-04


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