org.jasig.services.persondir.support
Class BasePersonImpl
java.lang.Object
org.jasig.services.persondir.support.BasePersonImpl
- All Implemented Interfaces:
- Serializable, Principal, IPersonAttributes
- Direct Known Subclasses:
- AttributeNamedPersonImpl, NamedPersonImpl
public abstract class BasePersonImpl
- extends Object
- implements IPersonAttributes
- Version:
- $Revision$
- Author:
- Eric Dalquist
- See Also:
- Serialized Form
BasePersonImpl
public BasePersonImpl(Map<String,List<Object>> attributes)
buildImmutableAttributeMap
protected Map<String,List<Object>> buildImmutableAttributeMap(Map<String,List<Object>> attributes)
- Take the constructor argument and convert the Map and List values into read-only form
createImmutableAttributeMap
protected Map<String,List<Object>> createImmutableAttributeMap(int size)
- Create the Map used to store the attributes internally for this IPersonAttributes
getAttributeValue
public Object getAttributeValue(String name)
- Specified by:
getAttributeValue in interface IPersonAttributes
getAttributeValues
public List<Object> getAttributeValues(String name)
- Specified by:
getAttributeValues in interface IPersonAttributes
getAttributes
public Map<String,List<Object>> getAttributes()
- Specified by:
getAttributes in interface IPersonAttributes
equals
public boolean equals(Object object)
- Specified by:
equals in interface Principal- Overrides:
equals in class Object
- See Also:
Object.equals(Object)
hashCode
public int hashCode()
- Specified by:
hashCode in interface Principal- Overrides:
hashCode in class Object
- See Also:
Object.hashCode()
toString
public String toString()
- Specified by:
toString in interface Principal- Overrides:
toString in class Object
- See Also:
Object.toString()
Copyright © 2012 Jasig. All Rights Reserved.