com.bea.p13n.usermgmt.profile
Class CustomProfileIdentity

java.lang.Object
  extended by com.bea.p13n.usermgmt.profile.ProfileIdentity
      extended by com.bea.p13n.usermgmt.profile.MixedProfileIdentity
          extended by com.bea.p13n.usermgmt.profile.CustomProfileIdentity
All Implemented Interfaces
Serializable

public class CustomProfileIdentity
extends MixedProfileIdentity
implements Serializable

Lightweight object to represent a profile's identity. This will contain some combination of a primary and secondary custom identity. A custom identity is an application-defined entity name. If two are provided, the profile may be used to provide successor values from the secondary entity.

See Also
ProfileWrapper, Serialized Form

Field Summary
 
Fields inherited from class com.bea.p13n.usermgmt.profile.MixedProfileIdentity
primaryEntity, secondaryEntity
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 
Methods inherited from class com.bea.p13n.usermgmt.profile.MixedProfileIdentity
getPrimaryEntity, getProfileType, getSecondaryEntity, toString
 
Methods inherited from class com.bea.p13n.usermgmt.profile.ProfileIdentity
getGroupname, getUsername
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class MixedProfileIdentity
Returns
a hashCode based on the string representation

equals

public boolean equals(Object other)
Overrides:
equals in class MixedProfileIdentity
Returns
true if the argument is a CustomProfileIdentity that is equal to this one


Copyright © 2011, Oracle. All rights reserved.