com.cinecolombia.cinecolombia.control.web
Class Parameter

java.lang.Object
  |
  +--com.cinecolombia.cinecolombia.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:
CincoSOFT
See Also:
Serialized Form
Created:
Junio 2003

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, wait, wait, wait
 

Field Detail

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

Constructor Detail

Parameter

public Parameter(java.lang.String key,
                 java.lang.String value,
                 boolean direct)
Constructor for the Parameter object

Parameters:
key - name of Parameter
value - value of Parameter
direct - value for direct attribute
Method Detail

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