org.progeeks.util
Interface Fixable

All Known Implementing Classes:
ContainerPropertyInfo, DefaultFixable, PageConfiguration, PropertyInfo

public interface Fixable

Represents an object with configurable mutability.

Version:
$Revision: 1.2 $
Author:
Paul Speed

Method Summary
 boolean isFixed()
          Returns true if this object cannot be modified.
 void setFixed(boolean fixed)
          Sets the mutable/immutable state of this object.
 

Method Detail

setFixed

void setFixed(boolean fixed)
              throws IllegalModificationException
Sets the mutable/immutable state of this object. A value of true indicates that the object will be immutable after this call.

Throws:
IllegalModificationException - if the object does not support a specific mutability shift. For example, most immutable objects will not allow setFixed( false ).

isFixed

boolean isFixed()
Returns true if this object cannot be modified.



Copyright © 2002-2003 Paul Speed. All Rights Reserved.