// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 // 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: 2012.07.24 at 11:42:28 PM CEST // package eu.prestoprime.model.ext.qa; import java.io.Serializable; 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.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * <p> * Java class for OrganizationType complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType name="OrganizationType"> * <complexContent> * <extension base="{urn:mpeg:mpeg7:schema:2004}AgentType"> * <sequence> * <element name="Name" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <simpleContent> * <extension base="<urn:mpeg:mpeg7:schema:2004>TextualType"> * <attribute name="type"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> * <enumeration value="former"/> * <enumeration value="variant"/> * <enumeration value="main"/> * </restriction> * </simpleType> * </attribute> * </extension> * </simpleContent> * </complexType> * </element> * <element name="NameTerm" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <extension base="{urn:mpeg:mpeg7:schema:2004}ControlledTermUseType"> * <attribute name="type"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> * <enumeration value="former"/> * <enumeration value="variant"/> * <enumeration value="main"/> * </restriction> * </simpleType> * </attribute> * </extension> * </complexContent> * </complexType> * </element> * <element name="Kind" type="{urn:mpeg:mpeg7:schema:2004}TermUseType" minOccurs="0"/> * <element name="Contact" type="{urn:mpeg:mpeg7:schema:2004}AgentType" maxOccurs="unbounded" minOccurs="0"/> * <element name="Address" type="{urn:mpeg:mpeg7:schema:2004}PlaceType" minOccurs="0"/> * <element name="ElectronicAddress" type="{urn:mpeg:mpeg7:schema:2004}ElectronicAddressType" minOccurs="0"/> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "OrganizationType", propOrder = { "name", "nameTerm", "kind", "contact", "address", "electronicAddress" }) public class OrganizationType extends AgentType implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(name = "Name") protected List<OrganizationType.Name> name; @XmlElement(name = "NameTerm") protected List<OrganizationType.NameTerm> nameTerm; @XmlElement(name = "Kind") protected TermUseType kind; @XmlElement(name = "Contact") protected List<AgentType> contact; @XmlElement(name = "Address") protected PlaceType address; @XmlElement(name = "ElectronicAddress") protected ElectronicAddressType electronicAddress; /** * Gets the value of the name 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 name property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getName().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link OrganizationType.Name } * * */ public List<OrganizationType.Name> getName() { if (name == null) { name = new ArrayList<OrganizationType.Name>(); } return this.name; } /** * Gets the value of the nameTerm 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 nameTerm property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getNameTerm().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link OrganizationType.NameTerm } * * */ public List<OrganizationType.NameTerm> getNameTerm() { if (nameTerm == null) { nameTerm = new ArrayList<OrganizationType.NameTerm>(); } return this.nameTerm; } /** * Gets the value of the kind property. * * @return possible object is {@link TermUseType } * */ public TermUseType getKind() { return kind; } /** * Sets the value of the kind property. * * @param value * allowed object is {@link TermUseType } * */ public void setKind(TermUseType value) { this.kind = value; } /** * Gets the value of the contact 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 contact property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getContact().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link AgentType } * * */ public List<AgentType> getContact() { if (contact == null) { contact = new ArrayList<AgentType>(); } return this.contact; } /** * Gets the value of the address property. * * @return possible object is {@link PlaceType } * */ public PlaceType getAddress() { return address; } /** * Sets the value of the address property. * * @param value * allowed object is {@link PlaceType } * */ public void setAddress(PlaceType value) { this.address = value; } /** * Gets the value of the electronicAddress property. * * @return possible object is {@link ElectronicAddressType } * */ public ElectronicAddressType getElectronicAddress() { return electronicAddress; } /** * Sets the value of the electronicAddress property. * * @param value * allowed object is {@link ElectronicAddressType } * */ public void setElectronicAddress(ElectronicAddressType value) { this.electronicAddress = value; } /** * <p> * Java class for anonymous complex type. * * <p> * The following schema fragment specifies the expected content contained * within this class. * * <pre> * <complexType> * <simpleContent> * <extension base="<urn:mpeg:mpeg7:schema:2004>TextualType"> * <attribute name="type"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> * <enumeration value="former"/> * <enumeration value="variant"/> * <enumeration value="main"/> * </restriction> * </simpleType> * </attribute> * </extension> * </simpleContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Name extends TextualType implements Serializable { private final static long serialVersionUID = 1L; @XmlAttribute(name = "type") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String type; /** * Gets the value of the type property. * * @return possible object is {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is {@link String } * */ public void setType(String value) { this.type = value; } } /** * <p> * Java class for anonymous complex type. * * <p> * The following schema fragment specifies the expected content contained * within this class. * * <pre> * <complexType> * <complexContent> * <extension base="{urn:mpeg:mpeg7:schema:2004}ControlledTermUseType"> * <attribute name="type"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> * <enumeration value="former"/> * <enumeration value="variant"/> * <enumeration value="main"/> * </restriction> * </simpleType> * </attribute> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class NameTerm extends ControlledTermUseType implements Serializable { private final static long serialVersionUID = 1L; @XmlAttribute(name = "type") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String type; /** * Gets the value of the type property. * * @return possible object is {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is {@link String } * */ public void setType(String value) { this.type = value; } } }