|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.type_test.types1.ExtColourEnum
public class ExtColourEnum
Java class for ExtColourEnum complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ExtColourEnum">
<simpleContent>
<extension base="<http://apache.org/type_test/types1>ColourEnum">
<attribute name="attrib1" type="{http://www.w3.org/2001/XMLSchema}int" />
<attribute name="attrib2">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<maxLength value="2"/>
</restriction>
</simpleType>
</attribute>
<attribute name="attrib3">
<simpleType>
<list itemType="{http://www.w3.org/2001/XMLSchema}string" />
</simpleType>
</attribute>
</extension>
</simpleContent>
</complexType>
| Field Summary | |
|---|---|
protected java.lang.Integer |
attrib1
|
protected java.lang.String |
attrib2
|
protected java.util.List<java.lang.String> |
attrib3
|
protected ColourEnum |
value
|
| Constructor Summary | |
|---|---|
ExtColourEnum()
|
|
| Method Summary | |
|---|---|
java.lang.Integer |
getAttrib1()
Gets the value of the attrib1 property. |
java.lang.String |
getAttrib2()
Gets the value of the attrib2 property. |
java.util.List<java.lang.String> |
getAttrib3()
Gets the value of the attrib3 property. |
ColourEnum |
getValue()
Gets the value of the value property. |
void |
setAttrib1(java.lang.Integer value)
Sets the value of the attrib1 property. |
void |
setAttrib2(java.lang.String value)
Sets the value of the attrib2 property. |
void |
setValue(ColourEnum value)
Sets the value of the value property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ColourEnum value
protected java.lang.Integer attrib1
protected java.lang.String attrib2
protected java.util.List<java.lang.String> attrib3
| Constructor Detail |
|---|
public ExtColourEnum()
| Method Detail |
|---|
public ColourEnum getValue()
ColourEnumpublic void setValue(ColourEnum value)
value - allowed object is
ColourEnumpublic java.lang.Integer getAttrib1()
Integerpublic void setAttrib1(java.lang.Integer value)
value - allowed object is
Integerpublic java.lang.String getAttrib2()
Stringpublic void setAttrib2(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<java.lang.String> getAttrib3()
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 attrib3 property.
For example, to add a new item, do as follows:
getAttrib3().add(newItem);
Objects of the following type(s) are allowed in the list
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||