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 getContainer()
           
 java.lang.String getCountry()
           
 java.lang.String getId()
          Get the component id.
 java.lang.String getLang()
           
 java.lang.String[] getLibs()
           
 java.lang.String getMode()
          Get the current component mode.
 java.lang.String[] getParent()
           
 java.lang.String getProxyMode()
          Get the current proxy mode.
 java.lang.String getProxyUrl()
          Get the current proxy url.
 java.lang.String getView()
           
 void init(SessionData sessionData, javax.servlet.http.HttpServletRequest request)
          Construct new Component data.
 void setContainer(java.lang.String container)
           
 void setCountry(java.lang.String country)
           
 void setId(java.lang.String id)
          Set the current component id.
 void setLang(java.lang.String lang)
           
 void setLibs(java.lang.String[] libs)
           
 void setMode(java.lang.String mode)
          Set the current component mode.
 void setParent(java.lang.String[] parent)
           
 void setProxyMode(java.lang.String proxy)
          Set the current proxy mode.
 void setProxyUrl(java.lang.String proxyUrl)
          Set the current proxy url.
 void setView(java.lang.String view)
           
 
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

getParent

public java.lang.String[] getParent()

setParent

public void setParent(java.lang.String[] parent)

getView

public java.lang.String getView()

setView

public void setView(java.lang.String view)

getContainer

public java.lang.String getContainer()

setContainer

public void setContainer(java.lang.String container)

getLang

public java.lang.String getLang()

setLang

public void setLang(java.lang.String lang)

getCountry

public java.lang.String getCountry()

setCountry

public void setCountry(java.lang.String country)

getLibs

public java.lang.String[] getLibs()

setLibs

public void setLibs(java.lang.String[] libs)