org.apache.openejb.jee
Class Variable

java.lang.Object
  extended by org.apache.openejb.jee.Variable

public class Variable
extends java.lang.Object

The variableType provides information on the scripting variables defined by using this tag. It is a (translation time) error for a tag that has one or more variable subelements to have a TagExtraInfo class that returns a non-null value from a call to getVariableInfo().

The subelements of variableType are of the form:

description Optional description of this variable

name-given The variable name as a constant

name-from-attribute The name of an attribute whose (translation time) value will give the name of the variable. One of name-given or name-from-attribute is required.

variable-class Name of the class of the variable. java.lang.String is default.

declare Whether the variable is declared or not. True is the default.

scope The scope of the scripting varaible defined. NESTED is default.


Field Summary
protected  java.lang.String declare
           
protected  TextMap description
           
protected  java.lang.String id
           
protected  java.lang.String nameFromAttribute
           
protected  java.lang.String nameGiven
           
protected  java.lang.String scope
           
protected  java.lang.String variableClass
           
 
Constructor Summary
Variable()
           
 
Method Summary
 java.lang.String getDeclare()
           
 java.lang.String getDescription()
           
 Text[] getDescriptions()
           
 java.lang.String getId()
           
 java.lang.String getNameFromAttribute()
           
 java.lang.String getNameGiven()
           
 java.lang.String getScope()
           
 java.lang.String getVariableClass()
           
 void setDeclare(java.lang.String value)
           
 void setDescriptions(Text[] text)
           
 void setId(java.lang.String value)
           
 void setNameFromAttribute(java.lang.String value)
           
 void setNameGiven(java.lang.String value)
           
 void setScope(java.lang.String value)
           
 void setVariableClass(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected TextMap description

nameGiven

protected java.lang.String nameGiven

nameFromAttribute

protected java.lang.String nameFromAttribute

variableClass

protected java.lang.String variableClass

declare

protected java.lang.String declare

scope

protected java.lang.String scope

id

protected java.lang.String id
Constructor Detail

Variable

public Variable()
Method Detail

getDescriptions

public Text[] getDescriptions()

setDescriptions

public void setDescriptions(Text[] text)

getDescription

public java.lang.String getDescription()

getNameGiven

public java.lang.String getNameGiven()

setNameGiven

public void setNameGiven(java.lang.String value)

getNameFromAttribute

public java.lang.String getNameFromAttribute()

setNameFromAttribute

public void setNameFromAttribute(java.lang.String value)

getVariableClass

public java.lang.String getVariableClass()

setVariableClass

public void setVariableClass(java.lang.String value)

getDeclare

public java.lang.String getDeclare()

setDeclare

public void setDeclare(java.lang.String value)

getScope

public java.lang.String getScope()

setScope

public void setScope(java.lang.String value)

getId

public java.lang.String getId()

setId

public void setId(java.lang.String value)


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.