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

E17060-01

oracle.odi.domain.topology
Class OdiContextualSchemaMapping

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.OdiContextualSchemaMapping
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, IMasterOdiEntity, IOdiEntity, IRepositoryEntity

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

Schema mapping between physical schema and logical schema applying for an ODI context.

Since:
11.1.1.3.0
See Also:
Serialized Form

Nested Class Summary
static class OdiContextualSchemaMapping.OdiContextualSchemaMappingId
          Implements the composite key for OdiContextualSchemaMapping.
 
Field Summary
 
Fields inherited from class oracle.odi.domain.support.AbstractOdiEntity
STARTING_INTERNAL_VERSION
 
Constructor Summary
OdiContextualSchemaMapping(OdiContext pContext, OdiLogicalSchema pLSchema, OdiPhysicalSchema pPSchema)
          Construct a new OdiContextualSchemaMapping that maps together the given logical and physical schemas for the specified context.
 
Method Summary
 OdiContext getContext()
          Returns the Context of this association.
 java.io.Serializable getInternalId()
          Obtains the internal id of this object that is an instance of OdiContextualSchemaMapping.OdiContextualSchemaMappingId.
 OdiLogicalSchema getLogicalSchema()
          Returns the Logical Schema of this association.
 OdiPhysicalSchema getPhysicalSchema()
          Returns the Physical Schema of this association.
 IRepositoryEntity getSecurityContainer()
          Define a generic way to retrieve container for entities.
 void setPhysicalSchema(OdiPhysicalSchema pPhysicalSchema)
          Sets the Physical Schema of this association.
 
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

OdiContextualSchemaMapping

public OdiContextualSchemaMapping(OdiContext pContext,
                                  OdiLogicalSchema pLSchema,
                                  OdiPhysicalSchema pPSchema)
Construct a new OdiContextualSchemaMapping that maps together the given logical and physical schemas for the specified context.

Parameters:
pContext - the context that hold the mapping
pLSchema - the logical schema to map
pPSchema - the physical schema to map
Method Detail

getContext

public OdiContext getContext()
Returns the Context of this association.

Returns:
context

getInternalId

public java.io.Serializable getInternalId()
Obtains the internal id of this object that is an instance of OdiContextualSchemaMapping.OdiContextualSchemaMappingId.

Specified by:
getInternalId in interface IRepositoryEntity
Returns:
the persistence identity of this instance
See Also:
IRepositoryEntity.getInternalId()

getLogicalSchema

public OdiLogicalSchema getLogicalSchema()
Returns the Logical Schema of this association.

Returns:
logical schema

getPhysicalSchema

public OdiPhysicalSchema getPhysicalSchema()
Returns the Physical Schema of this association.

Returns:
physical schema
See Also:
setPhysicalSchema(OdiPhysicalSchema)

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

setPhysicalSchema

public void setPhysicalSchema(OdiPhysicalSchema pPhysicalSchema)
Sets the Physical Schema of this association.

Parameters:
pPhysicalSchema - physical schema
Throws:
java.lang.IllegalArgumentException - if Physical schema is null
See Also:
getPhysicalSchema()

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.