org.globus.cog.gridshell.getopt.interfaces
Interface Storable

All Known Subinterfaces:
Argument, Option
All Known Implementing Classes:
ArgumentImpl, OptionImpl, StorableImpl

public interface Storable

An extended idea of a Variable.


Method Summary
 String getDescription()
          Returns the description
 Class getType()
          Returns the type
 Object getValue()
          Returns the value based upon the validator associated with this type
 boolean isRequired()
          Tells if this is required or not
 boolean isSet()
          Sees if this is set to non-null and not FALSE
 void setValue(Object newValue)
          Sets the value, if it is a String it reuses the validator associated with this type
 

Method Detail

getDescription

public String getDescription()
Returns the description

Returns:

getType

public Class getType()
Returns the type

Returns:

getValue

public Object getValue()
Returns the value based upon the validator associated with this type

Returns:

isRequired

public boolean isRequired()
Tells if this is required or not

Returns:

isSet

public boolean isSet()
Sees if this is set to non-null and not FALSE

Returns:

setValue

public void setValue(Object newValue)
Sets the value, if it is a String it reuses the validator associated with this type

Parameters:
newValue -