com.instantbank.lettertemplate.control.web
Class Parameter
java.lang.Object
|
+--com.instantbank.lettertemplate.control.web.Parameter
- All Implemented Interfaces:
- java.io.Serializable
- public class Parameter
- extends java.lang.Object
- implements java.io.Serializable
Structure of a screen parameter
- Author:
- Instant-bank (Consuelo Franky)
- See Also:
- Serialized Form
Field Summary |
private boolean |
direct
signals if the string value must be included directly
or if it is name of a JSP to include |
private java.lang.String |
key
name of parameter: for example HtmlTitle, HtmlBody |
private java.lang.String |
value
value of parameter |
Constructor Summary |
Parameter(java.lang.String key,
java.lang.String value,
boolean direct)
Constructor for the Parameter object |
Method Summary |
java.lang.String |
getKey()
Gets the key attribute of the Parameter object |
java.lang.String |
getValue()
Gets the value attribute of the Parameter object |
boolean |
isDirect()
Gets the direct attribute of the Parameter object |
java.lang.String |
toString()
textual representation of Parameter |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
key
private java.lang.String key
- name of parameter: for example HtmlTitle, HtmlBody
value
private java.lang.String value
- value of parameter
direct
private boolean direct
- signals if the string value must be included directly
or if it is name of a JSP to include
Parameter
public Parameter(java.lang.String key,
java.lang.String value,
boolean direct)
- Constructor for the Parameter object
- Parameters:
key
- name of Parametervalue
- value of Parameterdirect
- value for direct attribute
isDirect
public boolean isDirect()
- Gets the direct attribute of the Parameter object
- Returns:
- The direct value
getKey
public java.lang.String getKey()
- Gets the key attribute of the Parameter object
- Returns:
- The key value
getValue
public java.lang.String getValue()
- Gets the value attribute of the Parameter object
- Returns:
- The value value
toString
public java.lang.String toString()
- textual representation of Parameter
- Overrides:
toString
in class java.lang.Object
- Returns:
- text of Parameter