public class ChildEntity
extends java.lang.Object
implements java.io.Serializable
Java class for child-entity complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="child-entity">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="child-record" type="{http://www.example.org}child-record" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
ChildEntity() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
getChildRecord()
Gets the value of the childRecord property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
public java.util.List getChildRecord()
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 childRecord property.
For example, to add a new item, do as follows:
getChildRecord().add(newItem);
Objects of the following type(s) are allowed in the list
ChildRecord
public java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
String