org.apache.pluto.om.common
Interface Preference

All Superinterfaces:
Model

public interface Preference
extends Model

The Preference interface provides access to a preference and its attributes.

This interface defines the model as known from the MVC pattern. Its purpose is to provide read access to the data stored in the model.


Method Summary
 java.lang.String getName()
          Returns the name
 java.util.Iterator getValues()
          Returns the values in a readonly collection
 boolean isReadOnly()
          Returns whether this preference is modifiable
 boolean isValueSet()
          Returns whether this preference is set or not
 

Method Detail

getName

public java.lang.String getName()
Returns the name

Returns:
the name

getValues

public java.util.Iterator getValues()
Returns the values in a readonly collection

Returns:
the values

isReadOnly

public boolean isReadOnly()
Returns whether this preference is modifiable

Returns:
true, if this preference is modifiable

isValueSet

public boolean isValueSet()
Returns whether this preference is set or not

Returns:
true, if this preference is set


Copyright © 2003-2006 . All Rights Reserved.