com.sun.rave.web.ui.component.util.event
Class IODescriptor

java.lang.Object
  extended by com.sun.rave.web.ui.component.util.event.IODescriptor
All Implemented Interfaces:
java.io.Serializable

public class IODescriptor
extends java.lang.Object
implements java.io.Serializable

This class describes an input or output parameter.

See Also:
Serialized Form

Constructor Summary
IODescriptor(java.lang.String name, java.lang.String type)
          Constructor.
 
Method Summary
 java.lang.Object getDefault()
          This method returns the default for this parameter (valid for input only)
 java.lang.String getDescription()
          For future tool support
 java.lang.String getName()
          This method returns the name for this handler definition.
 java.lang.Class getType()
          This method returns the type for this parameter
 boolean isRequired()
          This method returns the default for this parameter (valid for input only)
 void setDefault(java.lang.Object def)
          This method sets the default for this parameter (valid for input only)
 void setDescription(java.lang.String desc)
          For future tool support
protected  void setName(java.lang.String name)
          This method sets the handler definitions name (used by the contsrutor).
 void setRequired(boolean required)
           This method specifies whether this Input field is required.
 void setType(java.lang.Class type)
          This method sets the type for this parameter
 void setType(java.lang.String type)
          This method sets the type for this parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IODescriptor

public IODescriptor(java.lang.String name,
                    java.lang.String type)
Constructor.

Parameters:
name - The name of the input/output field
type - The type of the input/output field
Method Detail

getName

public java.lang.String getName()
This method returns the name for this handler definition.


setName

protected void setName(java.lang.String name)
This method sets the handler definitions name (used by the contsrutor).


getDescription

public java.lang.String getDescription()
For future tool support


setDescription

public void setDescription(java.lang.String desc)
For future tool support


getType

public java.lang.Class getType()
This method returns the type for this parameter


setType

public void setType(java.lang.Class type)
This method sets the type for this parameter


setType

public void setType(java.lang.String type)
This method sets the type for this parameter


getDefault

public java.lang.Object getDefault()
This method returns the default for this parameter (valid for input only)


setDefault

public void setDefault(java.lang.Object def)
This method sets the default for this parameter (valid for input only)


isRequired

public boolean isRequired()
This method returns the default for this parameter (valid for input only)


setRequired

public void setRequired(boolean required)

This method specifies whether this Input field is required.