public class AbstractPojos
extends java.lang.Object
Java class for abstractPojos complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="abstractPojos">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded" minOccurs="0">
<element name="bean" type="{}bean"/>
<element name="enum" type="{}enum"/>
</choice>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<AbstractPojo> |
beanOrEnum |
| Constructor and Description |
|---|
AbstractPojos() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AbstractPojo> |
getBeanOrEnum()
Gets the value of the beanOrEnum property.
|
protected java.util.List<AbstractPojo> beanOrEnum
public java.util.List<AbstractPojo> getBeanOrEnum()
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 beanOrEnum property.
For example, to add a new item, do as follows:
getBeanOrEnum().add(newItem);
Objects of the following type(s) are allowed in the list
Bean
Enum
Copyright © 2018 SAP SE. All Rights Reserved.