| java.lang.Object org.acegisecurity.acls.objectidentity.ObjectIdentityImpl
ObjectIdentityImpl | public ObjectIdentityImpl(Object object) throws IdentityUnavailableException(Code) | | Creates the ObjectIdentityImpl based on the passed
object instance. The passed object must provide a getId()
method, otherwise an exception will be thrown. The object passed will
be considered the
ObjectIdentityImpl.javaType , so if more control is required,
an alternate constructor should be used instead.
Parameters: object - the domain object instance to create an identity for throws: IdentityUnavailableException - if identity could not be extracted |
equals | public boolean equals(Object arg0)(Code) | | Important so caching operates properly. Considers an object of the same class equal if it has the same
classname and id properties.
Parameters: arg0 - object to compare true if the presented object matches this object |
hashCode | public int hashCode()(Code) | | Important so caching operates properly.
the hash |
|
|