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

E22564-02

oracle.apps.fnd.applseed.rt.loader.core
Class SDCompositeDataEntity

java.lang.Object
  extended by oracle.apps.fnd.applseed.rt.loader.core.SDDataEntity
      extended by oracle.apps.fnd.applseed.rt.loader.core.SDCompositeDataEntity

public class SDCompositeDataEntity
extends SDDataEntity

This class represents a logical record that would get persisted in the database as multiple physical records. Each such physical record is modelled as an SDDataEntity instance within an instance of this class. Currently, Date Effectivity is the main use case for this kind of data entity.

Since:
Drop 7
Version:
$Header: atgpf/applseed/src/java/oracle/apps/fnd/applseed/rt/loader/core/SDCompositeDataEntity.java /main/9 2009/08/18 08:36:15 mujoshi Exp $
Author:
sjanarth

Field Summary
 
Fields inherited from class oracle.apps.fnd.applseed.rt.loader.core.SDDataEntity
DATAENTITY_PROPERTY_CHECKSUM, DATAENTITY_PROPERTY_CUSTMATCH, DATAENTITY_PROPERTY_CUSTMATCH_ROW, DATAENTITY_PROPERTY_CUSTMATCH_WITHOUT_ESD, DATAENTITY_PROPERTY_ROW, DATAENTITY_PROPERTY_ROWKEY, DATAENTITY_PROPERTY_ROWVER, mAttributes, mChildren, mName, mParent, mProperties, mReferences, mResolved, mViewNode
 
Constructor Summary
SDCompositeDataEntity(java.lang.String name, SDLoaderViewNode viewNode, java.util.Map<java.lang.String,java.lang.String> props)
          Constructs a composite data entity.
 
Method Summary
 void addEntityToGroup(SDDataEntity de)
           
 java.util.List<SDDataEntity> getAllEntities()
           
 java.lang.String getEffEndAttributeName()
           
 java.lang.String getEffSeqAttributeName()
           
 java.lang.String getEffSeqFlagAttributeName()
           
 java.lang.String getEffStartAttributeName()
           
 java.lang.Object getLogicalEndDate()
           
 java.lang.Object getLogicalStartDate()
           
 java.lang.String getSysEffDateAttributeName()
           
 boolean isLastInGroupRead()
           
 void setCurrent(int index)
           
 void setLastInGroupAsRead(boolean read)
           
 void setParent(SDDataEntity parent)
           
 java.lang.String toShortString()
           
 java.lang.String toString()
           
 
Methods inherited from class oracle.apps.fnd.applseed.rt.loader.core.SDDataEntity
addAttribute, addChild, addReferenceAttribute, copyFrom, getAllAttributes, getAttribute, getChildren, getName, getParent, getProperty, getReference, getRoot, getRowKey, getViewNode, isMatch, isResolved, isRoot, setAttribute, setProperty, setResolved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SDCompositeDataEntity

public SDCompositeDataEntity(java.lang.String name,
                             SDLoaderViewNode viewNode,
                             java.util.Map<java.lang.String,java.lang.String> props)
Constructs a composite data entity. The parameters passed in are used to create an SDDataEntity instace that this composite entity would point to initially. Subsequent physical entities can be added through other methods. The 'current' entity within this entity group can also be changed as needed.

Parameters:
name - a descriptive name for this entity (for debugging purpose)
viewNode - the View Object, a row of which this data entity represents
props - additional properties that can be 'tagged' to this instance
Method Detail

addEntityToGroup

public void addEntityToGroup(SDDataEntity de)

setCurrent

public void setCurrent(int index)
                throws java.lang.ArrayIndexOutOfBoundsException
Throws:
java.lang.ArrayIndexOutOfBoundsException

getAllEntities

public java.util.List<SDDataEntity> getAllEntities()

getLogicalStartDate

public java.lang.Object getLogicalStartDate()

getLogicalEndDate

public java.lang.Object getLogicalEndDate()

setLastInGroupAsRead

public void setLastInGroupAsRead(boolean read)

isLastInGroupRead

public boolean isLastInGroupRead()

setParent

public void setParent(SDDataEntity parent)
Overrides:
setParent in class SDDataEntity

toString

public java.lang.String toString()
Overrides:
toString in class SDDataEntity

toShortString

public java.lang.String toShortString()
Overrides:
toShortString in class SDDataEntity

getEffStartAttributeName

public java.lang.String getEffStartAttributeName()

getSysEffDateAttributeName

public java.lang.String getSysEffDateAttributeName()

getEffEndAttributeName

public java.lang.String getEffEndAttributeName()

getEffSeqAttributeName

public java.lang.String getEffSeqAttributeName()

getEffSeqFlagAttributeName

public java.lang.String getEffSeqFlagAttributeName()

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

E22564-02

Copyright © 2011 Oracle. All Rights Reserved.