org.nakedobjects.plugins.html.context
Class CollectionMapping
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
CollectionMapping
public CollectionMapping(Context context,
NakedObject collection)
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.