package element_as_parametrisation_2; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for family complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="family"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <choice> * <element name="family-member" type="{}family-member" maxOccurs="unbounded"/> * <element name="parent" type="{http://www.w3.org/2001/XMLSchema}boolean"/> * </choice> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "family", propOrder = { "familyMember", "parent" }) public class Family { @XmlElement(name = "family-member") protected List<FamilyMember> familyMember; protected Boolean parent; /** * Gets the value of the familyMember property. * * <p> * 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 <CODE>set</CODE> method for the familyMember property. * * <p> * For example, to add a new item, do as follows: * <pre> * getFamilyMember().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link FamilyMember } * * */ public List<FamilyMember> getFamilyMember() { if (familyMember == null) { familyMember = new ArrayList<FamilyMember>(); } return this.familyMember; } /** * Gets the value of the parent property. * * @return * possible object is * {@link Boolean } * */ public Boolean isParent() { return parent; } /** * Sets the value of the parent property. * * @param value * allowed object is * {@link Boolean } * */ public void setParent(Boolean value) { this.parent = value; } }