public abstract class BasePersonImpl extends Object implements IPersonAttributes
| Constructor and Description |
|---|
BasePersonImpl(Map<String,List<Object>> attributes) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected Map<String,List<Object>> |
createImmutableAttributeMap(int size)
Create the Map used to store the attributes internally for this IPersonAttributes
|
boolean |
equals(Object object) |
Map<String,List<Object>> |
getAttributes() |
Object |
getAttributeValue(String name) |
List<Object> |
getAttributeValues(String name) |
int |
hashCode() |
String |
toString() |
protected Map<String,List<Object>> buildImmutableAttributeMap(Map<String,List<Object>> attributes)
attributes - Map of attributesprotected Map<String,List<Object>> createImmutableAttributeMap(int size)
size - size of mappublic Object getAttributeValue(String name)
getAttributeValue in interface IPersonAttributespublic List<Object> getAttributeValues(String name)
getAttributeValues in interface IPersonAttributespublic Map<String,List<Object>> getAttributes()
getAttributes in interface IPersonAttributespublic boolean equals(Object object)
equals in interface Principalequals in class ObjectObject.equals(Object)public int hashCode()
hashCode in interface PrincipalhashCode in class ObjectObject.hashCode()Copyright © 2015 Jasig. All Rights Reserved.