jaxb.com.ibm.jbatch.jsl.model.End Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.04.05 at 01:05:36 PM EDT
//
package com.ibm.jbatch.jsl.model;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for End complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="End">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attGroup ref="{https://jakarta.ee/xml/ns/jakartaee}TerminatingAttributes"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "End")
/**
* Modified post-XJC-gen by custom JSR352 RI build logic
*
* This custom logic adds the interface implementation :
* implements com.ibm.jbatch.container.jsl.TransitionElement
*/
public class End implements com.ibm.jbatch.container.jsl.TransitionElement {
@XmlAttribute(name = "on", required = true)
protected String on;
@XmlAttribute(name = "exit-status")
protected String exitStatus;
/**
* Gets the value of the on property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOn() {
return on;
}
/**
* Sets the value of the on property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOn(String value) {
this.on = value;
}
/**
* Gets the value of the exitStatus property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getExitStatus() {
return exitStatus;
}
/**
* Sets the value of the exitStatus property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExitStatus(String value) {
this.exitStatus = value;
}
/**
* Copyright 2013 International Business Machines Corp.
*
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. 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.
*/
/*
* Appended by build tooling.
*/
public String toString() {
StringBuffer buf = new StringBuffer(40);
buf.append("End: on = " + on + ", exit-status = " + exitStatus);
return buf.toString();
}
}