|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.VariableType
public class VariableType
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.
Java class for variableType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="variableType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
<choice>
<element name="name-given" type="{http://java.sun.com/xml/ns/javaee}java-identifierType"/>
<element name="name-from-attribute" type="{http://java.sun.com/xml/ns/javaee}java-identifierType"/>
</choice>
<element name="variable-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" minOccurs="0"/>
<element name="declare" type="{http://java.sun.com/xml/ns/javaee}generic-booleanType" minOccurs="0"/>
<element name="scope" type="{http://java.sun.com/xml/ns/javaee}variable-scopeType" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected GenericBooleanType |
declare
|
protected List<DescriptionType> |
description
|
protected String |
id
|
protected JavaIdentifierType |
nameFromAttribute
|
protected JavaIdentifierType |
nameGiven
|
protected VariableScopeType |
scope
|
protected FullyQualifiedClassType |
variableClass
|
| Constructor Summary | |
|---|---|
VariableType()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.VariableType instance. |
|
VariableType(VariableType o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.VariableType instance by copying a given instance. |
|
| Method Summary | |
|---|---|
VariableType |
clone()
Creates and returns a copy of this object. |
protected static void |
copyDescription(List<DescriptionType> source,
List<DescriptionType> target)
Copies all values of property Description. |
GenericBooleanType |
getDeclare()
Gets the value of the declare property. |
List<DescriptionType> |
getDescription()
Gets the value of the description property. |
String |
getId()
Gets the value of the id property. |
JavaIdentifierType |
getNameFromAttribute()
Gets the value of the nameFromAttribute property. |
JavaIdentifierType |
getNameGiven()
Gets the value of the nameGiven property. |
VariableScopeType |
getScope()
Gets the value of the scope property. |
FullyQualifiedClassType |
getVariableClass()
Gets the value of the variableClass property. |
void |
setDeclare(GenericBooleanType value)
Sets the value of the declare property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setNameFromAttribute(JavaIdentifierType value)
Sets the value of the nameFromAttribute property. |
void |
setNameGiven(JavaIdentifierType value)
Sets the value of the nameGiven property. |
void |
setScope(VariableScopeType value)
Sets the value of the scope property. |
void |
setVariableClass(FullyQualifiedClassType value)
Sets the value of the variableClass property. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<DescriptionType> description
protected JavaIdentifierType nameGiven
protected JavaIdentifierType nameFromAttribute
protected FullyQualifiedClassType variableClass
protected GenericBooleanType declare
protected VariableScopeType scope
protected String id
| Constructor Detail |
|---|
public VariableType()
net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.VariableType instance.
public VariableType(VariableType o)
net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.VariableType instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public List<DescriptionType> getDescription()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
public JavaIdentifierType getNameGiven()
JavaIdentifierTypepublic void setNameGiven(JavaIdentifierType value)
value - allowed object is
JavaIdentifierTypepublic JavaIdentifierType getNameFromAttribute()
JavaIdentifierTypepublic void setNameFromAttribute(JavaIdentifierType value)
value - allowed object is
JavaIdentifierTypepublic FullyQualifiedClassType getVariableClass()
FullyQualifiedClassTypepublic void setVariableClass(FullyQualifiedClassType value)
value - allowed object is
FullyQualifiedClassTypepublic GenericBooleanType getDeclare()
GenericBooleanTypepublic void setDeclare(GenericBooleanType value)
value - allowed object is
GenericBooleanTypepublic VariableScopeType getScope()
VariableScopeTypepublic void setScope(VariableScopeType value)
value - allowed object is
VariableScopeTypepublic String getId()
Stringpublic void setId(String value)
value - allowed object is
String
protected static void copyDescription(List<DescriptionType> source,
List<DescriptionType> target)
Description.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.public VariableType clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||