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

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

There is a newer version: 1.6.5
Show newest version

package org.dmg.pmml;

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.XmlTransient;
import javax.xml.bind.annotation.XmlType;
import com.sun.xml.bind.Locatable;
import com.sun.xml.bind.annotation.XmlLocation;
import org.jpmml.schema.Added;
import org.jpmml.schema.Removed;
import org.jpmml.schema.Version;
import org.xml.sax.Locator;


/**
 * 

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_2}REAL-NUMBER" />
 *       <attribute name="quadraticSmoothedValue" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" />
 *       <attribute name="cubicSmoothedValue" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" />
 *       <attribute name="smoothedValue" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") @XmlRootElement(name = "Level") @Added(Version.PMML_4_0) public class Level extends PMMLObject implements Locatable { @XmlAttribute(name = "alpha") protected Double alpha; @XmlAttribute(name = "quadraticSmoothedValue") @Removed(Version.PMML_4_1) protected Double quadraticSmoothedValue; @XmlAttribute(name = "cubicSmoothedValue") @Removed(Version.PMML_4_1) protected Double cubicSmoothedValue; @XmlAttribute(name = "smoothedValue") protected Double smoothedValue; @XmlLocation @XmlTransient protected Locator locator; /** * 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 value * allowed object is * {@link Double } * */ public void setAlpha(Double value) { this.alpha = value; } /** * 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 value * allowed object is * {@link Double } * */ public void setQuadraticSmoothedValue(Double value) { this.quadraticSmoothedValue = value; } /** * 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 value * allowed object is * {@link Double } * */ public void setCubicSmoothedValue(Double value) { this.cubicSmoothedValue = value; } /** * 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 value * allowed object is * {@link Double } * */ public void setSmoothedValue(Double value) { this.smoothedValue = value; } public Level withAlpha(Double value) { setAlpha(value); return this; } public Level withQuadraticSmoothedValue(Double value) { setQuadraticSmoothedValue(value); return this; } public Level withCubicSmoothedValue(Double value) { setCubicSmoothedValue(value); return this; } public Level withSmoothedValue(Double value) { setSmoothedValue(value); return this; } public Locator sourceLocation() { return locator; } public void setSourceLocation(Locator newLocator) { locator = newLocator; } @Override public VisitorAction accept(Visitor visitor) { VisitorAction status = visitor.visit(this); if (status == VisitorAction.TERMINATE) { return VisitorAction.TERMINATE; } return VisitorAction.CONTINUE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy