/******************************************************************************* | |
* 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:39:39 AM CEST | |
// | |
package org.eclipse.om2m.commons.resource; | |
import javax.persistence.Entity; | |
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.XmlRootElement; | |
import javax.xml.bind.annotation.XmlSchemaType; | |
/** | |
* <p>Java Class for LocationContainerAnnc complex type. | |
* | |
* <p>LocationContainerAnnc resource represents an active announcement of a registered | |
* {@link AccessRight} in an other SCL. LocationContainerAnnc resource keeps a link | |
* to the original resource. That will be the reference returned during discovery. | |
* | |
* <p>The following schema fragment specifies the expected content contained within this class. | |
* | |
* <pre> | |
* <complexType name="LocationContainerAnnc"> | |
* <complexContent> | |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
* <sequence> | |
* <element ref="{http://uri.etsi.org/m2m}link"/> | |
* <element ref="{http://uri.etsi.org/m2m}accessRightID" minOccurs="0"/> | |
* <element ref="{http://uri.etsi.org/m2m}searchStrings" minOccurs="0"/> | |
* <element ref="{http://uri.etsi.org/m2m}expirationTime" minOccurs="0"/> | |
* </sequence> | |
* <attribute ref="{http://uri.etsi.org/m2m}id"/> | |
* </restriction> | |
* </complexContent> | |
* </complexType> | |
* </pre> | |
* | |
* | |
*/ | |
@XmlAccessorType(XmlAccessType.FIELD) | |
@XmlRootElement | |
@Entity(name=DBEntities.LOCATION_CONTAINER_ANNC_ENTITY) | |
public class LocationContainerAnnc extends Resource{ | |
@XmlElement(required = true) | |
@XmlSchemaType(name = "anyURI") | |
protected String link; | |
@XmlSchemaType(name = "dateTime") | |
protected String expirationTime; | |
@XmlAttribute(name = "id", namespace = "http://uri.etsi.org/m2m") | |
@XmlSchemaType(name = "anyURI") | |
protected String id; | |
/** | |
* Gets the value of the property link. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getLink() { | |
return link; | |
} | |
/** | |
* Sets the value of the property link. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setLink(String value) { | |
this.link = value; | |
} | |
/** | |
* Gets the value of the property expirationTime. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getExpirationTime() { | |
return expirationTime; | |
} | |
/** | |
* Sets the value of the property expirationTime. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setExpirationTime(String value) { | |
this.expirationTime = value; | |
} | |
/** | |
* Gets the value of the property id. | |
* | |
* @return | |
* possible object is | |
* {@link String } | |
* | |
*/ | |
public String getId() { | |
return id; | |
} | |
/** | |
* Sets the value of the property id. | |
* | |
* @param value | |
* allowed object is | |
* {@link String } | |
* | |
*/ | |
public void setId(String value) { | |
this.id = value; | |
} | |
} |