com.ibm.xsp.application
Class ComponentParameters

java.lang.Object
  extended by com.ibm.xsp.application.ComponentParameters
All Implemented Interfaces:
com.ibm.xsp.model.DataObject, java.io.Serializable

public class ComponentParameters
extends java.lang.Object
implements java.io.Serializable, com.ibm.xsp.model.DataObject

Component properties. This class handles the component properties, when the session is executed as a Component.

See Also:
Serialized Form

Constructor Summary
ComponentParameters()
          Required by Serializable.
 
Method Summary
 java.lang.String getAsJson()
          Get the properties as a JSON string.
 java.lang.Class<?> getType(java.lang.Object key)
          Set a property value.
 java.lang.Object getValue(java.lang.Object key)
          Get a property value.
 boolean isReadOnly(java.lang.Object key)
          Check if a property is read-only.
 void setFromJson(java.lang.String json)
          Set the properties from a JSON string.
 void setValue(java.lang.Object key, java.lang.Object value)
          Set a property value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentParameters

public ComponentParameters()
Required by Serializable.

Method Detail

getAsJson

public java.lang.String getAsJson()
Get the properties as a JSON string.


setFromJson

public void setFromJson(java.lang.String json)
Set the properties from a JSON string.


getValue

public java.lang.Object getValue(java.lang.Object key)
Get a property value.

Specified by:
getValue in interface com.ibm.xsp.model.DataObject

setValue

public void setValue(java.lang.Object key,
                     java.lang.Object value)
Set a property value.

Specified by:
setValue in interface com.ibm.xsp.model.DataObject

getType

public java.lang.Class<?> getType(java.lang.Object key)
Set a property value.

Specified by:
getType in interface com.ibm.xsp.model.DataObject

isReadOnly

public boolean isReadOnly(java.lang.Object key)
Check if a property is read-only.

Specified by:
isReadOnly in interface com.ibm.xsp.model.DataObject