Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

oracle.apps.fnd.applseed.rt.common.mapper
Class SurrogateMapper

java.lang.Object
  extended by oracle.apps.fnd.applseed.rt.common.mapper.Mapper
      extended by oracle.apps.fnd.applseed.rt.common.mapper.SurrogateMapper

public class SurrogateMapper
extends Mapper

This class is a special kind of mapper which derives the value of a surrogate attribute defined on an entity. To do this, we need to have (from the XML) values for all the alternate unique key attributes defined on the entity.


Field Summary
 
Fields inherited from class oracle.apps.fnd.applseed.rt.common.mapper.Mapper
RUN_ORDER_FIRST, RUN_ORDER_LAST, runOrder, srcAttr, srcNode
 
Constructor Summary
SurrogateMapper(SDViewNode node, oracle.jbo.AttributeDef attr)
          Constructor takes in the attribute that needs substitution and the link that identifies that parent child relationship.
 
Method Summary
protected  void resolveInternal(SDDataEntity de)
           
 
Methods inherited from class oracle.apps.fnd.applseed.rt.common.mapper.Mapper
equals, getRunOrder, hashCode, resolve, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SurrogateMapper

public SurrogateMapper(SDViewNode node,
                       oracle.jbo.AttributeDef attr)
Constructor takes in the attribute that needs substitution and the link that identifies that parent child relationship.

Parameters:
attr - attribute to be substituted
Method Detail

resolveInternal

protected void resolveInternal(SDDataEntity de)
                        throws SDMappingException,
                               SDMetaDataException
Specified by:
resolveInternal in class Mapper
Parameters:
de - DataEntity
Throws:
SDMappingException - unable to resolve
SDMetaDataException - Metadata Exception

Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

Copyright © 2011 Oracle. All Rights Reserved.