|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1.7) E10663-11 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.rules.sdk2.datamodel.AdfBcFactTypeDescriptor
public class AdfBcFactTypeDescriptor
Utility class to assist with stuffing ADF-BC fact types into RL variables for retrieval at runtime
Nested Class Summary | |
---|---|
static class |
AdfBcFactTypeDescriptor.Attribute
Helper class attribute: struct containing attribute name, type, and linked type (if REFERENCE or AGGR_COLLECTION) |
static class |
AdfBcFactTypeDescriptor.AttrType
Attribute Type: either KEY_ATTRIBUTE (attribute that's a primary key), ATTRIBUTE (other atomic attributes), REFERENCE (an ADF-BC fact in a one-to-one relationship), AGGR_COLLECTION(an ADF-BC fact in a one-to-many relationship) or JBO_ROW_ATTRIBUTE (a pointer to the JBO row object). |
Constructor Summary | |
---|---|
AdfBcFactTypeDescriptor()
|
Method Summary | |
---|---|
AdfBcFactTypeDescriptor.Attribute |
addAttribute()
|
AdfBcFactTypeDescriptor.Attribute |
addAttribute(java.lang.String name,
AdfBcFactTypeDescriptor.AttrType type,
java.lang.String linkType)
|
AdfBcFactTypeDescriptor.Attribute |
addAttribute(java.lang.String name,
java.lang.String type,
java.lang.String linkType)
|
java.lang.String |
asString()
|
java.util.ArrayList<AdfBcFactTypeDescriptor.Attribute> |
getAttributes()
|
java.lang.String |
getDataSource()
|
java.lang.String |
getTypeName()
|
static AdfBcFactTypeDescriptor |
load(RuleSession rs,
java.lang.String typeName)
Load an AdfBcFactTypeDescriptor instance from an RL global session variable. |
static AdfBcFactTypeDescriptor |
load(java.lang.String dictionaryName,
RuleSession rs,
java.lang.String typeName)
|
void |
setDataSource(java.lang.String dataSource)
|
AdfBcFactTypeDescriptor |
setTypeName(java.lang.String name)
|
AdfBcFactTypeDescriptor |
write(VariableTable vt)
Writes self to the RuleDictionary's variable table. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdfBcFactTypeDescriptor()
Method Detail |
---|
public void setDataSource(java.lang.String dataSource)
public java.lang.String getDataSource()
public java.lang.String getTypeName()
public java.util.ArrayList<AdfBcFactTypeDescriptor.Attribute> getAttributes()
public AdfBcFactTypeDescriptor.Attribute addAttribute()
public AdfBcFactTypeDescriptor.Attribute addAttribute(java.lang.String name, java.lang.String type, java.lang.String linkType)
name
- type
- linkType
-
public AdfBcFactTypeDescriptor.Attribute addAttribute(java.lang.String name, AdfBcFactTypeDescriptor.AttrType type, java.lang.String linkType)
name
- type
- linkType
-
public AdfBcFactTypeDescriptor setTypeName(java.lang.String name)
name
-
public java.lang.String asString()
public AdfBcFactTypeDescriptor write(VariableTable vt)
vt
- VariableTable instance to be written to
public static AdfBcFactTypeDescriptor load(RuleSession rs, java.lang.String typeName) throws RLException
rs
- typeName
-
RLException
public static AdfBcFactTypeDescriptor load(java.lang.String dictionaryName, RuleSession rs, java.lang.String typeName) throws RLException
RLException
|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1.7) E10663-11 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |