|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.common.AttributeValues
Contains a map of AttributeValue objects. The keys are the names of the AttribtueValue objects converted to lower case. Case is ignored in storing and looking up objects in the map.
Constructor Summary | |
---|---|
AttributeValues()
Creates new AttributeValues with no entries |
|
AttributeValues(AttributeValues attributeValues)
Creates new AttributeValues with the given AttributeValues object. |
|
AttributeValues(java.util.Collection attributeValueCollection)
Creates new AttributeValues with the entries in the collection |
|
AttributeValues(java.util.Map attributeValues)
Creates new AttributeValues with the given map. |
Method Summary | |
---|---|
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 |
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 |
values()
Gets a collection of all the values in the map |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AttributeValues()
public AttributeValues(AttributeValues attributeValues)
attributeValues
- a map of AttributeValue objectspublic AttributeValues(java.util.Map attributeValues)
attributeValues
- a map of AttributeValue objectspublic AttributeValues(java.util.Collection attributeValueCollection)
attributeValueCollection
- A collection of AttributeValue objectsMethod Detail |
public 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 map
public AttributeValueIterator iterator()
public boolean containsKey(java.lang.String name)
name
- The name of the attribute to retrieve from the map
public void remove(java.lang.String name)
name
- The name of the attribute to retrieve from the mappublic java.util.Collection values()
public java.util.Map getMap()
public boolean equals(java.lang.Object attributeValues)
equals
in class java.lang.Object
attributeValues
- The set of AttributeValues to compare to
public java.lang.StringBuffer getDifferences(java.lang.Object attributeValues)
attributeValues
- object to compare against
public int hashCode()
hashCode
in class java.lang.Object
public boolean isEmpty()
public java.lang.String toString()
toString
in class java.lang.Object
public int size()
public java.lang.Object clone()
clone
in class java.lang.Object
public void clear()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |