Skip navigation links

Oracle Business Rules Java API Reference
10g (10.1.3.1.0)

B28966-01


oracle.rules.sdk.editor.datamodel
Class FieldTable

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

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

public class FieldTable
extends ModelComponentTable

A list of fields

See Also:
Serialized Form

Method Summary
 Field getField(int index)
          get a field by index
 Field getField(java.lang.String id)
          get a field by id
 Field getFieldByName(java.lang.String name)
          get a field by name
 java.lang.Object removeByID(java.lang.String name)
          Field Table inherits ModelComponentTable, so It is required to implement the method.

 

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

getField

public Field getField(int index)
get a field by index
Parameters:
index - the index of the field list
Returns:
The field in the position

getField

public Field getField(java.lang.String id)
get a field by id
Parameters:
id - the id of the field requested
Returns:
The field matching the id

getFieldByName

public Field getFieldByName(java.lang.String name)
get a field by name
Parameters:
name - the name of the field requested
Returns:
The field matching the name

removeByID

public java.lang.Object removeByID(java.lang.String name)
                            throws DeleteException
Field Table inherits ModelComponentTable, so It is required to implement the method. Caller of this method will get a DeleteException with message: A field can not be deleted.
Specified by:
removeByID in class ModelComponentTable
Parameters:
name - the id of the model component to be removed
Returns:
The model component being removed. Null if no model component is removed.
Throws:
DeleteException

Skip navigation links

Oracle Business Rules Java API Reference
10g (10.1.3.1.0)

B28966-01


Copyright © 2006, Oracle. All rights reserved.