
org.ogema.serialization.jaxb.ScheduleResource Maven / Gradle / Ivy
The newest version!
/**
* Copyright 2011-2018 Fraunhofer-Gesellschaft zur Förderung der angewandten Wissenschaften e.V.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.09.13 at 08:01:54 AM CEST
//
package org.ogema.serialization.jaxb;
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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
*
* Java class for ScheduleResource complex type.
*
*
* The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ScheduleResource">
* <complexContent>
* <extension base="{http://www.ogema-source.net/REST}Resource">
* <sequence>
* <element name="lastUpdateTime" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="lastCalculationTime" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="entry" type="{http://www.ogema-source.net/REST}SampledValue" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ScheduleResource", propOrder = { "interpolationMode", "lastUpdateTime", "lastCalculationTime",
"start", "end", "entry" })
@XmlSeeAlso( { StringSchedule.class, BooleanSchedule.class, IntegerSchedule.class, OpaqueSchedule.class,
TimeSchedule.class, FloatSchedule.class })
public abstract class ScheduleResource extends Resource {
protected String interpolationMode;
protected Long lastUpdateTime;
protected Long lastCalculationTime;
protected Long start;
protected Long end;
@XmlElement(required = true)
protected List entry;
/**
* Ruft den Wert der interpolationMode-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInterpolationMode() {
return interpolationMode;
}
/**
* Legt den Wert der interpolationMode-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setInterpolationMode(String value) {
this.interpolationMode = value;
}
/**
* Gets the value of the lastUpdateTime property.
*
* @return possible object is {@link Long }
*
*/
public Long getLastUpdateTime() {
return lastUpdateTime;
}
/**
* Sets the value of the lastUpdateTime property.
*
* @param value
* allowed object is {@link Long }
*
*/
public void setLastUpdateTime(Long value) {
this.lastUpdateTime = value;
}
/**
* Gets the value of the lastCalculationTime property.
*
* @return possible object is {@link Long }
*
*/
public Long getLastCalculationTime() {
return lastCalculationTime;
}
/**
* Sets the value of the lastCalculationTime property.
*
* @param value
* allowed object is {@link Long }
*
*/
public void setLastCalculationTime(Long value) {
this.lastCalculationTime = value;
}
public Long getStart() {
return start;
}
public void setStart(Long start) {
this.start = start;
}
public Long getEnd() {
return end;
}
public void setEnd(Long end) {
this.end = end;
}
/**
* Gets the value of the entry property.
*
*
* 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 set
method for
* the entry property.
*
*
* For example, to add a new item, do as follows:
*
*
* getEntry().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list {@link SampledValue }
*
*
*/
public List getEntry() {
if (entry == null) {
entry = new ArrayList<>();
}
return this.entry;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy