org.nakedobjects.metamodel.spec
Class SpecObjectPair
java.lang.Object
org.nakedobjects.metamodel.spec.SpecObjectPair
public class SpecObjectPair
- extends java.lang.Object
A combination of a NakedObjectSpecification along with an object (possibly null) that
should be of the type represented by that object.
This class has value semantics.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
SpecObjectPair
public SpecObjectPair(NakedObjectSpecification nakedObjectSpecification,
java.lang.Object object)
getSpecification
public NakedObjectSpecification getSpecification()
getObject
public java.lang.Object getObject()
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals in class java.lang.Object
equals
public boolean equals(SpecObjectPair other)
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.