public abstract class AbstractGroup extends Annotated
Java class for group complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="group">
<complexContent>
<extension base="{http://www.w3.org/2001/XMLSchema}annotated">
<group ref="{http://www.w3.org/2001/XMLSchema}particle" maxOccurs="unbounded" minOccurs="0"/>
<attGroup ref="{http://www.w3.org/2001/XMLSchema}occurs"/>
<attGroup ref="{http://www.w3.org/2001/XMLSchema}defRef"/>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
elementsAndGroupsAndAlls |
protected String |
maxOccurs |
protected BigInteger |
minOccurs |
protected String |
name |
protected QName |
ref |
annotation, id| Constructor and Description |
|---|
AbstractGroup() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getElementsAndGroupsAndAlls()
Gets the value of the elementsAndGroupsAndAlls property.
|
String |
getMaxOccurs()
Gets the value of the maxOccurs property.
|
BigInteger |
getMinOccurs()
Gets the value of the minOccurs property.
|
String |
getName()
Gets the value of the name property.
|
QName |
getRef()
Gets the value of the ref property.
|
boolean |
hasMaxOccurs() |
boolean |
hasMinOccurs() |
void |
setMaxOccurs(String value)
Sets the value of the maxOccurs property.
|
void |
setMinOccurs(BigInteger value)
Sets the value of the minOccurs property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setRef(QName value)
Sets the value of the ref property.
|
getAnnotation, getId, setAnnotation, setIdgetOtherAttributesprotected BigInteger minOccurs
protected String maxOccurs
protected String name
protected QName ref
public List<Object> getElementsAndGroupsAndAlls()
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 elementsAndGroupsAndAlls property.
For example, to add a new item, do as follows:
getElementsAndGroupsAndAlls().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<LocalElement>
JAXBElement<All>
JAXBElement<ExplicitGroup>
Any
JAXBElement<GroupRef>
JAXBElement<ExplicitGroup>
public boolean hasMinOccurs()
public BigInteger getMinOccurs()
BigIntegerpublic void setMinOccurs(BigInteger value)
value - allowed object is
BigIntegerpublic boolean hasMaxOccurs()
public String getMaxOccurs()
Stringpublic void setMaxOccurs(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
StringCopyright © 2017. All rights reserved.