org.eigenbase.jmi.mem
Class JmiMemFactory.OneWayList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<Object>
              extended by org.eigenbase.jmi.mem.JmiMemFactory.OneWayList
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Object>, Collection<Object>, List<Object>, RandomAccess
Enclosing class:
JmiMemFactory

private static class JmiMemFactory.OneWayList
extends ArrayList<Object>

List which holds instances of a many-to-one relationship.


Field Summary
private  JmiMemFactory.ElementImpl element
           
private  JmiMemFactory.Relationship relationship
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
JmiMemFactory.OneWayList(JmiMemFactory.ElementImpl element, JmiMemFactory.Relationship relationship)
           
 
Method Summary
 boolean add(Object o)
           
 boolean addAll(Collection<?> c)
           
 
Methods inherited from class java.util.ArrayList
add, 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 java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Field Detail

element

private final JmiMemFactory.ElementImpl element

relationship

private final JmiMemFactory.Relationship relationship
Constructor Detail

JmiMemFactory.OneWayList

JmiMemFactory.OneWayList(JmiMemFactory.ElementImpl element,
                         JmiMemFactory.Relationship relationship)
Method Detail

add

public boolean add(Object o)
Specified by:
add in interface Collection<Object>
Specified by:
add in interface List<Object>
Overrides:
add in class ArrayList<Object>

addAll

public boolean addAll(Collection<?> c)
Specified by:
addAll in interface Collection<Object>
Specified by:
addAll in interface List<Object>
Overrides:
addAll in class ArrayList<Object>