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

E17060-01

oracle.odi.interfaces.interactive.support.mapping.persistencepolicy
Class MappingPersistencePolicyDefault

java.lang.Object
  extended by oracle.odi.interfaces.interactive.support.mapping.persistencepolicy.MappingPersistencePolicyDefault
All Implemented Interfaces:
IMappingPersistencePolicy

public class MappingPersistencePolicyDefault
extends java.lang.Object
implements IMappingPersistencePolicy

This is the default implementation for the persistence policy.
All target mappings with an SQL expression are persistent.
All target columns on a temporary target datastore are persisted.
On a "real" target datastore, only target columns that have an SQL expression (either on the target column or either on one of the mappings in one of the datasets) are persisted.


Constructor Summary
MappingPersistencePolicyDefault()
           
 
Method Summary
 boolean shouldBePersisted(TargetColumn pTargetColumn)
          Returns whether the column should be persisted or not.
 boolean shouldBePersisted(TargetMapping pTargetMapping)
          Returns whether the mapping should be persisted or not.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingPersistencePolicyDefault

public MappingPersistencePolicyDefault()
Method Detail

shouldBePersisted

public boolean shouldBePersisted(TargetColumn pTargetColumn)
Description copied from interface: IMappingPersistencePolicy
Returns whether the column should be persisted or not.

Specified by:
shouldBePersisted in interface IMappingPersistencePolicy
Parameters:
pTargetColumn - the target column
Returns:
true if the target column should be persisted

shouldBePersisted

public boolean shouldBePersisted(TargetMapping pTargetMapping)
Description copied from interface: IMappingPersistencePolicy
Returns whether the mapping should be persisted or not.

Specified by:
shouldBePersisted in interface IMappingPersistencePolicy
Parameters:
pTargetMapping - the target mapping
Returns:
true if the mapping should be persisted

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.