|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1.5.0) E10663-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.rules.sdk2.dictionary.DictionaryObject
oracle.rules.sdk2.dictionary.IDTable<T>
public class IDTable<T extends DictionaryComponent>
An ID table is a List of DictionaryComponent IDs that provides a List<DictionaryComponent> interface similar to DictionaryComponentTable but does not contain the DictionaryComponents.
Constructor Summary | |
---|---|
IDTable(DictionaryObject parent) |
Method Summary | ||
---|---|---|
void |
add(int index, T element) |
|
boolean |
add(T o) |
|
boolean |
addAll(java.util.Collection<? extends T> c) |
|
boolean |
addAll(int index, java.util.Collection<? extends T> c) |
|
void |
clear() |
|
boolean |
contains(java.lang.Object o) |
|
boolean |
containsAll(java.util.Collection<?> c) |
|
T |
get(int index) |
|
java.util.List<DOID> |
getAEReferences() Get DOIDs referenced by this Object and descendants. |
|
java.util.List<DOID> |
getAllReferences() Get all DOIDs referenced by this Object and descendants. |
|
T |
getByAlias(java.lang.String alias) Get a DictionaryComponent from this table by its alias. |
|
T |
getByID(DOID id) Get a DictionaryComponent from this table by its ID. |
|
T |
getByName(java.lang.String name) Get a DictionaryComponent from this table by its name. |
|
java.util.List<DOID> |
getReferences() Get all DOIDs referenced by this Component and IDTable properties, but does not include contained dictonary components. |
|
int |
indexOf(java.lang.Object o) |
|
boolean |
isEmpty() |
|
java.util.Iterator<T> |
iterator() |
|
int |
lastIndexOf(java.lang.Object o) |
|
java.util.ListIterator<T> |
listIterator() Not Supported |
|
java.util.ListIterator<T> |
listIterator(int index) Not Supported |
|
T |
remove(int index) |
|
boolean |
remove(java.lang.Object o) |
|
boolean |
removeAll(java.util.Collection<?> c) |
|
T |
removeByAlias(java.lang.String alias) Remove the DictionaryComponent with the given alias from the table |
|
T |
removeByID(DOID id) Remove the DictionaryComponent with the given id from the table |
|
T |
removeByName(java.lang.String name) Remove the DictionaryComponent with the given name from the table |
|
boolean |
retainAll(java.util.Collection<?> c) |
|
T |
set(int index, T element) |
|
int |
size() |
|
java.util.List<T> |
subList(int fromIndex, int toIndex) Not Supported |
|
java.lang.Object[] |
toArray() |
|
|
toArray(U[] a) |
|
void |
validate(java.util.List<SDKException> errors, java.util.List<SDKWarning> warnings) Validate the entire dictionary object and its decendants. |
|
void |
validate(java.util.List<SDKException> errors, java.util.List<SDKWarning> warnings, int modelChangeLowerBound, int ruleChangeLowerBound) Validate does nothing |
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, 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 |
---|
equals, hashCode |
Constructor Detail |
---|
public IDTable(DictionaryObject parent)
Method Detail |
---|
public T getByName(java.lang.String name)
name
- name of componentpublic T getByID(DOID id)
id
- ID of componentpublic T getByAlias(java.lang.String alias)
alias
- alias of componentpublic T removeByID(DOID id) throws DeleteException
id
- the id returned by DictionaryComponent.getId()DeleteException
public T removeByName(java.lang.String name) throws DeleteException
name
- the name returned by DictionaryComponent.getName()DeleteException
public T removeByAlias(java.lang.String alias) throws DeleteException
alias
- the alias returned by DictionaryComponent.getAlias()DeleteException
public void validate(java.util.List<SDKException> errors, java.util.List<SDKWarning> warnings, int modelChangeLowerBound, int ruleChangeLowerBound)
validate
in class DictionaryObject
errors
- validation errorswarnings
- validation warningsmodelChangeLowerBound
- smallest ModelComponent.CreationUpdateNumber modified in thix tx.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.public void validate(java.util.List<SDKException> errors, java.util.List<SDKWarning> warnings)
DictionaryObject
validate
in class DictionaryObject
errors
- a List of error exceptions to append to.warnings
- a List of warning exceptions to append to.DictionaryObject.validate(List,List,int,int)
public int size()
size
in interface java.util.Collection<T extends DictionaryComponent>
size
in interface java.util.List<T extends DictionaryComponent>
public boolean isEmpty()
isEmpty
in interface java.util.Collection<T extends DictionaryComponent>
isEmpty
in interface java.util.List<T extends DictionaryComponent>
public boolean contains(java.lang.Object o)
contains
in interface java.util.Collection<T extends DictionaryComponent>
contains
in interface java.util.List<T extends DictionaryComponent>
public java.util.Iterator<T> iterator()
iterator
in interface java.lang.Iterable<T extends DictionaryComponent>
iterator
in interface java.util.Collection<T extends DictionaryComponent>
iterator
in interface java.util.List<T extends DictionaryComponent>
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection<T extends DictionaryComponent>
toArray
in interface java.util.List<T extends DictionaryComponent>
public <U> U[] toArray(U[] a)
toArray
in interface java.util.Collection<T extends DictionaryComponent>
toArray
in interface java.util.List<T extends DictionaryComponent>
public boolean add(T o)
add
in interface java.util.Collection<T extends DictionaryComponent>
add
in interface java.util.List<T extends DictionaryComponent>
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection<T extends DictionaryComponent>
remove
in interface java.util.List<T extends DictionaryComponent>
public boolean containsAll(java.util.Collection<?> c)
containsAll
in interface java.util.Collection<T extends DictionaryComponent>
containsAll
in interface java.util.List<T extends DictionaryComponent>
public boolean addAll(java.util.Collection<? extends T> c)
addAll
in interface java.util.Collection<T extends DictionaryComponent>
addAll
in interface java.util.List<T extends DictionaryComponent>
public boolean addAll(int index, java.util.Collection<? extends T> c)
addAll
in interface java.util.List<T extends DictionaryComponent>
public boolean removeAll(java.util.Collection<?> c)
removeAll
in interface java.util.Collection<T extends DictionaryComponent>
removeAll
in interface java.util.List<T extends DictionaryComponent>
public boolean retainAll(java.util.Collection<?> c)
retainAll
in interface java.util.Collection<T extends DictionaryComponent>
retainAll
in interface java.util.List<T extends DictionaryComponent>
public void clear()
clear
in interface java.util.Collection<T extends DictionaryComponent>
clear
in interface java.util.List<T extends DictionaryComponent>
public T get(int index)
get
in interface java.util.List<T extends DictionaryComponent>
public T set(int index, T element)
set
in interface java.util.List<T extends DictionaryComponent>
public void add(int index, T element)
add
in interface java.util.List<T extends DictionaryComponent>
public T remove(int index)
remove
in interface java.util.List<T extends DictionaryComponent>
public int indexOf(java.lang.Object o)
indexOf
in interface java.util.List<T extends DictionaryComponent>
public int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List<T extends DictionaryComponent>
public java.util.ListIterator<T> listIterator()
listIterator
in interface java.util.List<T extends DictionaryComponent>
java.lang.UnsupportedOperationException
public java.util.ListIterator<T> listIterator(int index)
listIterator
in interface java.util.List<T extends DictionaryComponent>
java.lang.UnsupportedOperationException
public java.util.List<T> subList(int fromIndex, int toIndex)
subList
in interface java.util.List<T extends DictionaryComponent>
java.lang.UnsupportedOperationException
public java.util.List<DOID> getReferences()
DictionaryObject
getReferences
in class DictionaryObject
public java.util.List<DOID> getAEReferences()
DictionaryObject
getAEReferences
in class DictionaryObject
public java.util.List<DOID> getAllReferences()
DictionaryObject
getAllReferences
in class DictionaryObject
|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1.5.0) E10663-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |