com.ibm.xsp.application
Class ComponentData

java.lang.Object
  extended by com.ibm.xsp.application.ComponentData
All Implemented Interfaces:
java.io.Serializable

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

Component data. This class handles the session attributes when it is executed as a component, like an iWidget or a composite application component.

See Also:
Serialized Form

Constructor Summary
ComponentData()
          Required by Serializable.
 
Method Summary
 java.lang.String getId()
          Get the component id.
 java.lang.String getMode()
          Get the current component mode.
 java.lang.String getProxyMode()
          Get the current proxy mode.
 java.lang.String getProxyUrl()
          Get the current proxy url.
 void init(SessionData sessionData, javax.servlet.http.HttpServletRequest request)
          Construct new Component data.
 void setId(java.lang.String id)
          Set the current component id.
 void setMode(java.lang.String mode)
          Set the current component mode.
 void setProxyMode(java.lang.String proxy)
          Set the current proxy mode.
 void setProxyUrl(java.lang.String proxyUrl)
          Set the current proxy url.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentData

public ComponentData()
Required by Serializable.

Method Detail

init

public void init(SessionData sessionData,
                 javax.servlet.http.HttpServletRequest request)
Construct new Component data.


getId

public java.lang.String getId()
Get the component id.

Returns:
the component id

setId

public void setId(java.lang.String id)
Set the current component id.

Parameters:
id - the new component id

getMode

public java.lang.String getMode()
Get the current component mode.

Returns:
the current component mode

setMode

public void setMode(java.lang.String mode)
Set the current component mode.

Parameters:
mode - the new component mode

getProxyMode

public java.lang.String getProxyMode()
Get the current proxy mode.

Returns:
the current proxy mode

setProxyMode

public void setProxyMode(java.lang.String proxy)
Set the current proxy mode.

Parameters:
mode - the new proxy mode

getProxyUrl

public java.lang.String getProxyUrl()
Get the current proxy url.

Returns:
the current proxy url

setProxyUrl

public void setProxyUrl(java.lang.String proxyUrl)
Set the current proxy url.

Parameters:
mode - the new proxy url