@Contract @Hk2XmlPreGenerate public interface Group 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"/> <anyAttribute processContents='lax' namespace='##other'/> </extension> </complexContent> </complexType>
Modifier and Type | Method and Description |
---|---|
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.
|
List<Object> |
getParticle()
Gets the value of the particle property.
|
QName |
getRef()
Gets the value of the ref property.
|
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 |
setParticle(List<Object> particle) |
void |
setRef(QName value)
Sets the value of the ref property.
|
getAnnotation, getId, setAnnotation, setId
getOtherAttributes, setOtherAttributes
List<Object> getParticle()
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 particle property.
For example, to add a new item, do as follows:
getParticle().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement
<
GroupRef
>
JAXBElement
<
ExplicitGroup
>
JAXBElement
<
All
>
JAXBElement
<
LocalElement
>
JAXBElement
<
ExplicitGroup
>
Any
BigInteger getMinOccurs()
BigInteger
void setMinOccurs(BigInteger value)
value
- allowed object is
BigInteger
String getMaxOccurs()
String
void setMaxOccurs(String value)
value
- allowed object is
String
void setName(String value)
value
- allowed object is
String
Copyright © 2009–2023 Oracle Corporation. All rights reserved.