com.ibm.itim.common
Class AttributeEditValue

java.lang.Object
  extended by com.ibm.itim.common.ValueObject
      extended by com.ibm.itim.common.AttributeValue
          extended by com.ibm.itim.common.AttributeEditValue
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class AttributeEditValue
extends AttributeValue

See Also:
Serialized Form

Constructor Summary
AttributeEditValue()
          Default constructor.
 
Method Summary
 java.util.Collection getPrevValues()
          Returns the values of the attribute in a collection.
 java.lang.Object getSinglePrevValue()
          Returns the single value of an attribute as an Object.
 void setPrevValue(java.util.Collection previousValues)
          Replaces the current values with a new collection of Objects.
 
Methods inherited from class com.ibm.itim.common.AttributeValue
addValue, addValues, clone, equals, equals, getBinaryString, getBoolean, getBytes, getDate, getInt, getLong, getMapValue, getName, getSingleValue, getString, getSyntaxId, getValues, getValueString, hashCode, isAttributeBlacklisted, isValueEmpty, isValueExist, removeValue, removeValues, replaceSingleValue, setAttributeBlacklisted, setBoolean, setBytes, setInt, setLong, setMapValue, setName, setSingleValue, setStringValue, setValue, setValues, toString, toXML
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeEditValue

public AttributeEditValue()
Default constructor. No name will be used and there will be no values.

Method Detail

setPrevValue

public void setPrevValue(java.util.Collection previousValues)
Replaces the current values with a new collection of Objects.

Parameters:
values - Collection of Objects to be the new values.

getPrevValues

public java.util.Collection getPrevValues()
Returns the values of the attribute in a collection.

Returns:
Collection of values.

getSinglePrevValue

public java.lang.Object getSinglePrevValue()
Returns the single value of an attribute as an Object.

Returns:
Object representing the value. If more than one value is present, the first one will be returned.
Throws:
java.lang.ArrayIndexOutOfBoundsException - Thrown if no values are present.


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.