blob: 3e2ec5e8afe9976d47a75fa61770b3c27bbf145a [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.XmlList;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.eclipse.om2m.commons.constants.MgmtDefinitionTypes;
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}announcedMgmtResource">
* &lt;sequence>
* &lt;element name="areaNwkType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="listOfDevices" type="{http://www.onem2m.org/xml/protocols}listOfURIs" minOccurs="0"/>
* &lt;choice minOccurs="0">
* &lt;element name="childResource" type="{http://www.onem2m.org/xml/protocols}childResourceRef" maxOccurs="unbounded"/>
* &lt;element ref="{http://www.onem2m.org/xml/protocols}subscription" maxOccurs="unbounded"/>
* &lt;/choice>
* &lt;/sequence>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = ShortName.AREA_NWK_INFO_ANNC)
public class AreaNwkInfoAnnc extends MgmtObjAnncWithChildren {
@XmlElement(name = ShortName.AREA_NWK_TYPE, required = false, namespace="")
protected String areaNwkType;
@XmlList
@XmlElement(name = ShortName.LIST_DEVICES, required = false, namespace="")
protected List<String> listOfDevices;
public AreaNwkInfoAnnc() {
super();
setMgmtDefinition(MgmtDefinitionTypes.AREA_NWK_INFO);
}
/**
* Gets the value of the areaNwkType property.
*
* @return possible object is {@link String }
*
*/
public String getAreaNwkType() {
return areaNwkType;
}
/**
* Sets the value of the areaNwkType property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAreaNwkType(String value) {
this.areaNwkType = value;
}
/**
* Gets the value of the listOfDevices 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 listOfDevices property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getListOfDevices().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getListOfDevices() {
if (listOfDevices == null) {
listOfDevices = new ArrayList<String>();
}
return this.listOfDevices;
}
}