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

E17060-01

oracle.odi.domain.topology.finder
Interface IOdiContextualSchemaMappingFinder

All Superinterfaces:
IFinder

public interface IOdiContextualSchemaMappingFinder
extends IFinder

Finder interface for OdiContextualSchemaMapping entity.

Since:
11.1.1.3.0

Method Summary
 java.util.Collection<OdiContextualSchemaMapping> findByContext(java.lang.String pContextCode)
          Finds all OdiContextualSchemaMappings that are defined within the given context code.
 java.util.Collection<OdiContextualSchemaMapping> findByLogicalSchema(java.lang.String pLogicalSchemaName)
          Finds all OdiContextualSchemaMappings that are defined for the given logical schema name.
 OdiContextualSchemaMapping findByLogicalSchema(java.lang.String pLSchemaName, java.lang.String pCtxCode)
          Finds an OdiContextualSchemaMapping that is defined for the given context code and logical schema name.
 java.util.Collection<OdiContextualSchemaMapping> findByPhysicalSchema(java.lang.Number pPhysicalSchemaId)
          Finds all OdiContextualSchemaMappings that are defined for the given physical schema id.
 
Methods inherited from interface oracle.odi.domain.finder.IFinder
findAll, findById, findByIds
 

Method Detail

findByContext

java.util.Collection<OdiContextualSchemaMapping> findByContext(java.lang.String pContextCode)
Finds all OdiContextualSchemaMappings that are defined within the given context code.

Note that if no OdiContext exists with the given code, this method will return a collection with no elements. It will not fail.

Parameters:
pContextCode - context's code
Returns:
collection of defined OdiContextualSchemaMappings

findByLogicalSchema

java.util.Collection<OdiContextualSchemaMapping> findByLogicalSchema(java.lang.String pLogicalSchemaName)
Finds all OdiContextualSchemaMappings that are defined for the given logical schema name.

Note that if no OdiLogicalSchema exists with the given name, this method will return a collection with no elements. It will not fail.

Parameters:
pLogicalSchemaName - logical schema's name
Returns:
collection of defined OdiContextualSchemaMappings

findByLogicalSchema

OdiContextualSchemaMapping findByLogicalSchema(java.lang.String pLSchemaName,
                                               java.lang.String pCtxCode)
Finds an OdiContextualSchemaMapping that is defined for the given context code and logical schema name. This is a convenient method to find an OdiContextualSchemaMapping using context code and logical schema name, in place of true ID (i.e. contextId, logicalSchemaId).

Note that if no OdiLogicalSchema exists with the given name and/or no OdiContext exists with the given code this method will return null. It will not fail.

Parameters:
pLSchemaName - logical schema's name
pCtxCode - context's code
Returns:
OdiContextualSchemaMapping instance

findByPhysicalSchema

java.util.Collection<OdiContextualSchemaMapping> findByPhysicalSchema(java.lang.Number pPhysicalSchemaId)
Finds all OdiContextualSchemaMappings that are defined for the given physical schema id.

Note that if no OdiPhysicalSchema exists with the given id, this method will return a collection with no elements. It will not fail.

Parameters:
pPhysicalSchemaId - physical schema's ID
Returns:
collection of defined OdiContextualSchemaMappings

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.