net.sourceforge.groboutils.pmti.v1
Interface IEditableListAttribute

All Superinterfaces:
IAttribute, IEditableAttribute, IListAttribute
All Known Implementing Classes:
AbstractEditableListAttribute

public interface IEditableListAttribute
extends IListAttribute, IEditableAttribute

An editable list of values for a single attribute.

The overloaded setValue( Object value ) will remove all elements from the list, and add in the given value. If the given value is an Array, then all its elements will be the new values in the list.

Since:
July 7, 2002
Version:
$Date: 2003/02/10 22:51:54 $
Author:
Matt Albrecht groboclown@users.sourceforge.net

Method Summary
 void addValue(java.lang.Object value)
           
 void removeValue(java.lang.Object value)
          Does nothing if the value is not in the list of known values.
 
Methods inherited from interface net.sourceforge.groboutils.pmti.v1.IListAttribute
containsValue, getValueCount, getValues
 
Methods inherited from interface net.sourceforge.groboutils.pmti.v1.IAttribute
getInfo, getValue
 
Methods inherited from interface net.sourceforge.groboutils.pmti.v1.IEditableAttribute
hasValueChanged, isValidValue, setValue
 

Method Detail

addValue

public void addValue(java.lang.Object value)
Throws:
java.lang.IllegalArgumentException - thrown if the value argument is invalid.

removeValue

public void removeValue(java.lang.Object value)
Does nothing if the value is not in the list of known values.



Copyright © 2001-2003 by The GroboUtils Project