Skip navigation links

Oracle Business Rules Java API Reference
10g (10.1.3.1.0)

B28966-01


oracle.rules.sdk.editor.ruleset
Class RuleTable

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.ArrayList
              extended byoracle.rules.sdk.editor.ruleset.RuleComponentTable
                  extended byoracle.rules.sdk.editor.ruleset.RuleTable

All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

public class RuleTable
extends RuleComponentTable

RuleTable is a list of all the Rules in a RuleSet. Methods are provided for adding, deleting, or reordering rules.

See Also:
Serialized Form

Method Summary
 Rule add()
          Create a new Rule and add it to the end of the RuleTable
 Rule add(int index)
          Create a new Rule and add it at the given index
 Rule getRule(int index)
          Get the Rule at the given index
 Rule getRule(java.lang.String id)
          Get the Rule with the given ID
 Rule getRuleByName(java.lang.String name)
          Get the Rule with the given name
 Rule[] getRules()
          Get Rules as an Array of the correct type.

 

Methods inherited from class oracle.rules.sdk.editor.ruleset.RuleComponentTable
add, add, addAll, discardCopy, get, getMarked, getParent, mark, mark, move, remove, remove, removeMarked, restoreCopy, saveCopy, set, unMark, 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

add

public Rule add()
Create a new Rule and add it to the end of the RuleTable
Returns:
a new Rule

add

public Rule add(int index)
Create a new Rule and add it at the given index
Returns:
a new Rule

getRules

public Rule[] getRules()
Get Rules as an Array of the correct type.
Returns:
an Array of Rules

getRule

public Rule getRule(int index)
Get the Rule at the given index
Returns:
the Rule

getRule

public Rule getRule(java.lang.String id)
Get the Rule with the given ID
Returns:
the Rule

getRuleByName

public Rule getRuleByName(java.lang.String name)
Get the Rule with the given name
Returns:
the Rule

Skip navigation links

Oracle Business Rules Java API Reference
10g (10.1.3.1.0)

B28966-01


Copyright © 2006, Oracle. All rights reserved.