net.sourceforge.groboutils.pmti.v1
Interface IEditableAttribute

All Superinterfaces:
IAttribute
All Known Subinterfaces:
IEditableListAttribute
All Known Implementing Classes:
AbstractEditableAttribute, AbstractEditableListAttribute

public interface IEditableAttribute
extends IAttribute

A simple name-value association for a specific kind of issue attribute. All implementations of IAttribute are immutable, unless they also implement IEditableAttribute.

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

Method Summary
 boolean hasValueChanged()
           
 boolean isValidValue(java.lang.Object value)
          Checks if the given value is a valid input value for the setValue( Object ) method.
 void setValue(java.lang.Object value)
           
 
Methods inherited from interface net.sourceforge.groboutils.pmti.v1.IAttribute
getInfo, getValue
 

Method Detail

setValue

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

hasValueChanged

public boolean hasValueChanged()
Returns:
true if the setValue( Object ) method has been called on this instance and the actual value has changed (via inspection with == and equals()), otherwise false.

isValidValue

public boolean isValidValue(java.lang.Object value)
Checks if the given value is a valid input value for the setValue( Object ) method.



Copyright © 2001-2003 by The GroboUtils Project