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

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

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

This class holds OutputMapping value meta information for individual instances of Handler Objects. This information is necessary to provide the location to store the output value for a specific invocation of a handler. This is data consists of the name the Handler uses for the output, the OutputType, and optionally the OutputType key to use when storing/retrieving the output value.

See Also:
Serialized Form

Constructor Summary
OutputMapping(java.lang.String outputName, java.lang.String targetOutputType)
           Constructor with targetKey as null.
OutputMapping(java.lang.String outputName, java.lang.String targetKey, java.lang.String targetOutputType)
           Constructor with all values supplied as Strings.
 
Method Summary
 java.lang.String getOutputKey()
          Accessor for targetKey.
 java.lang.String getOutputName()
          Accessor for outputName.
 OutputType getOutputType()
          Accessor for targetOutputType.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputMapping

public OutputMapping(java.lang.String outputName,
                     java.lang.String targetOutputType)

Constructor with targetKey as null. This constructor will throw an IllegalArgumentException if outputName or targetOutputType is null.

Parameters:
outputName - The name the Handler uses for output value
targetOutputType - OutputType that will store the output value
Throws:
IllegalArumentException - If outputName or targetOutputType is null
See Also:
OutputTypeManager

OutputMapping

public OutputMapping(java.lang.String outputName,
                     java.lang.String targetKey,
                     java.lang.String targetOutputType)

Constructor with all values supplied as Strings. This constructor will throw an IllegalArgumentException if outputName or targetOutputType is null.

Parameters:
outputName - The name the Handler uses for output value
targetKey - The key the OutputType will use
targetOutputType - OutputType that will store the output value
Throws:
IllegalArumentException - If outputName or targetOutputType is null
See Also:
OutputTypeManager
Method Detail

getOutputName

public java.lang.String getOutputName()
Accessor for outputName.


getOutputKey

public java.lang.String getOutputKey()
Accessor for targetKey.


getOutputType

public OutputType getOutputType()
Accessor for targetOutputType.