Skip navigation links

Oracle Business Rules Java API Reference
10g (10.1.3.1.0)

B28966-01


oracle.rules.sdk.editor.datamodel
Class ModelComponentTable

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.ArrayList
              extended byoracle.rules.sdk.editor.datamodel.ModelComponentTable

All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable
Direct Known Subclasses:
ConstraintTable, ConstructorTable, EnumValueTable, FactTypeTable, FieldTable, FormalParameterTable, FunctionTable, MethodTable, PropertyTable, VariableTable

public abstract class ModelComponentTable
extends java.util.ArrayList

Base class for all element tables in a data model

See Also:
Serialized Form

Method Summary
 ModelComponent getParent()
          Get parent ModelComponent Object
 void mark(int[] idxs)
          Mark the rows in the table with the given indexes.
abstract  java.lang.Object removeByID(java.lang.String id)
          Remove a model component by id.
 int removeMarked()
          Remove the rows previously marked

 

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

getParent

public ModelComponent getParent()
Get parent ModelComponent Object
Returns:
The parent ModelComponent Object

mark

public void mark(int[] idxs)
Mark the rows in the table with the given indexes. Used in GUI Development.
Parameters:
idxs - a list of row index

removeMarked

public int removeMarked()
                 throws DeleteException
Remove the rows previously marked
Returns:
the number of rows removed
Throws:
DeleteException

removeByID

public abstract java.lang.Object removeByID(java.lang.String id)
                                     throws DeleteException
Remove a model component by id. If the given id does not match any component in the list, then no component is removed. If the component is used in other datamodel/rule definition(s), a DeleteException is thrown.
Parameters:
id - the id of the model component to be removed
Returns:
The model component being removed. Null if no model component is removed.
Throws:
thrown - if the model component is used in other datamodel/rule definition(s). The message of the exception contains all the places where the model component is used
DeleteException

Skip navigation links

Oracle Business Rules Java API Reference
10g (10.1.3.1.0)

B28966-01


Copyright © 2006, Oracle. All rights reserved.