public class XJob extends Object implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for x_job complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="x_job"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{uri:lens:job:0.1}non_empty_string"/> <element name="execution" type="{uri:lens:job:0.1}x_execution"/> <element name="trigger" type="{uri:lens:job:0.1}x_trigger"/> <element name="job_conf" type="{uri:lens:job:0.1}map_type" maxOccurs="unbounded" minOccurs="0"/> <element name="start_time" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="end_time" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> </sequence> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
XJob() |
Modifier and Type | Method and Description |
---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
XMLGregorianCalendar |
getEndTime()
Gets the value of the endTime property.
|
XExecution |
getExecution()
Gets the value of the execution property.
|
List<MapType> |
getJobConf()
Gets the value of the jobConf property.
|
String |
getName()
Gets the value of the name property.
|
XMLGregorianCalendar |
getStartTime()
Gets the value of the startTime property.
|
XTrigger |
getTrigger()
Gets the value of the trigger property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setEndTime(XMLGregorianCalendar value)
Sets the value of the endTime property.
|
void |
setExecution(XExecution value)
Sets the value of the execution property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setStartTime(XMLGregorianCalendar value)
Sets the value of the startTime property.
|
void |
setTrigger(XTrigger value)
Sets the value of the trigger property.
|
String |
toString() |
XJob |
withEndTime(XMLGregorianCalendar value) |
XJob |
withExecution(XExecution value) |
XJob |
withJobConf(Collection<MapType> values) |
XJob |
withJobConf(MapType... values) |
XJob |
withName(String value) |
XJob |
withStartTime(XMLGregorianCalendar value) |
XJob |
withTrigger(XTrigger value) |
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public XExecution getExecution()
XExecution
public void setExecution(XExecution value)
value
- allowed object is
XExecution
public XTrigger getTrigger()
XTrigger
public void setTrigger(XTrigger value)
value
- allowed object is
XTrigger
public List<MapType> getJobConf()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the jobConf property.
For example, to add a new item, do as follows:
getJobConf().add(newItem);
Objects of the following type(s) are allowed in the list
MapType
public XMLGregorianCalendar getStartTime()
XMLGregorianCalendar
public void setStartTime(XMLGregorianCalendar value)
value
- allowed object is
XMLGregorianCalendar
public XMLGregorianCalendar getEndTime()
XMLGregorianCalendar
public void setEndTime(XMLGregorianCalendar value)
value
- allowed object is
XMLGregorianCalendar
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append
in interface org.jvnet.jaxb2_commons.lang.ToString
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields
in interface org.jvnet.jaxb2_commons.lang.ToString
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
public XJob withExecution(XExecution value)
public XJob withJobConf(Collection<MapType> values)
public XJob withStartTime(XMLGregorianCalendar value)
public XJob withEndTime(XMLGregorianCalendar value)
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.