/******************************************************************************* | |
* Copyright (c) 2013-2015 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 | |
* | |
* Contributors: | |
* Thierry Monteil (Project co-founder) - Management and initial specification, | |
* conception and documentation. | |
* Mahdi Ben Alaya (Project co-founder) - Management and initial specification, | |
* conception, implementation, test and documentation. | |
* Christophe Chassot - Management and initial specification. | |
* Khalil Drira - Management and initial specification. | |
* Yassine Banouar - Initial specification, conception, implementation, test | |
* and documentation. | |
* Guillaume Garzone - Conception, implementation, test and documentation. | |
* Francois Aissaoui - Conception, implementation, test and documentation. | |
******************************************************************************/ | |
// | |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 | |
// 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.06.24 at 02:43:18 AM CEST | |
// | |
package org.eclipse.om2m.commons.resource; | |
import javax.xml.bind.annotation.XmlAccessType; | |
import javax.xml.bind.annotation.XmlAccessorType; | |
import javax.xml.bind.annotation.XmlRootElement; | |
import javax.xml.bind.annotation.XmlSchemaType; | |
/** | |
* <p>Java Class for Scls complex type. | |
* | |
* <p>Scls resource is a collection of {@link Scl} resources each representing a remote | |
* SCLs with which the hosting SCL is registered to or that is registered with the hosting SCL. | |
* The collection only contains {@link Scl} resources, representing remote SCLs. | |
* | |
* <p>The following schema fragment specifies the expected content contained within this class. | |
* | |
* <pre> | |
* <complexType name="Scls"> | |
* <complexContent> | |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
* <sequence> | |
* <element ref="{http://uri.etsi.org/m2m}accessRightID" minOccurs="0"/> | |
* <element ref="{http://uri.etsi.org/m2m}creationTime" minOccurs="0"/> | |
* <element ref="{http://uri.etsi.org/m2m}lastModifiedTime" minOccurs="0"/> | |
* <element ref="{http://uri.etsi.org/m2m}sclCollection" minOccurs="0"/> | |
* <element ref="{http://uri.etsi.org/m2m}subscriptionsReference" minOccurs="0"/> | |
* <element ref="{http://uri.etsi.org/m2m}mgmtObjsReference" minOccurs="0"/> | |
* </sequence> | |
* </restriction> | |
* </complexContent> | |
* </complexType> | |
* </pre> | |
* | |
* | |
*/ | |
@XmlAccessorType(XmlAccessType.FIELD) | |
@XmlRootElement | |
public class Scls extends Resource { | |
@XmlSchemaType(name = "dateTime") | |
protected String creationTime; | |
@XmlSchemaType(name = "dateTime") | |
protected String lastModifiedTime; | |
protected NamedReferenceCollection sclCollection; | |
@XmlSchemaType(name = "anyURI") | |
protected String subscriptionsReference; | |
@XmlSchemaType(name = "anyURI") | |
protected String mgmtObjsReference; | |
/** | |
* Gets the value of the property creationTime. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getCreationTime() { | |
return creationTime; | |
} | |
/** | |
* Sets the value of the property creationTime. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setCreationTime(String value) { | |
this.creationTime = value; | |
} | |
/** | |
* Gets the value of the property lastModifiedTime. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getLastModifiedTime() { | |
return lastModifiedTime; | |
} | |
/** | |
* Sets the value of the property lastModifiedTime. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setLastModifiedTime(String value) { | |
this.lastModifiedTime = value; | |
} | |
/** | |
* Gets the value of the property sclCollection. | |
* | |
* @return | |
* possible object is | |
* {@link NamedReferenceCollection } | |
* | |
*/ | |
public NamedReferenceCollection getSclCollection() { | |
if (sclCollection == null){ | |
sclCollection = new NamedReferenceCollection(); | |
} | |
return sclCollection; | |
} | |
/** | |
* Sets the value of the property sclCollection. | |
* | |
* @param value | |
* allowed object is | |
* {@link NamedReferenceCollection } | |
* | |
*/ | |
public void setSclCollection(NamedReferenceCollection value) { | |
this.sclCollection = value; | |
} | |
/** | |
* Gets the value of the property subscriptionsReference. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getSubscriptionsReference() { | |
if (subscriptionsReference == null && uri != null) { | |
return uri+Refs.SUBSCRIPTIONS_REF; | |
} else { | |
return subscriptionsReference; | |
} | |
} | |
/** | |
* Sets the value of the property subscriptionsReference. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setSubscriptionsReference(String value) { | |
this.subscriptionsReference = value; | |
} | |
/** | |
* Gets the value of the property mgmtObjsReference. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getMgmtObjsReference() { | |
if (mgmtObjsReference == null && uri != null) { | |
return uri+Refs.MGMTOBJS_REF; | |
} else { | |
return mgmtObjsReference; | |
} | |
} | |
/** | |
* Sets the value of the property mgmtObjsReference. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setMgmtObjsReference(String value) { | |
this.mgmtObjsReference = value; | |
} | |
@Override | |
public String toString() { | |
return "Scls [accessRightID=" + accessRightID + ", creationTime=" | |
+ creationTime + ", lastModifiedTime=" + lastModifiedTime | |
+ ", sclCollection=" + sclCollection | |
+ ", subscriptionsReference=" + subscriptionsReference | |
+ ", mgmtObjsReference=" + mgmtObjsReference + ", uri=" + uri | |
+ "]"; | |
} | |
} |