Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


oracle.binding.meta
Class ArrayListDefinitionContainer

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList
              extended by oracle.binding.meta.ArrayListDefinitionContainer

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

public class ArrayListDefinitionContainer
extends java.util.ArrayList
implements DefinitionContainer

A class that implements the DefinitionContainer interface using an java.util.ArrayList for storage of Definition instances.
This class may be modified to expose the Iterator or List interface instead of extending java.util.ArrayList.

See Also:
Serialized Form

Field Summary

 

Fields inherited from class java.util.AbstractList
modCount

 

Constructor Summary
ArrayListDefinitionContainer()
          Default Constructor.

 

Method Summary
 Definition find(java.lang.String definitionId)
          Finds a Definition with the given id.
 int getSize()
          Returns the number of Definition instances contained in this ArrayListDefinitionContainer.
 Definition item(int index)
          Retrieves the Definition located at the given position in the array.

 

Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, 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, removeAll, retainAll, toString

 

Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait

 

Methods inherited from interface oracle.binding.meta.DefinitionContainer
isEmpty, iterator

 

Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList

 

Constructor Detail

ArrayListDefinitionContainer

public ArrayListDefinitionContainer()
Default Constructor.

Method Detail

getSize

public int getSize()
Returns the number of Definition instances contained in this ArrayListDefinitionContainer.
Returns:
The number of definitions.

item

public Definition item(int index)
Retrieves the Definition located at the given position in the array.
Parameters:
index - Position of the Definition to be retrieved.
Returns:
The Definition located at the given position in the array.

find

public Definition find(java.lang.String definitionId)
Finds a Definition with the given id.
Specified by:
find in interface DefinitionContainer
Parameters:
definitionId - Identifier of the Definition that we want to find.
Returns:
The Definition object with the given identifier, or null if no such Definition is found.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


Copyright © 1997, 2011, Oracle. All rights reserved.