|
Oracle Business Rules Java API Reference 10g (10.1.3.1.0) B28966-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
oracle.rules.sdk.editor.ruleset.RuleComponentTable
RuleComponentTable is an extension of ArrayList used to remove and and reorder RuleComponents. To add new instances, use the specific type safe methods such as Action.add()
Method Summary | |
void |
add(int index, java.lang.Object element) Unsupported - use the type safe specific add methods to add new instances, for example Action.add(index). |
boolean |
add(java.lang.Object element) Unsupported - use the type safe specific add methods to add new instances, for example Action.add(). |
boolean |
addAll(java.util.Collection c) Unsupported - use the type safe specific add methods to add new instances, for example Action.add(). |
void |
discardCopy() Discards the most recent saved copy. |
RuleComponent |
get(java.lang.String id) Return the RuleComponent with the given id from the table |
RuleComponent[] |
getMarked() see mark(Enumeration) |
RuleComponent |
getParent() |
void |
mark(java.util.Enumeration enumeration) Mark the rows with the given id's |
void |
mark(int[] index) Mark the rows with the given indexes |
void |
move(int fromIndex, int toIndex, boolean replace) |
java.lang.Object |
remove(int index) Remove the RuleComponent at the given index from the table |
java.lang.Object |
remove(java.lang.String id) Remove the RuleComponent with the given id from the table |
int |
removeMarked() |
void |
restoreCopy() Restores the RuleComponent's properties to their state at the time of the last saveCopy(). |
void |
saveCopy() Creates a deep copy of this RuleComponentTable so that an undo can be performed later. |
java.lang.Object |
set(int index, java.lang.Object element) Unsupported - use remove() then the type safe specific add methods to add a new instance, for example Action.add(). |
void |
unMark() Clear marks. |
void |
validate() Validates each row in the table - @see RuleComponent#Validate() |
Methods inherited from class java.util.ArrayList |
addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, remove, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList |
Method Detail |
public void add(int index, java.lang.Object element)
java.lang.UnsupportedOperationException
public boolean add(java.lang.Object element)
java.lang.UnsupportedOperationException
public boolean addAll(java.util.Collection c)
java.lang.UnsupportedOperationException
public java.lang.Object set(int index, java.lang.Object element)
java.lang.UnsupportedOperationException
public RuleComponent get(java.lang.String id)
id
- the id returned by RuleComponent.getId()public java.lang.Object remove(int index)
index
- the index of the RuleCompoonent in the table.public java.lang.Object remove(java.lang.String id)
id
- the id returned by RuleComponent.getId()public void mark(int[] index)
index
- an Array containing row numbers (not ID's) to be removedpublic void mark(java.util.Enumeration enumeration)
enumeration
- an enumeration containing id's to be removedpublic void unMark()
public RuleComponent[] getMarked()
mark(Enumeration)
public int removeMarked()
mark(Enumeration)
public void move(int fromIndex, int toIndex, boolean replace)
public RuleComponent getParent()
public void validate() throws RuleEditorException, RuleEditorSDKException
RuleEditorException
RuleEditorSDKException
public void saveCopy() throws RuleEditorSDKException
RuleEditorSDKException
public void discardCopy() throws RuleEditorException
RuleEditorException
- if there are no more saved copies on the stack.public void restoreCopy() throws RuleEditorException
RuleEditorException
- if there are no more saved copies on the stack.
|
Oracle Business Rules Java API Reference 10g (10.1.3.1.0) B28966-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |