public class AdfBcFactTypeDescriptor
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
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 and Description |
|---|
AdfBcFactTypeDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 topublic static AdfBcFactTypeDescriptor load(RuleSession rs, java.lang.String typeName) throws RLException
rs -typeName -RLExceptionpublic static AdfBcFactTypeDescriptor load(java.lang.String dictionaryName, RuleSession rs, java.lang.String typeName) throws RLException
RLException