Struct.java
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
//
package org.apache.cxf.binding.corba.wsdl;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* <p>Java class for struct complex type</p>.
*
* <p>The following schema fragment specifies the expected content contained within this class.</p>
*
* <pre>{@code
* <complexType name="struct">
* <complexContent>
* <extension base="{http://cxf.apache.org/bindings/corba}namedType">
* <sequence>
* <element name="member" type="{http://cxf.apache.org/bindings/corba}memberType" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "struct", namespace = "http://cxf.apache.org/bindings/corba", propOrder = {
"member"
})
public class Struct
extends NamedType
{
@XmlElement(namespace = "http://cxf.apache.org/bindings/corba")
protected List<MemberType> member;
/**
* Gets the value of the member 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 member property.</p>
*
* <p>
* For example, to add a new item, do as follows:
* </p>
* <pre>
* getMember().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link MemberType }
* </p>
*
*
* @return
* The value of the member property.
*/
public List<MemberType> getMember() {
if (member == null) {
member = new ArrayList<>();
}
return this.member;
}
public boolean isSetMember() {
return ((this.member!= null)&&(!this.member.isEmpty()));
}
public void unsetMember() {
this.member = null;
}
}