org.nakedobjects.plugins.html.context
Class CollectionMapping

java.lang.Object
  extended by org.nakedobjects.plugins.html.context.CollectionMapping

public class CollectionMapping
extends java.lang.Object

Has value semantics based on the value semantics of the underlying list that it wraps.


Constructor Summary
CollectionMapping(Context context, NakedObject collection)
           
 
Method Summary
 boolean contains(java.lang.String id)
           
 void debug(DebugString debug)
           
 java.util.Enumeration elements()
           
 boolean equals(CollectionMapping other)
           
 boolean equals(java.lang.Object other)
           
 NakedObject getCollection(Context context)
           
 NakedObjectSpecification getElementSpecification()
           
 int hashCode()
          Value semantics based on the identity of the underlying list that this wraps.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionMapping

public CollectionMapping(Context context,
                         NakedObject collection)
Method Detail

getCollection

public NakedObject getCollection(Context context)

getElementSpecification

public NakedObjectSpecification getElementSpecification()

debug

public void debug(DebugString debug)

hashCode

public int hashCode()
Value semantics based on the identity of the underlying list that this wraps.

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

equals

public boolean equals(CollectionMapping other)

contains

public boolean contains(java.lang.String id)

elements

public java.util.Enumeration elements()


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