|
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.datamodel.ModelComponentTable
oracle.rules.sdk.editor.datamodel.ConstraintTable
Top level table in the datamodel. It contains a list of constraints.
Method Summary | |
Constraint |
add() Create a constraint and add it to the constraint table |
Constraint |
add(java.lang.String id) |
Constraint |
getConstraint(int index) get a constraint by index |
Constraint |
getConstraint(java.lang.String id) get a constraint by id |
Constraint |
getConstraintByName(java.lang.String name) get a constraint by name |
java.lang.Object |
removeByID(java.lang.String id) Remove a constraint by id. |
java.lang.Object |
removeByName(java.lang.String name) Remove a constraint by name. |
Methods inherited from class oracle.rules.sdk.editor.datamodel.ModelComponentTable |
getParent, mark, removeMarked |
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, set, 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 Constraint add()
public Constraint add(java.lang.String id)
public Constraint getConstraint(int index)
index
- the index of the constraint listpublic Constraint getConstraint(java.lang.String id)
id
- the id of the constraint requestedpublic Constraint getConstraintByName(java.lang.String name)
name
- the name of the constraint requestedpublic java.lang.Object removeByID(java.lang.String id) throws DeleteException
removeByID
in class ModelComponentTable
id
- the id of the constraint to be removedthrown
- if the constraint is used in other datamodel/rule definition(s). The message of the exception contains all the places where the constraint is usedDeleteException
public java.lang.Object removeByName(java.lang.String name) throws DeleteException
name
- the name of the constraint to be removedthrown
- if the constraint is used in other datamodel/rule definition(s). The message of the exception contains all the places where the constraint is usedDeleteException
|
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 |