| /******************************************************************************* |
| * 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.math.BigInteger; |
| 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> |
| * <complexType> |
| * <complexContent> |
| * <extension base="{http://www.onem2m.org/xml/protocols}resource"> |
| * <sequence> |
| * <element name="accessControlPolicyIDs" type="{http://www.onem2m.org/xml/protocols}acpType" minOccurs="0"/> |
| * <element name="cseType" type="{http://www.onem2m.org/xml/protocols}cseTypeID" minOccurs="0"/> |
| * <element name="CSE-ID" type="{http://www.onem2m.org/xml/protocols}ID"/> |
| * <element name="supportedResourceType"> |
| * <simpleType> |
| * <list itemType="{http://www.onem2m.org/xml/protocols}resourceType" /> |
| * </simpleType> |
| * </element> |
| * <element name="pointOfAccess" type="{http://www.onem2m.org/xml/protocols}pOAList"/> |
| * <element name="nodeLink" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> |
| * <choice minOccurs="0"> |
| * <element name="childResource" type="{http://www.onem2m.org/xml/protocols}childResourceRef" maxOccurs="unbounded"/> |
| * <choice maxOccurs="unbounded"> |
| * <element ref="{http://www.onem2m.org/xml/protocols}remoteCSE"/> |
| * <element ref="{http://www.onem2m.org/xml/protocols}node"/> |
| * <element ref="{http://www.onem2m.org/xml/protocols}AE"/> |
| * <element ref="{http://www.onem2m.org/xml/protocols}container"/> |
| * <element ref="{http://www.onem2m.org/xml/protocols}group"/> |
| * <element ref="{http://www.onem2m.org/xml/protocols}accessControlPolicy"/> |
| * <element ref="{http://www.onem2m.org/xml/protocols}subscription"/> |
| * <element ref="{http://www.onem2m.org/xml/protocols}mgmtCmd"/> |
| * <element ref="{http://www.onem2m.org/xml/protocols}locationPolicy"/> |
| * <element ref="{http://www.onem2m.org/xml/protocols}statsConfig"/> |
| * <element ref="{http://www.onem2m.org/xml/protocols}statsCollect"/> |
| * <element ref="{http://www.onem2m.org/xml/protocols}request"/> |
| * <element ref="{http://www.onem2m.org/xml/protocols}delivery"/> |
| * <element ref="{http://www.onem2m.org/xml/protocols}schedule"/> |
| * <element ref="{http://www.onem2m.org/xml/protocols}m2mServiceSubscriptionProfile"/> |
| * <element ref="{http://www.onem2m.org/xml/protocols}serviceSubscribedAppRule"/> |
| * </choice> |
| * </choice> |
| * </sequence> |
| * </extension> |
| * </complexContent> |
| * </complexType> |
| * </pre> |
| * |
| * |
| */ |
| @XmlAccessorType(XmlAccessType.FIELD) |
| @XmlType(name = "", propOrder = { "accessControlPolicyIDs", "dynamicAuthorizationConsultationIDs", |
| "cseType", "cseid", "supportedResourceType", "pointOfAccess", "nodeLink", "childResource", |
| "remoteCSEOrNodeOrAE" }) |
| @XmlRootElement(name = ShortName.CSE_BASE) |
| public class CSEBase extends Resource { |
| |
| @XmlList |
| @XmlElement(name=ShortName.ACP_IDS, required=false, namespace="") |
| protected List<String> accessControlPolicyIDs; |
| @XmlList |
| @XmlElement(name=ShortName.DAC_IDS, required=false, namespace="") |
| protected List<String> dynamicAuthorizationConsultationIDs; |
| @XmlElement(name=ShortName.CSE_TYPE, required=false, namespace="") |
| protected BigInteger cseType; |
| @XmlElement(name = ShortName.CSE_ID, required = true, namespace="") |
| protected String cseid; |
| @XmlList |
| @XmlElement(name=ShortName.SRT, required = true, namespace="") |
| protected List<BigInteger> supportedResourceType; |
| @XmlList |
| @XmlElement(name=ShortName.POA, required = true, namespace="") |
| protected List<String> pointOfAccess; |
| @XmlSchemaType(name = "anyURI") |
| @XmlElement(name=ShortName.NODE_LINK, required=false, namespace="") |
| protected String nodeLink; |
| @XmlElement(name=ShortName.CHILD_RESOURCE, namespace="") |
| protected List<ChildResourceRef> childResource; |
| |
| @XmlElements({ |
| @XmlElement(name = ShortName.REMOTE_CSE, namespace = "http://www.onem2m.org/xml/protocols", type = RemoteCSE.class), |
| @XmlElement(name = ShortName.NODE, namespace = "http://www.onem2m.org/xml/protocols", type = Node.class), |
| @XmlElement(name = ShortName.AE, namespace = "http://www.onem2m.org/xml/protocols", type = AE.class), |
| @XmlElement(name = ShortName.CNT, namespace = "http://www.onem2m.org/xml/protocols", type = Container.class), |
| @XmlElement(name = ShortName.GROUP, namespace = "http://www.onem2m.org/xml/protocols", type = Group.class), |
| @XmlElement(name = ShortName.ACP, namespace = "http://www.onem2m.org/xml/protocols", type = AccessControlPolicy.class), |
| @XmlElement(name = ShortName.DAC, namespace = "http://www.onem2m.org/xml/protocols", type = DynamicAuthorizationConsultation.class), |
| @XmlElement(name = ShortName.SUB, namespace = "http://www.onem2m.org/xml/protocols", type = Subscription.class), |
| @XmlElement(name = "mgmtCmd", namespace = "http://www.onem2m.org/xml/protocols", type = MgmtCmd.class), |
| @XmlElement(name = "locationPolicy", namespace = "http://www.onem2m.org/xml/protocols", type = LocationPolicy.class), |
| @XmlElement(name = "statsConfig", namespace = "http://www.onem2m.org/xml/protocols", type = StatsConfig.class), |
| @XmlElement(name = "statsCollect", namespace = "http://www.onem2m.org/xml/protocols", type = StatsCollect.class), |
| @XmlElement(name = ShortName.REQ, namespace = "http://www.onem2m.org/xml/protocols", type = Request.class), |
| @XmlElement(name = "delivery", namespace = "http://www.onem2m.org/xml/protocols", type = Delivery.class), |
| @XmlElement(name = ShortName.SCHEDULE, namespace = "http://www.onem2m.org/xml/protocols", type = Schedule.class), |
| @XmlElement(name = "m2mServiceSubscriptionProfile", namespace = "http://www.onem2m.org/xml/protocols", type = M2MServiceSubscriptionProfile.class), |
| @XmlElement(name = "serviceSubscribedAppRule", namespace = "http://www.onem2m.org/xml/protocols", type = ServiceSubscribedAppRule.class) }) |
| protected List<Resource> remoteCSEOrNodeOrAE; |
| |
| /** |
| * Gets the value of the accessControlPolicyIDs 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 accessControlPolicyIDs property. |
| * |
| * <p> |
| * For example, to add a new item, do as follows: |
| * |
| * <pre> |
| * getAccessControlPolicyIDs().add(newItem); |
| * </pre> |
| * |
| * |
| * <p> |
| * Objects of the following type(s) are allowed in the list {@link String } |
| * |
| * |
| */ |
| public List<String> getAccessControlPolicyIDs() { |
| if (accessControlPolicyIDs == null) { |
| accessControlPolicyIDs = new ArrayList<String>(); |
| } |
| return this.accessControlPolicyIDs; |
| } |
| |
| /** |
| * Gets the value of the dynamicAuthorizationConsultationIDs 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 dynamicAuthorizationConsultationIDs property. |
| * |
| * <p> |
| * For example, to add a new item, do as follows: |
| * |
| * <pre> |
| * getDynamicAuthorizationConsultationIDs().add(newItem); |
| * </pre> |
| * |
| * |
| * <p> |
| * Objects of the following type(s) are allowed in the list {@link String } |
| * |
| * |
| */ |
| public List<String> getDynamicAuthorizationConsultationIDs() { |
| if (dynamicAuthorizationConsultationIDs == null) { |
| dynamicAuthorizationConsultationIDs = new ArrayList<String>(); |
| } |
| return this.dynamicAuthorizationConsultationIDs; |
| } |
| |
| |
| /** |
| * Gets the value of the cseType property. |
| * |
| * @return possible object is {@link BigInteger } |
| * |
| */ |
| public BigInteger getCseType() { |
| return cseType; |
| } |
| |
| /** |
| * Sets the value of the cseType property. |
| * |
| * @param value |
| * allowed object is {@link BigInteger } |
| * |
| */ |
| public void setCseType(BigInteger value) { |
| this.cseType = value; |
| } |
| |
| /** |
| * Gets the value of the cseid property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getCSEID() { |
| return cseid; |
| } |
| |
| /** |
| * Sets the value of the cseid property. |
| * |
| * @param value |
| * allowed object is {@link String } |
| * |
| */ |
| public void setCSEID(String value) { |
| this.cseid = value; |
| } |
| |
| /** |
| * Gets the value of the supportedResourceType 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 supportedResourceType property. |
| * |
| * <p> |
| * For example, to add a new item, do as follows: |
| * |
| * <pre> |
| * getSupportedResourceType().add(newItem); |
| * </pre> |
| * |
| * |
| * <p> |
| * Objects of the following type(s) are allowed in the list |
| * {@link BigInteger } |
| * |
| * |
| */ |
| public List<BigInteger> getSupportedResourceType() { |
| if (supportedResourceType == null) { |
| supportedResourceType = new ArrayList<BigInteger>(); |
| } |
| return this.supportedResourceType; |
| } |
| |
| /** |
| * 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 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 remoteCSEOrNodeOrAE 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 remoteCSEOrNodeOrAE property. |
| * |
| * <p> |
| * For example, to add a new item, do as follows: |
| * |
| * <pre> |
| * getRemoteCSEOrNodeOrAE().add(newItem); |
| * </pre> |
| * |
| * |
| * <p> |
| * Objects of the following type(s) are allowed in the list |
| * {@link RemoteCSE } {@link Node } {@link AE } {@link Container } {@link Group } |
| * {@link AccessControlPolicy } {@link Subscription } {@link MgmtCmd } |
| * {@link LocationPolicy } {@link StatsConfig } {@link StatsCollect } |
| * {@link Request } {@link Delivery } {@link Schedule } |
| * {@link M2MServiceSubscriptionProfile } {@link ServiceSubscribedAppRule } |
| * |
| * |
| */ |
| public List<Resource> getRemoteCSEOrNodeOrAE() { |
| if (remoteCSEOrNodeOrAE == null) { |
| remoteCSEOrNodeOrAE = new ArrayList<Resource>(); |
| } |
| return this.remoteCSEOrNodeOrAE; |
| } |
| |
| } |