|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.type_test.types3.OccuringChoice
@Generated(value="com.sun.tools.xjc.Driver",
date="2012-10-02T03:03:36+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public class OccuringChoice
Java class for OccuringChoice complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OccuringChoice">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="5">
<element name="varFloat" type="{http://www.w3.org/2001/XMLSchema}float"/>
<element name="varInt" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="varString" type="{http://www.w3.org/2001/XMLSchema}string"/>
</choice>
<attribute name="varAttrib" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
varAttrib
|
protected List<Serializable> |
varFloatOrVarIntOrVarString
|
| Constructor Summary | |
|---|---|
OccuringChoice()
|
|
| Method Summary | |
|---|---|
String |
getVarAttrib()
Gets the value of the varAttrib property. |
List<Serializable> |
getVarFloatOrVarIntOrVarString()
Gets the value of the varFloatOrVarIntOrVarString property. |
void |
setVarAttrib(String value)
Sets the value of the varAttrib property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2012-10-02T03:03:36+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
protected List<Serializable> varFloatOrVarIntOrVarString
@Generated(value="com.sun.tools.xjc.Driver",
date="2012-10-02T03:03:36+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
protected String varAttrib
| Constructor Detail |
|---|
public OccuringChoice()
| Method Detail |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2012-10-02T03:03:36+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public List<Serializable> getVarFloatOrVarIntOrVarString()
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 varFloatOrVarIntOrVarString property.
For example, to add a new item, do as follows:
getVarFloatOrVarIntOrVarString().add(newItem);
Objects of the following type(s) are allowed in the list
String
Float
Integer
@Generated(value="com.sun.tools.xjc.Driver",
date="2012-10-02T03:03:36+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public String getVarAttrib()
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2012-10-02T03:03:36+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public void setVarAttrib(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||