// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2013.08.09 at 10:45:26 AM EST // package org.jentrata.ebxml.cpa; 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.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element ref="{http://www.oasis-open.org/committees/ebxml-cppa/schema/cpp-cpa-2_0.xsd}PartyInfo" maxOccurs="unbounded"/> * <element ref="{http://www.oasis-open.org/committees/ebxml-cppa/schema/cpp-cpa-2_0.xsd}SimplePart" maxOccurs="unbounded"/> * <element ref="{http://www.oasis-open.org/committees/ebxml-cppa/schema/cpp-cpa-2_0.xsd}Packaging" maxOccurs="unbounded"/> * <element ref="{http://www.oasis-open.org/committees/ebxml-cppa/schema/cpp-cpa-2_0.xsd}Signature" minOccurs="0"/> * <element ref="{http://www.oasis-open.org/committees/ebxml-cppa/schema/cpp-cpa-2_0.xsd}Comment" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="cppid" use="required" type="{http://www.oasis-open.org/committees/ebxml-cppa/schema/cpp-cpa-2_0.xsd}non-empty-string" /> * <attribute ref="{http://www.oasis-open.org/committees/ebxml-cppa/schema/cpp-cpa-2_0.xsd}version use="required""/> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "partyInfo", "simplePart", "packaging", "signature", "comment" }) @XmlRootElement(name = "CollaborationProtocolProfile") public class CollaborationProtocolProfile { @XmlElement(name = "PartyInfo", required = true) protected List<PartyInfo> partyInfo; @XmlElement(name = "SimplePart", required = true) protected List<SimplePart> simplePart; @XmlElement(name = "Packaging", required = true) protected List<Packaging> packaging; @XmlElement(name = "Signature") protected Signature signature; @XmlElement(name = "Comment") protected List<Comment> comment; @XmlAttribute(name = "cppid", namespace = "http://www.oasis-open.org/committees/ebxml-cppa/schema/cpp-cpa-2_0.xsd", required = true) protected String cppid; @XmlAttribute(name = "version", namespace = "http://www.oasis-open.org/committees/ebxml-cppa/schema/cpp-cpa-2_0.xsd", required = true) protected String version; /** * Gets the value of the partyInfo 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 partyInfo property. * * <p> * For example, to add a new item, do as follows: * <pre> * getPartyInfo().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link PartyInfo } * * */ public List<PartyInfo> getPartyInfo() { if (partyInfo == null) { partyInfo = new ArrayList<PartyInfo>(); } return this.partyInfo; } /** * Gets the value of the simplePart 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 simplePart property. * * <p> * For example, to add a new item, do as follows: * <pre> * getSimplePart().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link SimplePart } * * */ public List<SimplePart> getSimplePart() { if (simplePart == null) { simplePart = new ArrayList<SimplePart>(); } return this.simplePart; } /** * Gets the value of the packaging 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 packaging property. * * <p> * For example, to add a new item, do as follows: * <pre> * getPackaging().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Packaging } * * */ public List<Packaging> getPackaging() { if (packaging == null) { packaging = new ArrayList<Packaging>(); } return this.packaging; } /** * Gets the value of the signature property. * * @return * possible object is * {@link Signature } * */ public Signature getSignature() { return signature; } /** * Sets the value of the signature property. * * @param value * allowed object is * {@link Signature } * */ public void setSignature(Signature value) { this.signature = value; } /** * Gets the value of the comment 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 comment property. * * <p> * For example, to add a new item, do as follows: * <pre> * getComment().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Comment } * * */ public List<Comment> getComment() { if (comment == null) { comment = new ArrayList<Comment>(); } return this.comment; } /** * Gets the value of the cppid property. * * @return * possible object is * {@link String } * */ public String getCppid() { return cppid; } /** * Sets the value of the cppid property. * * @param value * allowed object is * {@link String } * */ public void setCppid(String value) { this.cppid = value; } /** * Gets the value of the version property. * * @return * possible object is * {@link String } * */ public String getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is * {@link String } * */ public void setVersion(String value) { this.version = value; } }