Skip navigation links
oracle.rules.sdk2.datamodel
Class FactTypeTable
java.lang.Object
oracle.rules.sdk2.dictionary.DictionaryObject
oracle.rules.sdk2.dictionary.DictionaryComponentTable<T>
oracle.rules.sdk2.datamodel.ModelComponentTable<FactType>
oracle.rules.sdk2.datamodel.FactTypeTable
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<FactType>, java.util.Collection<FactType>, java.util.List<FactType>
-
public class FactTypeTable
- extends ModelComponentTable<FactType>
Top level table in the datamodel. It contains a list of Fact Types.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
DAGCONN
|
Methods inherited from class oracle.rules.sdk2.dictionary.DictionaryComponentTable |
add, add, add, clear, contains, containsAll, copyTo, cut, get, getAEReferences, getAllReferences, getByAlias, getByID, getByName, getLast, getMarked, indexOf, isEmpty, isLocked, iterator, listIterator, listIterator, mark, move, move, paste, remove, remove, removeAll, removeByAlias, removeByID, removeByName, removeMarked, reorder, set, size, sort, sort, sort, subList, toArray, toArray, unMark, validate |
Methods inherited from class oracle.rules.sdk2.dictionary.DictionaryObject |
equals, exists, getCombinedDataModel, getContainedIDs, getContainedIDs, getDataModel, getDictionary, getID, getIndent, getLevel, getObjectPath, getObjectType, getParentByClass, getParentComponent, getParentComponentTable, getParentObject, getReferences, getRuleSet, getState, getWarnings, hashCode, isModified, validate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.List |
add, addAll, addAll, equals, hashCode, lastIndexOf, retainAll |
DAGCONN
public static final java.lang.String DAGCONN
-
- See Also:
- Constant Field Values
validate
public void validate(java.util.List<SDKException> errors,
java.util.List<SDKWarning> warnings,
int modelChangeLowerBound,
int ruleChangeLowerBound)
- Description copied from class:
DictionaryComponentTable
- Validate each DictionaryObject in the table.
-
- Overrides:
validate
in class DictionaryComponentTable<FactType>
-
- Parameters:
errors
- validation errors
warnings
- validation warnings
modelChangeLowerBound
- determines what needs to be revalidated based on changes to the dictionary
ruleChangeLowerBound
- smallest RuleComponent.CreationUpdateNumber modified in thix tx. Rulesets and rules with UpdateNumber >= modelChangeLowerBound will be revalidated. a value of 0 will force revalidation of all rulesets. A value of Integer.MAX_VALUE will skip validation of all rulesets.
addRLFactType
public RLFactType addRLFactType()
- Create a RLFactType and add it to the Fact type table
-
- Returns:
- The newly created RLFact.
getAdfBcFactType
public AdfBcFactType getAdfBcFactType(java.lang.String typeName)
getTopLevelAdfBcFactTypes
@Deprecated
public java.util.List<AdfBcFactType> getTopLevelAdfBcFactTypes()
- Deprecated.
getAdfBcFactTypes
public java.util.List<AdfBcFactType> getAdfBcFactTypes()
getTopLevelAdfBcFactTypeNames
@Deprecated
public java.util.List<java.lang.String> getTopLevelAdfBcFactTypeNames()
- Deprecated.
getAdfBcFactTypeNames
public java.util.List<java.lang.String> getAdfBcFactTypeNames()
findFactType
public FactType findFactType(java.lang.String typeName,
java.lang.String typeForm)
removeByNames
public int removeByNames(java.lang.String[] names)
throws DeleteException
- Remove a list of factTypes by name. It is useful in the scenario that fact1 depends on fact2 and fact2 depends on fact1 (circular reference).
-
- Parameters:
names
- the fully qualified names of the factTypes to be removed
- Returns:
- The number of facttypes removed
- Throws:
DeleteException
- if the group of factTypes are used in other datamodel/rule definition(s). The message of the exception contains all the places where the list of factTypes are used
removeByIDs
public int removeByIDs(DOID[] ids)
throws DeleteException
- Remove a list of factTypes by ID. It is useful in the scenario that fact1 depends on fact2 and fact2 depends on fact1 (circular reference).
-
- Parameters:
ids
- the IDs of the factTypes to be removed
- Returns:
- The number of facttypes removed
- Throws:
DeleteException
- if the group of factTypes are used in other datamodel/rule definition(s). The message of the exception contains all the places where the list of factTypes are used
Skip navigation links
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.