blob: c9ca9b9829e48d0f676ec4e49e56cb9ba8c609a4 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013-2016 LAAS-CNRS (www.laas.fr)
* 7 Colonel Roche 31077 Toulouse - France
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Initial Contributors:
* Thierry Monteil : Project manager, technical co-manager
* Mahdi Ben Alaya : Technical co-manager
* Samir Medjiah : Technical co-manager
* Khalil Drira : Strategy expert
* Guillaume Garzone : Developer
* François Aïssaoui : Developer
*
* New contributors :
*******************************************************************************/
//
// 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: 2015.04.15 at 03:56:27 PM CEST
//
package org.eclipse.om2m.commons.resource;
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.XmlElements;
import javax.xml.bind.annotation.XmlList;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import org.eclipse.om2m.commons.constants.ShortName;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;extension base="{http://www.onem2m.org/xml/protocols}announcedResource">
* &lt;sequence>
* &lt;element name="appName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="App-ID" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="AE-ID" type="{http://www.onem2m.org/xml/protocols}ID"/>
* &lt;element name="pointOfAccess" type="{http://www.onem2m.org/xml/protocols}pOAList" minOccurs="0"/>
* &lt;element name="ontologyRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
* &lt;element name="nodeLink" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
* &lt;choice minOccurs="0">
* &lt;element name="childResource" type="{http://www.onem2m.org/xml/protocols}childResourceRef" maxOccurs="unbounded"/>
* &lt;choice maxOccurs="unbounded">
* &lt;element ref="{http://www.onem2m.org/xml/protocols}container"/>
* &lt;element ref="{http://www.onem2m.org/xml/protocols}containerAnnc"/>
* &lt;element ref="{http://www.onem2m.org/xml/protocols}group"/>
* &lt;element ref="{http://www.onem2m.org/xml/protocols}groupAnnc"/>
* &lt;element ref="{http://www.onem2m.org/xml/protocols}accessControlPolicy"/>
* &lt;element ref="{http://www.onem2m.org/xml/protocols}accessControlPolicyAnnc"/>
* &lt;element ref="{http://www.onem2m.org/xml/protocols}subscription"/>
* &lt;element ref="{http://www.onem2m.org/xml/protocols}pollingChannel"/>
* &lt;/choice>
* &lt;/choice>
* &lt;/sequence>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = ShortName.AEA)
public class AEAnnc extends AnnouncedResource {
@XmlElement(name = ShortName.APP_NAME)
protected String appName;
@XmlElement(name = ShortName.APP_ID, required = true)
protected String appID;
@XmlElement(name = ShortName.AE_ID, required = true)
protected String aeid;
@XmlList
@XmlElement(name = ShortName.POA)
protected List<String> pointOfAccess;
@XmlSchemaType(name = "anyURI")
@XmlElement(name = ShortName.ONTOLOGY_REF)
protected String ontologyRef;
@XmlSchemaType(name = "anyURI")
@XmlElement(name = ShortName.NODE_LINK)
protected String nodeLink;
@XmlElement(name = ShortName.CHILD_RESOURCE)
protected List<ChildResourceRef> childResource;
@XmlElements({
@XmlElement(name = "container", namespace = "http://www.onem2m.org/xml/protocols", type = Container.class),
@XmlElement(name = "containerAnnc", namespace = "http://www.onem2m.org/xml/protocols", type = ContainerAnnc.class),
@XmlElement(name = "group", namespace = "http://www.onem2m.org/xml/protocols", type = Group.class),
@XmlElement(name = "groupAnnc", namespace = "http://www.onem2m.org/xml/protocols", type = GroupAnnc.class),
@XmlElement(name = "accessControlPolicy", namespace = "http://www.onem2m.org/xml/protocols", type = AccessControlPolicy.class),
@XmlElement(name = "accessControlPolicyAnnc", namespace = "http://www.onem2m.org/xml/protocols", type = AccessControlPolicyAnnc.class),
@XmlElement(name = "subscription", namespace = "http://www.onem2m.org/xml/protocols", type = Subscription.class),
@XmlElement(name = "pollingChannel", namespace = "http://www.onem2m.org/xml/protocols", type = PollingChannel.class) })
protected List<Resource> containerOrContainerAnncOrGroup;
/**
* Gets the value of the appName property.
*
* @return possible object is {@link String }
*
*/
public String getAppName() {
return appName;
}
/**
* Sets the value of the appName property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAppName(String value) {
this.appName = value;
}
/**
* Gets the value of the appID property.
*
* @return possible object is {@link String }
*
*/
public String getAppID() {
return appID;
}
/**
* Sets the value of the appID property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAppID(String value) {
this.appID = value;
}
/**
* Gets the value of the aeid property.
*
* @return possible object is {@link String }
*
*/
public String getAEID() {
return aeid;
}
/**
* Sets the value of the aeid property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAEID(String value) {
this.aeid = value;
}
/**
* Gets the value of the pointOfAccess 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 pointOfAccess property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getPointOfAccess().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getPointOfAccess() {
if (pointOfAccess == null) {
pointOfAccess = new ArrayList<String>();
}
return this.pointOfAccess;
}
/**
* Gets the value of the ontologyRef property.
*
* @return possible object is {@link String }
*
*/
public String getOntologyRef() {
return ontologyRef;
}
/**
* Sets the value of the ontologyRef property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setOntologyRef(String value) {
this.ontologyRef = value;
}
/**
* Gets the value of the nodeLink property.
*
* @return possible object is {@link String }
*
*/
public String getNodeLink() {
return nodeLink;
}
/**
* Sets the value of the nodeLink property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setNodeLink(String value) {
this.nodeLink = value;
}
/**
* Gets the value of the childResource 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 childResource property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getChildResource().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ChildResourceRef }
*
*
*/
public List<ChildResourceRef> getChildResource() {
if (childResource == null) {
childResource = new ArrayList<ChildResourceRef>();
}
return this.childResource;
}
/**
* Gets the value of the containerOrContainerAnncOrGroup 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 containerOrContainerAnncOrGroup property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getContainerOrContainerAnncOrGroup().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Container } {@link ContainerAnnc } {@link Group } {@link GroupAnnc }
* {@link AccessControlPolicy } {@link AccessControlPolicyAnnc }
* {@link Subscription } {@link PollingChannel }
*
*
*/
public List<Resource> getContainerOrContainerAnncOrGroup() {
if (containerOrContainerAnncOrGroup == null) {
containerOrContainerAnncOrGroup = new ArrayList<Resource>();
}
return this.containerOrContainerAnncOrGroup;
}
}