org.apache.openejb.jee
Class Variable

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

public class Variable
extends 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  String declare
           
protected  TextMap description
           
protected  String id
           
protected  String nameFromAttribute
           
protected  String nameGiven
           
protected  String scope
           
protected  String variableClass
           
 
Constructor Summary
Variable()
           
 
Method Summary
 String getDeclare()
           
 String getDescription()
           
 Text[] getDescriptions()
           
 String getId()
           
 String getNameFromAttribute()
           
 String getNameGiven()
           
 String getScope()
           
 String getVariableClass()
           
 void setDeclare(String value)
           
 void setDescriptions(Text[] text)
           
 void setId(String value)
           
 void setNameFromAttribute(String value)
           
 void setNameGiven(String value)
           
 void setScope(String value)
           
 void setVariableClass(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 String nameGiven

nameFromAttribute

protected String nameFromAttribute

variableClass

protected String variableClass

declare

protected String declare

scope

protected String scope

id

protected String id
Constructor Detail

Variable

public Variable()
Method Detail

getDescriptions

public Text[] getDescriptions()

setDescriptions

public void setDescriptions(Text[] text)

getDescription

public String getDescription()

getNameGiven

public String getNameGiven()

setNameGiven

public void setNameGiven(String value)

getNameFromAttribute

public String getNameFromAttribute()

setNameFromAttribute

public void setNameFromAttribute(String value)

getVariableClass

public String getVariableClass()

setVariableClass

public void setVariableClass(String value)

getDeclare

public String getDeclare()

setDeclare

public void setDeclare(String value)

getScope

public String getScope()

setScope

public void setScope(String value)

getId

public String getId()

setId

public void setId(String value)


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