com.ibm.jbatch.jsl.model.Stop Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vIBM 2.2.3-11/28/2011 06:21 AM(foreman)-
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.04.04 at 11:02:42 PM EDT
//
package com.ibm.jbatch.jsl.model;
import javax.annotation.Generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Stop complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Stop">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attGroup ref="{http://xmlns.jcp.org/xml/ns/javaee}TerminatingAttributes"/>
* <attribute name="restart" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Stop")
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
/**
* Modified post-XJC-gen by custom JSR352 RI build logic
* since we can't seem to get JAXB's XJC to generate
* elements implementing a common interface.
*
* This custom logic adds the interface implementation :
* implements com.ibm.jbatch.container.jsl.TransitionElement
*/
public class Stop implements com.ibm.jbatch.container.jsl.TransitionElement {
@XmlAttribute(name = "restart")
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
protected String restart;
@XmlAttribute(name = "on", required = true)
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
protected String on;
@XmlAttribute(name = "exit-status")
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
protected String exitStatus;
/**
* Gets the value of the restart property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
public String getRestart() {
return restart;
}
/**
* Sets the value of the restart property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
public void setRestart(String value) {
this.restart = value;
}
/**
* Gets the value of the on property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
public String getOn() {
return on;
}
/**
* Sets the value of the on property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
public void setOn(String value) {
this.on = value;
}
/**
* Gets the value of the exitStatus property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
public String getExitStatus() {
return exitStatus;
}
/**
* Sets the value of the exitStatus property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
public void setExitStatus(String value) {
this.exitStatus = value;
}
/*
* Appended by build tooling.
*/
public String toString() {
StringBuffer buf = new StringBuffer(40);
buf.append("Stop: restart =" + restart + ", on = " + on + ", exit-status = " + exitStatus);
return buf.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy