@Contract @Hk2XmlPreGenerate public interface ComplexType extends Annotated
Java class for complexType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="complexType">
<complexContent>
<extension base="{http://www.w3.org/2001/XMLSchema}annotated">
<group ref="{http://www.w3.org/2001/XMLSchema}complexTypeModel"/>
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
<attribute name="mixed" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="abstract" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="final" type="{http://www.w3.org/2001/XMLSchema}derivationSet" />
<attribute name="block" type="{http://www.w3.org/2001/XMLSchema}derivationSet" />
<anyAttribute processContents='lax' namespace='##other'/>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Method and Description |
|---|---|
All |
getAll()
Gets the value of the all property.
|
Wildcard |
getAnyAttribute()
Gets the value of the anyAttribute property.
|
List<Annotated> |
getAttributeOrAttributeGroup()
Gets the value of the attributeOrAttributeGroup property.
|
List<String> |
getBlock()
Gets the value of the block property.
|
ExplicitGroup |
getChoice()
Gets the value of the choice property.
|
ComplexContent |
getComplexContent()
Gets the value of the complexContent property.
|
List<String> |
getFinal()
Gets the value of the final property.
|
GroupRef |
getGroup()
Gets the value of the group property.
|
String |
getName()
Gets the value of the name property.
|
ExplicitGroup |
getSequence()
Gets the value of the sequence property.
|
SimpleContent |
getSimpleContent()
Gets the value of the simpleContent property.
|
boolean |
isAbstract()
Gets the value of the abstract property.
|
boolean |
isMixed()
Gets the value of the mixed property.
|
void |
setAbstract(Boolean value)
Sets the value of the abstract property.
|
void |
setAll(All value)
Sets the value of the all property.
|
void |
setAnyAttribute(Wildcard value)
Sets the value of the anyAttribute property.
|
void |
setChoice(ExplicitGroup value)
Sets the value of the choice property.
|
void |
setComplexContent(ComplexContent value)
Sets the value of the complexContent property.
|
void |
setGroup(GroupRef value)
Sets the value of the group property.
|
void |
setMixed(Boolean value)
Sets the value of the mixed property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setSequence(ExplicitGroup value)
Sets the value of the sequence property.
|
void |
setSimpleContent(SimpleContent value)
Sets the value of the simpleContent property.
|
getAnnotation, getId, setAnnotation, setIdgetOtherAttributes, setOtherAttributesSimpleContent getSimpleContent()
SimpleContentvoid setSimpleContent(SimpleContent value)
value - allowed object is
SimpleContentComplexContent getComplexContent()
ComplexContentvoid setComplexContent(ComplexContent value)
value - allowed object is
ComplexContentGroupRef getGroup()
GroupRefvoid setGroup(GroupRef value)
value - allowed object is
GroupRefvoid setAll(All value)
value - allowed object is
AllExplicitGroup getChoice()
ExplicitGroupvoid setChoice(ExplicitGroup value)
value - allowed object is
ExplicitGroupExplicitGroup getSequence()
ExplicitGroupvoid setSequence(ExplicitGroup value)
value - allowed object is
ExplicitGroupList<Annotated> getAttributeOrAttributeGroup()
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 attributeOrAttributeGroup property.
For example, to add a new item, do as follows:
getAttributeOrAttributeGroup().add(newItem);
Objects of the following type(s) are allowed in the list
Attribute
AttributeGroupRef
Wildcard getAnyAttribute()
Wildcardvoid setAnyAttribute(Wildcard value)
value - allowed object is
Wildcardvoid setName(String value)
value - allowed object is
Stringboolean isMixed()
Booleanvoid setMixed(Boolean value)
value - allowed object is
Booleanboolean isAbstract()
Booleanvoid setAbstract(Boolean value)
value - allowed object is
BooleanList<String> getFinal()
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 final property.
For example, to add a new item, do as follows:
getFinal().add(newItem);
Objects of the following type(s) are allowed in the list
String
List<String> getBlock()
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 block property.
For example, to add a new item, do as follows:
getBlock().add(newItem);
Objects of the following type(s) are allowed in the list
String
Copyright © 2009–2019 Oracle Corporation. All rights reserved.