All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dmg.pmml.time_series.Level Maven / Gradle / Ivy

There is a newer version: 1.6.11
Show newest version

package org.dmg.pmml.time_series;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.dmg.pmml.PMMLObject;
import org.dmg.pmml.Visitor;
import org.dmg.pmml.VisitorAction;
import org.jpmml.schema.Added;
import org.jpmml.schema.Removed;
import org.jpmml.schema.Version;


/**
 * 

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <attribute name="alpha" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
 *       <attribute name="quadraticSmoothedValue" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
 *       <attribute name="cubicSmoothedValue" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
 *       <attribute name="smoothedValue" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") @XmlRootElement(name = "Level", namespace = "http://www.dmg.org/PMML-4_3") @Added(Version.PMML_4_0) public class Level extends PMMLObject { @XmlAttribute(name = "alpha") private Double alpha; @XmlAttribute(name = "quadraticSmoothedValue") @Removed(Version.PMML_4_1) private Double quadraticSmoothedValue; @XmlAttribute(name = "cubicSmoothedValue") @Removed(Version.PMML_4_1) private Double cubicSmoothedValue; @XmlAttribute(name = "smoothedValue") private Double smoothedValue; /** * Gets the value of the alpha property. * * @return * possible object is * {@link Double } * */ public Double getAlpha() { return alpha; } /** * Sets the value of the alpha property. * * @param alpha * allowed object is * {@link Double } * */ public Level setAlpha(Double alpha) { this.alpha = alpha; return this; } /** * Gets the value of the quadraticSmoothedValue property. * * @return * possible object is * {@link Double } * */ public Double getQuadraticSmoothedValue() { return quadraticSmoothedValue; } /** * Sets the value of the quadraticSmoothedValue property. * * @param quadraticSmoothedValue * allowed object is * {@link Double } * */ public Level setQuadraticSmoothedValue(Double quadraticSmoothedValue) { this.quadraticSmoothedValue = quadraticSmoothedValue; return this; } /** * Gets the value of the cubicSmoothedValue property. * * @return * possible object is * {@link Double } * */ public Double getCubicSmoothedValue() { return cubicSmoothedValue; } /** * Sets the value of the cubicSmoothedValue property. * * @param cubicSmoothedValue * allowed object is * {@link Double } * */ public Level setCubicSmoothedValue(Double cubicSmoothedValue) { this.cubicSmoothedValue = cubicSmoothedValue; return this; } /** * Gets the value of the smoothedValue property. * * @return * possible object is * {@link Double } * */ public Double getSmoothedValue() { return smoothedValue; } /** * Sets the value of the smoothedValue property. * * @param smoothedValue * allowed object is * {@link Double } * */ public Level setSmoothedValue(Double smoothedValue) { this.smoothedValue = smoothedValue; return this; } @Override public VisitorAction accept(Visitor visitor) { VisitorAction status = visitor.visit(this); if (status == VisitorAction.CONTINUE) { visitor.pushParent(this); visitor.popParent(); } if (status == VisitorAction.TERMINATE) { return VisitorAction.TERMINATE; } return VisitorAction.CONTINUE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy