| java.lang.Object net.sf.jmoney.model2.ExtensionObject
All known Subclasses: net.sf.jmoney.model2.EntryExtension, net.sf.jmoney.model2.AccountExtension,
ExtensionObject | abstract public class ExtensionObject (Code) | | This class is the base class from which all classes that implement
extension property sets should be derived.
author: Nigel Westbury |
equals | public boolean equals(Object object)(Code) | | Two or more instantiated objects may represent the same object
in the datastore. Such objects should be considered
the same. Therefore this method overrides the default
implementation that is based on Java identity.
This method also considers two objects to be the same if either
or both of the objects are extension objects and the underlying
objects are the same.
true if the two objects represent the same objectin the datastore, false otherwise. |
getProtectedFieldValue | Object getProtectedFieldValue(Field theObjectKeyField)(Code) | | This method is used to enable other classes in the package to
access protected fields in the extension objects.
Parameters: theObjectKeyField - |
|
|