MetaDone
metadone.client.display.ConcreteObjectGroup Class Reference
Inheritance diagram for metadone.client.display.ConcreteObjectGroup:
Collaboration diagram for metadone.client.display.ConcreteObjectGroup:

List of all members.

Public Member Functions

ConcreteObject getHead ()
ConcreteObjectGroup getTail ()
Multiplicity getMultiplicity ()
boolean isEmpty ()
int size ()
ConcreteObject get (int index)
int indexOf (Object co)
boolean add (ConcreteObject e)
void add (int index, ConcreteObject element)
boolean addAll (Collection<?extends ConcreteObject > c)
boolean addAll (int index, Collection<?extends ConcreteObject > c)
void clear ()
boolean contains (Object o)
boolean containsAll (Collection<?> c)
Iterator< ConcreteObjectiterator ()
int lastIndexOf (Object o)
ListIterator< ConcreteObjectlistIterator ()
ListIterator< ConcreteObjectlistIterator (int index)
boolean remove (Object o)
ConcreteObject remove (int index)
boolean removeAll (Collection<?> c)
boolean retainAll (Collection<?> c)
ConcreteObject set (int index, ConcreteObject element)
List< ConcreteObjectsubList (int fromIndex, int toIndex)
Object[] toArray ()
boolean equals (Object obj)
int hashCode ()
String toString ()

Static Public Member Functions

static ConcreteObjectGroup forInstance (ConcreteObject obj)
static ConcreteObjectGroup forCollection (Collection<?extends ConcreteObject > cos)

Protected Member Functions

 ConcreteObjectGroup (ImmutableList< ConcreteObject > list)

Package Functions

public< T > T[] toArray (T[] a)

Private Attributes

final ImmutableList
< ConcreteObject
list

Detailed Description

A group of concrete objects denotes concrete objects associated with the LHS side.

Author:
kma
See also:
ImmutableList

Constructor & Destructor Documentation

metadone.client.display.ConcreteObjectGroup.ConcreteObjectGroup ( ImmutableList< ConcreteObject list) [protected]

Member Function Documentation

void metadone.client.display.ConcreteObjectGroup.add ( int  index,
ConcreteObject  element 
)
boolean metadone.client.display.ConcreteObjectGroup.addAll ( Collection<?extends ConcreteObject c)
boolean metadone.client.display.ConcreteObjectGroup.addAll ( int  index,
Collection<?extends ConcreteObject c 
)
void metadone.client.display.ConcreteObjectGroup.clear ( )
boolean metadone.client.display.ConcreteObjectGroup.contains ( Object  o)
boolean metadone.client.display.ConcreteObjectGroup.containsAll ( Collection<?>  c)
boolean metadone.client.display.ConcreteObjectGroup.equals ( Object  obj)
ConcreteObject metadone.client.display.ConcreteObjectGroup.get ( int  index)
int metadone.client.display.ConcreteObjectGroup.hashCode ( )
int metadone.client.display.ConcreteObjectGroup.indexOf ( Object  co)
boolean metadone.client.display.ConcreteObjectGroup.isEmpty ( )

Indicates whether this group is empty.

Equivalent to checking if the multiplicity is Multiplicity#NO.

Returns:
true if this group is empty

References metadone.client.display.ConcreteObjectGroup.list.

Referenced by metadone.client.grasyla2.ref.MetaEngine.buildNewComponent(), metadone.client.display.ConcreteObjectGroup.getMultiplicity(), and metadone.client.grasyla2.GrasylaContext.getObjectSingle().

Iterator<ConcreteObject> metadone.client.display.ConcreteObjectGroup.iterator ( )
int metadone.client.display.ConcreteObjectGroup.lastIndexOf ( Object  o)
ListIterator<ConcreteObject> metadone.client.display.ConcreteObjectGroup.listIterator ( )
ListIterator<ConcreteObject> metadone.client.display.ConcreteObjectGroup.listIterator ( int  index)
ConcreteObject metadone.client.display.ConcreteObjectGroup.remove ( int  index)
boolean metadone.client.display.ConcreteObjectGroup.remove ( Object  o)
boolean metadone.client.display.ConcreteObjectGroup.removeAll ( Collection<?>  c)
boolean metadone.client.display.ConcreteObjectGroup.retainAll ( Collection<?>  c)
ConcreteObject metadone.client.display.ConcreteObjectGroup.set ( int  index,
ConcreteObject  element 
)
int metadone.client.display.ConcreteObjectGroup.size ( )
List<ConcreteObject> metadone.client.display.ConcreteObjectGroup.subList ( int  fromIndex,
int  toIndex 
)
public<T> T [] metadone.client.display.ConcreteObjectGroup.toArray ( T[]  a) [package]
Object [] metadone.client.display.ConcreteObjectGroup.toArray ( )
String metadone.client.display.ConcreteObjectGroup.toString ( )

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations