IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.channel.sms.config
Class CommandParamter

java.lang.Object
  extended by com.ibm.btt.channel.sms.config.CommandParamter

public class CommandParamter
extends java.lang.Object

SMS Command Parameter definition bean. One data bean is corresponding to one parameter. Data bean can be initialized by the configuration file of element factory. Used by request handler to parse the SMS command


Field Summary
(package private)  java.lang.String name
           
(package private)  boolean optional
           
(package private)  java.lang.String type
           
 
Constructor Summary
CommandParamter()
           
 
Method Summary
 java.lang.String getName()
          Field name of the parameter.
 boolean getOptional()
          If this parameter is optional.
 java.lang.String getType()
          The java type of the parameter.
 void setName(java.lang.String name)
          Field name of the parameter.
 void setOptional(boolean optional)
          If this parameter is optional.
 void setType(java.lang.String type)
          The java type of the parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

java.lang.String name

optional

boolean optional

type

java.lang.String type
Constructor Detail

CommandParamter

public CommandParamter()
Method Detail

getName

public java.lang.String getName()
Field name of the parameter. It should be equals with the field id of the context data field to which data is mapped.

Returns:

setName

public void setName(java.lang.String name)
Field name of the parameter. It should be equals with the field id of the context data field to which data is mapped.

Parameters:
name -

getOptional

public boolean getOptional()
If this parameter is optional. Note there can only be one optional parameter for a SMS Command at most. (default: false)

Returns:

setOptional

public void setOptional(boolean optional)
If this parameter is optional. Note there can only be one optional parameter for a SMS Command at most. (default: false)


getType

public java.lang.String getType()
The java type of the parameter. The type will be used for validation and data converting to context. (default: java.lang.String)

Returns:

setType

public void setType(java.lang.String type)
The java type of the parameter. The type will be used for validation and data converting to context. (default: java.lang.String)

Parameters:
type -

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011