| /******************************************************************************* |
| * Copyright (c) 2013-2020 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 2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * 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.XmlList; |
| import javax.xml.bind.annotation.XmlSchemaType; |
| import javax.xml.bind.annotation.XmlType; |
| |
| import org.eclipse.om2m.commons.constants.ShortName; |
| |
| /** |
| * <p> |
| * Java class for filterCriteria complex type. |
| * |
| * <p> |
| * The following schema fragment specifies the expected content contained within |
| * this class. |
| * |
| * <pre> |
| * <complexType name="filterCriteria"> |
| * <complexContent> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
| * <sequence> |
| * <element name="createdBefore" type="{http://www.onem2m.org/xml/protocols}timestamp" minOccurs="0"/> |
| * <element name="createdAfter" type="{http://www.onem2m.org/xml/protocols}timestamp" minOccurs="0"/> |
| * <element name="modifiedSince" type="{http://www.onem2m.org/xml/protocols}timestamp" minOccurs="0"/> |
| * <element name="unmodifiedSince" type="{http://www.onem2m.org/xml/protocols}timestamp" minOccurs="0"/> |
| * <element name="stateTagSmaller" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/> |
| * <element name="stateTagBigger" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/> |
| * <element name="expireBefore" type="{http://www.onem2m.org/xml/protocols}timestamp" minOccurs="0"/> |
| * <element name="expireAfter" type="{http://www.onem2m.org/xml/protocols}timestamp" minOccurs="0"/> |
| * <element name="labels" type="{http://www.onem2m.org/xml/protocols}labels" minOccurs="0"/> |
| * <element name="resourceType" type="{http://www.onem2m.org/xml/protocols}resourceType" minOccurs="0"/> |
| * <element name="sizeAbove" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/> |
| * <element name="sizeBelow" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/> |
| * <element name="contentType" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> |
| * <element name="attribute" type="{http://www.onem2m.org/xml/protocols}attribute" maxOccurs="unbounded" minOccurs="0"/> |
| * <element name="filterUsage" type="{http://www.onem2m.org/xml/protocols}filterUsage" minOccurs="0"/> |
| * <element name="limit" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/> |
| * </sequence> |
| * </restriction> |
| * </complexContent> |
| * </complexType> |
| * </pre> |
| * |
| * |
| */ |
| @XmlAccessorType(XmlAccessType.FIELD) |
| @XmlType(name = ShortName.FILTER_CRITERIA) |
| public class FilterCriteria { |
| @XmlElement(name = ShortName.CREATED_BEFORE) |
| protected String createdBefore; |
| @XmlElement(name = ShortName.CREATED_AFTER) |
| protected String createdAfter; |
| @XmlElement(name = ShortName.MODIFIED_SINCE) |
| protected String modifiedSince; |
| @XmlElement(name = ShortName.UNMODIFIED_SINCE) |
| protected String unmodifiedSince; |
| @XmlSchemaType(name = "positiveInteger") |
| @XmlElement(name = ShortName.STATETAG_SMALLER) |
| protected BigInteger stateTagSmaller; |
| @XmlSchemaType(name = "nonNegativeInteger") |
| @XmlElement(name = ShortName.STATETAG_BIGGER) |
| protected BigInteger stateTagBigger; |
| @XmlElement(name = ShortName.EXPIRE_BEFORE) |
| protected String expireBefore; |
| @XmlElement(name = ShortName.EXPIRE_AFTER) |
| protected String expireAfter; |
| @XmlList |
| @XmlElement(name = ShortName.LABELS) |
| protected List<String> labels; |
| @XmlElement(name = ShortName.RESOURCE_TYPE) |
| protected BigInteger resourceType; |
| @XmlSchemaType(name = "nonNegativeInteger") |
| @XmlElement(name = ShortName.SIZE_ABOVE) |
| protected BigInteger sizeAbove; |
| @XmlSchemaType(name = "positiveInteger") |
| @XmlElement(name = ShortName.SIZE_BELOW) |
| protected BigInteger sizeBelow; |
| @XmlElement(name = ShortName.CONTENT_TYPE) |
| protected List<String> contentType; |
| @XmlElement(name = ShortName.ATTRIBUTE) |
| protected List<Attribute> attribute; |
| @XmlElement(name = ShortName.FILTER_USAGE) |
| protected BigInteger filterUsage; |
| @XmlSchemaType(name = "nonNegativeInteger") |
| @XmlElement(name = ShortName.LIMIT) |
| protected BigInteger limit; |
| @XmlSchemaType(name="positiveInteger") |
| @XmlElement(name=ShortName.LEVEL) |
| protected BigInteger level; |
| @XmlSchemaType(name="positiveInteger") |
| @XmlElement(name=ShortName.OFFSET) |
| protected BigInteger offset; |
| |
| |
| /** |
| * Gets the value of the createdBefore property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getCreatedBefore() { |
| return createdBefore; |
| } |
| |
| /** |
| * Sets the value of the createdBefore property. |
| * |
| * @param value |
| * allowed object is {@link String } |
| * |
| */ |
| public void setCreatedBefore(String value) { |
| this.createdBefore = value; |
| } |
| |
| /** |
| * Gets the value of the createdAfter property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getCreatedAfter() { |
| return createdAfter; |
| } |
| |
| /** |
| * Sets the value of the createdAfter property. |
| * |
| * @param value |
| * allowed object is {@link String } |
| * |
| */ |
| public void setCreatedAfter(String value) { |
| this.createdAfter = value; |
| } |
| |
| /** |
| * Gets the value of the modifiedSince property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getModifiedSince() { |
| return modifiedSince; |
| } |
| |
| /** |
| * Sets the value of the modifiedSince property. |
| * |
| * @param value |
| * allowed object is {@link String } |
| * |
| */ |
| public void setModifiedSince(String value) { |
| this.modifiedSince = value; |
| } |
| |
| /** |
| * Gets the value of the unmodifiedSince property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getUnmodifiedSince() { |
| return unmodifiedSince; |
| } |
| |
| /** |
| * Sets the value of the unmodifiedSince property. |
| * |
| * @param value |
| * allowed object is {@link String } |
| * |
| */ |
| public void setUnmodifiedSince(String value) { |
| this.unmodifiedSince = value; |
| } |
| |
| /** |
| * Gets the value of the stateTagSmaller property. |
| * |
| * @return possible object is {@link BigInteger } |
| * |
| */ |
| public BigInteger getStateTagSmaller() { |
| return stateTagSmaller; |
| } |
| |
| /** |
| * Sets the value of the stateTagSmaller property. |
| * |
| * @param value |
| * allowed object is {@link BigInteger } |
| * |
| */ |
| public void setStateTagSmaller(BigInteger value) { |
| this.stateTagSmaller = value; |
| } |
| |
| /** |
| * Gets the value of the stateTagBigger property. |
| * |
| * @return possible object is {@link BigInteger } |
| * |
| */ |
| public BigInteger getStateTagBigger() { |
| return stateTagBigger; |
| } |
| |
| /** |
| * Sets the value of the stateTagBigger property. |
| * |
| * @param value |
| * allowed object is {@link BigInteger } |
| * |
| */ |
| public void setStateTagBigger(BigInteger value) { |
| this.stateTagBigger = value; |
| } |
| |
| /** |
| * Gets the value of the expireBefore property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getExpireBefore() { |
| return expireBefore; |
| } |
| |
| /** |
| * Sets the value of the expireBefore property. |
| * |
| * @param value |
| * allowed object is {@link String } |
| * |
| */ |
| public void setExpireBefore(String value) { |
| this.expireBefore = value; |
| } |
| |
| /** |
| * Gets the value of the expireAfter property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getExpireAfter() { |
| return expireAfter; |
| } |
| |
| /** |
| * Sets the value of the expireAfter property. |
| * |
| * @param value |
| * allowed object is {@link String } |
| * |
| */ |
| public void setExpireAfter(String value) { |
| this.expireAfter = value; |
| } |
| |
| /** |
| * Gets the value of the labels 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 labels property. |
| * |
| * <p> |
| * For example, to add a new item, do as follows: |
| * |
| * <pre> |
| * getLabels().add(newItem); |
| * </pre> |
| * |
| * |
| * <p> |
| * Objects of the following type(s) are allowed in the list {@link String } |
| * |
| * |
| */ |
| public List<String> getLabels() { |
| if (labels == null) { |
| labels = new ArrayList<String>(); |
| } |
| return this.labels; |
| } |
| |
| /** |
| * Gets the value of the resourceType property. |
| * |
| * @return possible object is {@link BigInteger } |
| * |
| */ |
| public BigInteger getResourceType() { |
| return resourceType; |
| } |
| |
| /** |
| * Sets the value of the resourceType property. |
| * |
| * @param value |
| * allowed object is {@link BigInteger } |
| * |
| */ |
| public void setResourceType(BigInteger value) { |
| this.resourceType = value; |
| } |
| |
| /** |
| * Gets the value of the sizeAbove property. |
| * |
| * @return possible object is {@link BigInteger } |
| * |
| */ |
| public BigInteger getSizeAbove() { |
| return sizeAbove; |
| } |
| |
| /** |
| * Sets the value of the sizeAbove property. |
| * |
| * @param value |
| * allowed object is {@link BigInteger } |
| * |
| */ |
| public void setSizeAbove(BigInteger value) { |
| this.sizeAbove = value; |
| } |
| |
| /** |
| * Gets the value of the sizeBelow property. |
| * |
| * @return possible object is {@link BigInteger } |
| * |
| */ |
| public BigInteger getSizeBelow() { |
| return sizeBelow; |
| } |
| |
| /** |
| * Sets the value of the sizeBelow property. |
| * |
| * @param value |
| * allowed object is {@link BigInteger } |
| * |
| */ |
| public void setSizeBelow(BigInteger value) { |
| this.sizeBelow = value; |
| } |
| |
| /** |
| * Gets the value of the contentType 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 contentType property. |
| * |
| * <p> |
| * For example, to add a new item, do as follows: |
| * |
| * <pre> |
| * getContentType().add(newItem); |
| * </pre> |
| * |
| * |
| * <p> |
| * Objects of the following type(s) are allowed in the list {@link String } |
| * |
| * |
| */ |
| public List<String> getContentType() { |
| if (contentType == null) { |
| contentType = new ArrayList<String>(); |
| } |
| return this.contentType; |
| } |
| |
| /** |
| * Gets the value of the attribute 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 attribute property. |
| * |
| * <p> |
| * For example, to add a new item, do as follows: |
| * |
| * <pre> |
| * getAttribute().add(newItem); |
| * </pre> |
| * |
| * |
| * <p> |
| * Objects of the following type(s) are allowed in the list |
| * {@link Attribute } |
| * |
| * |
| */ |
| public List<Attribute> getAttribute() { |
| if (attribute == null) { |
| attribute = new ArrayList<Attribute>(); |
| } |
| return this.attribute; |
| } |
| |
| /** |
| * Gets the value of the filterUsage property. |
| * |
| * @return possible object is {@link BigInteger } |
| * |
| */ |
| public BigInteger getFilterUsage() { |
| return filterUsage; |
| } |
| |
| /** |
| * Sets the value of the filterUsage property. |
| * |
| * @param value |
| * allowed object is {@link BigInteger } |
| * |
| */ |
| public void setFilterUsage(BigInteger value) { |
| this.filterUsage = value; |
| } |
| |
| /** |
| * Gets the value of the limit property. |
| * |
| * @return possible object is {@link BigInteger } |
| * |
| */ |
| public BigInteger getLimit() { |
| return limit; |
| } |
| |
| /** |
| * Sets the value of the limit property. |
| * |
| * @param value |
| * allowed object is {@link BigInteger } |
| * |
| */ |
| public void setLimit(BigInteger value) { |
| this.limit = value; |
| } |
| |
| /** |
| * @return the level |
| */ |
| public BigInteger getLevel() { |
| return level; |
| } |
| |
| /** |
| * @param level the level to set |
| */ |
| public void setLevel(BigInteger level) { |
| this.level = level; |
| } |
| |
| /** |
| * @return the offset |
| */ |
| public BigInteger getOffset() { |
| return offset; |
| } |
| |
| /** |
| * @param offset the offset to set |
| */ |
| public void setOffset(BigInteger offset) { |
| this.offset = offset; |
| } |
| |
| |
| |
| } |