org.apache.openejb.jee
Class Variable
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Variable
public Variable()
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.