|
Oracle Fusion Middleware extensions for Seed Data Framework 11g Release 1 (11.1.2) E22564-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applseed.rt.extract.common.RowKeyBuilder
public class RowKeyBuilder
This class contains the methods to build row keys for a given View Object and Row. There should be one builder per SDViewNode. Use RowKeyBuilderFactory to get/create instances of RowKeyBuilder.
Field Summary | |
---|---|
static char |
KEY_DELIM_CHAR
key delimiter character. |
Constructor Summary | |
---|---|
RowKeyBuilder(SDViewNode node)
Constructor for building keys for SDViewNode objects. |
|
RowKeyBuilder(SDViewNode node,
oracle.jbo.Row rowP)
Constructor for building keys for one VO and Row. |
Method Summary | |
---|---|
RowKey |
buildEffDateLogicalKey(oracle.jbo.Row rowP)
Build a RowKey for an effective dated row, with only the keys that make up the logical row, that is, without the effdate attributes. |
RowKey |
buildKey()
Build a key from this row and vo key attribute list. |
RowKey |
buildKey(oracle.jbo.Row rowP)
Build a key for given Row for this vo key attribute list. |
java.lang.String |
buildKeyAttribValueString()
Helper method to build an output string showing attribute=value pairs for current node and row. |
java.lang.String |
buildKeyAttribValueString(oracle.jbo.Row rowP)
Helper method to build an output string showing attribute=value pairs for current node and given row. |
RowKey |
buildResolvedKey(oracle.jbo.Row rowP)
Build a fully resolved RowKey, containing full parental lineage, dereferencing any surrogates to invariant alternate keys. |
static RowKeyBuilder |
getBuilder(SDViewNode node)
Get the RowKeyBuilder object for the passed node. |
java.util.List<oracle.jbo.AttributeDef> |
getKeyAttribList()
Getter for key attribute list. |
SDViewNode |
getNode()
Get the view node for this builder. |
java.util.Collection<java.lang.String> |
getResolvedKeyAttribList()
Get the collection of full resolved key attributes for the current node and its ancestors. |
oracle.jbo.Row |
getRow()
Getter for current Row. |
void |
setRow(oracle.jbo.Row rowP)
Setter for current row. |
java.lang.String |
toString()
Return a String representation of this builder. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final char KEY_DELIM_CHAR
Constructor Detail |
---|
public RowKeyBuilder(SDViewNode node)
node
- SDViewNode to build keys forpublic RowKeyBuilder(SDViewNode node, oracle.jbo.Row rowP)
node
- SDViewNode containing key attributesrowP
- Row object contianing key valuesMethod Detail |
---|
public void setRow(oracle.jbo.Row rowP)
rowP
- Row object to setpublic oracle.jbo.Row getRow()
public java.util.List<oracle.jbo.AttributeDef> getKeyAttribList()
public java.util.Collection<java.lang.String> getResolvedKeyAttribList() throws ExtractException
ExtractException
public RowKey buildResolvedKey(oracle.jbo.Row rowP) throws ExtractException
rowP
- Row
ExtractException
- if failure to resolve all keyspublic static RowKeyBuilder getBuilder(SDViewNode node)
node
- SDViewNode
public RowKey buildKey()
public RowKey buildKey(oracle.jbo.Row rowP)
rowP
- Row object to set
public RowKey buildEffDateLogicalKey(oracle.jbo.Row rowP)
rowP
-
public SDViewNode getNode()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String buildKeyAttribValueString(oracle.jbo.Row rowP)
rowP
- Row definition
public java.lang.String buildKeyAttribValueString()
|
Oracle Fusion Middleware extensions for Seed Data Framework 11g Release 1 (11.1.2) E22564-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |