public class AttributeValues extends java.lang.Object implements java.io.Serializable, java.lang.Iterable<AttributeValue>
| Constructor and Description |
|---|
AttributeValues()
Creates new AttributeValues with no entries
|
AttributeValues(AttributeValues attributeValues)
Creates new AttributeValues with the given AttributeValues object.
|
AttributeValues(java.util.Collection<AttributeValue> attributeValueCollection)
Creates new AttributeValues with the entries in the collection
|
AttributeValues(java.util.Map<java.lang.String,AttributeValue> attributeValues)
Creates new AttributeValues with the given map.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
This method clears the underlying hashmap structure without setting it to null;
|
java.lang.Object |
clone()
This method returns a deep copy of the underlying map of AttributeValue objects
|
void |
combine(AttributeValues attributeValues)
Combines the values in this AttributeValues object with the given
AttributeValues object
|
boolean |
containsKey(java.lang.String name)
Determine whether an AttributeValue object exists in the map
|
boolean |
equals(java.lang.Object attributeValues)
Determines if this object is equivalent to the given set of
AttributeValue objects.
|
AttributeValue |
get(java.lang.String name)
Get an AttributeValue from the map with the given name.
|
java.lang.StringBuffer |
getDifferences(java.lang.Object attributeValues)
Return a StringBuffer describing the differences between this &
specified AttributeValues object, for log messages.
|
java.util.Map<java.lang.String,AttributeValue> |
getMap()
Returns the Map of AttributeValue objects.
|
int |
hashCode()
Override the method from java.lang.Object.
|
boolean |
isEmpty()
Determines whether the collection of AttributeValues is empty
|
AttributeValueIterator |
iterator()
Get an iterator to iterate over AttributeValue's in the map
|
void |
put(AttributeValue attributeValue)
Adds an AttributeValue object to the Map
|
void |
remove(java.lang.String name)
Remove an AttributeValue object from the map
|
int |
size()
Returns the number of AttributeValue objects in the AttributeValues.
|
java.lang.String |
toString()
Overrides Object.toString()
|
java.util.Collection<AttributeValue> |
values()
Gets a collection of all the values in the map
|
public AttributeValues()
public AttributeValues(AttributeValues attributeValues)
attributeValues - a map of AttributeValue objectspublic AttributeValues(java.util.Map<java.lang.String,AttributeValue> attributeValues)
attributeValues - a map of AttributeValue objectspublic AttributeValues(java.util.Collection<AttributeValue> attributeValueCollection)
attributeValueCollection - A collection of AttributeValue objectspublic void combine(AttributeValues attributeValues)
attributeValues - Add AttributeValue object from this parameter to this objectpublic void put(AttributeValue attributeValue)
attributeValue - The object to add to the mappublic AttributeValue get(java.lang.String name)
name - The name of the attribute to retrieve from the mappublic AttributeValueIterator iterator()
iterator in interface java.lang.Iterable<AttributeValue>public boolean containsKey(java.lang.String name)
name - The name of the attribute to retrieve from the mappublic void remove(java.lang.String name)
name - The name of the attribute to retrieve from the mappublic java.util.Collection<AttributeValue> values()
public java.util.Map<java.lang.String,AttributeValue> getMap()
public boolean equals(java.lang.Object attributeValues)
equals in class java.lang.ObjectattributeValues - The set of AttributeValues to compare topublic java.lang.StringBuffer getDifferences(java.lang.Object attributeValues)
attributeValues - object to compare againstpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean isEmpty()
public java.lang.String toString()
toString in class java.lang.Objectpublic int size()
public java.lang.Object clone()
clone in class java.lang.Objectpublic void clear()
IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.