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

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

There is a newer version: 1.7.2
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.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.jpmml.schema.Added;
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">
 *       <sequence>
 *         <group ref="{http://www.dmg.org/PMML-4_2}INT-ARRAY"/>
 *       </sequence>
 *       <attribute name="type" type="{http://www.dmg.org/PMML-4_2}TIME-EXCEPTION-TYPE" />
 *       <attribute name="count" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "array" }) @XmlRootElement(name = "TimeException", namespace = "http://www.dmg.org/PMML-4_2") @Added(Version.PMML_4_0) public class TimeException extends org.dmg.pmml.PMMLObject { @XmlAttribute(name = "type") private TimeExceptionType type; @XmlAttribute(name = "count") private Integer count; @XmlElement(name = "Array", namespace = "http://www.dmg.org/PMML-4_2") private Array array; /** * Gets the value of the type property. * * @return * possible object is * {@link TimeExceptionType } * */ public TimeExceptionType getType() { return type; } /** * Sets the value of the type property. * * @param type * allowed object is * {@link TimeExceptionType } * */ public TimeException setType(TimeExceptionType type) { this.type = type; return this; } /** * Gets the value of the count property. * * @return * possible object is * {@link Integer } * */ public Integer getCount() { return count; } /** * Sets the value of the count property. * * @param count * allowed object is * {@link Integer } * */ public TimeException setCount(Integer count) { this.count = count; return this; } /** * Gets the value of the array property. * * @return * possible object is * {@link Array } * */ public Array getArray() { return array; } /** * Sets the value of the array property. * * @param array * allowed object is * {@link Array } * */ public TimeException setArray(Array array) { this.array = array; return this; } @Override public VisitorAction accept(Visitor visitor) { VisitorAction status = visitor.visit(this); if (status == VisitorAction.CONTINUE) { visitor.pushParent(this); if (status == VisitorAction.CONTINUE) { status = org.dmg.pmml.PMMLObject.traverse(visitor, getArray()); } visitor.popParent(); } if (status == VisitorAction.TERMINATE) { return VisitorAction.TERMINATE; } return VisitorAction.CONTINUE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy