Skip navigation links

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

E17060-04


oracle.odi.domain.topology
Class OdiContextualAgentMapping

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.topology.OdiContextualAgentMapping

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

public class OdiContextualAgentMapping
extends oracle.odi.domain.support.AbstractOdiEntity
implements IMasterOdiEntity

Agent mapping between a physical agent and a logical agent applying for an ODI context.

Since:
11.1.1.3.0
See Also:
Serialized Form

Nested Class Summary
static class OdiContextualAgentMapping.OdiContextualAgentMappingId
          Defines the identifier class for OdiContextualAgentMapping class.

 

Field Summary

 

Fields inherited from class oracle.odi.domain.support.AbstractOdiEntity
STARTING_INTERNAL_VERSION

 

Constructor Summary
OdiContextualAgentMapping(OdiContext pContext, OdiLogicalAgent pLogicalAgent, OdiPhysicalAgent pPhysicalAgent)
          Create a new OdiContextualAgentMapping.

 

Method Summary
 OdiContext getContext()
          Obtains the context defined for this OdiContext.
 java.io.Serializable getInternalId()
          Provides a common getter for the persistence layer to obtain an identity, irrespective of the actual type of identity used.
 OdiLogicalAgent getLogicalAgent()
          Obtains the logical agent defined for this OdiContextualAgentMapping.
 OdiPhysicalAgent getPhysicalAgent()
          Obtains physical agent defined for this OdiContextualAgentMapping.
 IRepositoryEntity getSecurityContainer()
          Define a generic way to retrieve container for entities.
 void setPhysicalAgent(OdiPhysicalAgent pPhysicalAgent)
          Defines the physical agent for this OdiContextualAgentMapping.

 

Methods inherited from class oracle.odi.domain.support.AbstractOdiEntity
equals, getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, getName, 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

 

Methods inherited from interface oracle.odi.domain.IOdiEntity
getFirstDate, getFirstUser, getLastDate, getLastUser, getName, isInstanceLevelSecurityNeeded

 

Constructor Detail

OdiContextualAgentMapping

public OdiContextualAgentMapping(OdiContext pContext,
                                 OdiLogicalAgent pLogicalAgent,
                                 OdiPhysicalAgent pPhysicalAgent)
Create a new OdiContextualAgentMapping.
Parameters:
pContext - a context
pLogicalAgent - a logical agent
pPhysicalAgent - a physical agent

Method Detail

getPhysicalAgent

public OdiPhysicalAgent getPhysicalAgent()
Obtains physical agent defined for this OdiContextualAgentMapping.
Returns:
the physical agent
See Also:
setPhysicalAgent(OdiPhysicalAgent)

getLogicalAgent

public OdiLogicalAgent getLogicalAgent()
Obtains the logical agent defined for this OdiContextualAgentMapping.
Returns:
the logical agent

getContext

public OdiContext getContext()
Obtains the context defined for this OdiContext.
Returns:
the context

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.

Specified by:
getInternalId in interface IRepositoryEntity
Returns:
the persistence identity of this instance

setPhysicalAgent

public void setPhysicalAgent(OdiPhysicalAgent pPhysicalAgent)
Defines the physical agent for this OdiContextualAgentMapping.
Parameters:
pPhysicalAgent - the physical agent
See Also:
getPhysicalAgent()

getSecurityContainer

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

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.