org.nakedobjects.metamodel.adapter
Class NakedObjectList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<NakedObject>
          extended by org.nakedobjects.metamodel.adapter.NakedObjectList
All Implemented Interfaces:
java.lang.Iterable<NakedObject>, java.util.Collection<NakedObject>, java.util.List<NakedObject>

public class NakedObjectList
extends java.util.AbstractList<NakedObject>


Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
NakedObjectList(NakedObjectSpecification instanceSpecification, NakedObject[] instances)
           
 
Method Summary
 java.util.Enumeration<NakedObject> elements()
          Deprecated. - use AbstractList.iterator().
 NakedObject get(int index)
          Required implementation of AbstractList.
 NakedObjectSpecification getElementSpecification()
           
 int size()
          Required implementation of AbstractList.
 java.lang.String titleString()
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

NakedObjectList

public NakedObjectList(NakedObjectSpecification instanceSpecification,
                       NakedObject[] instances)
Method Detail

get

public NakedObject get(int index)
Required implementation of AbstractList.

Specified by:
get in interface java.util.List<NakedObject>
Specified by:
get in class java.util.AbstractList<NakedObject>

size

public int size()
Required implementation of AbstractList.

Specified by:
size in interface java.util.Collection<NakedObject>
Specified by:
size in interface java.util.List<NakedObject>
Specified by:
size in class java.util.AbstractCollection<NakedObject>

elements

@Deprecated
public java.util.Enumeration<NakedObject> elements()
Deprecated. - use AbstractList.iterator().


getElementSpecification

public NakedObjectSpecification getElementSpecification()

titleString

public java.lang.String titleString()

toString

public java.lang.String toString()
Overrides:
toString in class java.util.AbstractCollection<NakedObject>


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.