You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@falcon.apache.org by sa...@apache.org on 2014/08/04 12:04:24 UTC
[25/27] adding falcon-regression
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/RetentionType.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/RetentionType.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/RetentionType.java
new file mode 100644
index 0000000..9603c29
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/RetentionType.java
@@ -0,0 +1,55 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.feed;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for retention-type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="retention-type">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="instance"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "retention-type")
+@XmlEnum
+public enum RetentionType {
+
+ @XmlEnumValue("instance")
+ INSTANCE("instance");
+ private final String value;
+
+ RetentionType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static RetentionType fromValue(String v) {
+ for (RetentionType c: RetentionType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Schema.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Schema.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Schema.java
new file mode 100644
index 0000000..021113f
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Schema.java
@@ -0,0 +1,96 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.feed;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * A schema specifies the location of a schema file
+ * for a feed and the provider of schema like protobuf, thrift etc.
+ *
+ *
+ * <p>Java class for schema complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="schema">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="location" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="provider" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "schema")
+public class Schema {
+
+ @XmlAttribute(name = "location", required = true)
+ protected String location;
+ @XmlAttribute(name = "provider", required = true)
+ protected String provider;
+
+ /**
+ * Gets the value of the location property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLocation() {
+ return location;
+ }
+
+ /**
+ * Sets the value of the location property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLocation(String value) {
+ this.location = value;
+ }
+
+ /**
+ * Gets the value of the provider property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getProvider() {
+ return provider;
+ }
+
+ /**
+ * Sets the value of the provider property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setProvider(String value) {
+ this.provider = value;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Validity.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Validity.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Validity.java
new file mode 100644
index 0000000..a2f443f
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Validity.java
@@ -0,0 +1,106 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.feed;
+
+import java.util.Date;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ *
+ * A validity has a start, which is the validity start date and end the
+ * validity
+ * end date. ex: start="2011-11-01T00:00Z" in TZ format.
+ * timezone can be UTC,
+ * GMT.
+ * Processes referring this feed would consider the validity period for
+ * validation.
+ *
+ *
+ * <p>Java class for validity complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="validity">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="start" use="required" type="{uri:falcon:feed:0.1}date-time-type" />
+ * <attribute name="end" use="required" type="{uri:falcon:feed:0.1}date-time-type" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "validity")
+public class Validity {
+
+ @XmlAttribute(name = "start", required = true)
+ @XmlJavaTypeAdapter(Adapter3 .class)
+ protected Date start;
+ @XmlAttribute(name = "end", required = true)
+ @XmlJavaTypeAdapter(Adapter3 .class)
+ protected Date end;
+
+ /**
+ * Gets the value of the start property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public Date getStart() {
+ return start;
+ }
+
+ /**
+ * Sets the value of the start property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setStart(Date value) {
+ this.start = value;
+ }
+
+ /**
+ * Gets the value of the end property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public Date getEnd() {
+ return end;
+ }
+
+ /**
+ * Sets the value of the end property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEnd(Date value) {
+ this.end = value;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/package-info.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/package-info.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/package-info.java
new file mode 100644
index 0000000..a877a37
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/package-info.java
@@ -0,0 +1,9 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+@javax.xml.bind.annotation.XmlSchema(namespace = "uri:falcon:feed:0.1", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.apache.falcon.entity.v0.feed;
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Adapter1.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Adapter1.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Adapter1.java
new file mode 100644
index 0000000..e0a3431
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Adapter1.java
@@ -0,0 +1,27 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+import javax.xml.bind.annotation.adapters.XmlAdapter;
+import org.apache.falcon.entity.v0.Frequency;
+
+public class Adapter1
+ extends XmlAdapter<String, Frequency>
+{
+
+
+ public Frequency unmarshal(String value) {
+ return (org.apache.falcon.entity.v0.Frequency.fromString(value));
+ }
+
+ public String marshal(Frequency value) {
+ return (org.apache.falcon.entity.v0.Frequency.toString(value));
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Adapter2.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Adapter2.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Adapter2.java
new file mode 100644
index 0000000..b344507
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Adapter2.java
@@ -0,0 +1,27 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+import java.util.TimeZone;
+import javax.xml.bind.annotation.adapters.XmlAdapter;
+
+public class Adapter2
+ extends XmlAdapter<String, TimeZone>
+{
+
+
+ public TimeZone unmarshal(String value) {
+ return (java.util.TimeZone.getTimeZone(value));
+ }
+
+ public String marshal(TimeZone value) {
+ return (org.apache.falcon.entity.v0.SchemaHelper.getTimeZoneId(value));
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Adapter3.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Adapter3.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Adapter3.java
new file mode 100644
index 0000000..5a88f3d
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Adapter3.java
@@ -0,0 +1,27 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+import java.util.Date;
+import javax.xml.bind.annotation.adapters.XmlAdapter;
+
+public class Adapter3
+ extends XmlAdapter<String, Date>
+{
+
+
+ public Date unmarshal(String value) {
+ return (org.apache.falcon.entity.v0.SchemaHelper.parseDateUTC(value));
+ }
+
+ public String marshal(Date value) {
+ return (org.apache.falcon.entity.v0.SchemaHelper.formatDateUTC(value));
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Cluster.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Cluster.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Cluster.java
new file mode 100644
index 0000000..b48ea36
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Cluster.java
@@ -0,0 +1,102 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+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.XmlType;
+
+
+/**
+ *
+ * Defines the cluster where the workflow should run. In addition, it also defines the validity of the
+ * workflow on this cluster
+ *
+ *
+ * <p>Java class for cluster complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="cluster">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="validity" type="{uri:falcon:process:0.1}validity"/>
+ * </sequence>
+ * <attribute name="name" use="required" type="{uri:falcon:process:0.1}IDENTIFIER" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cluster", propOrder = {
+ "validity"
+})
+public class Cluster {
+
+ @XmlElement(required = true)
+ protected Validity validity;
+ @XmlAttribute(name = "name", required = true)
+ protected String name;
+
+ /**
+ * Gets the value of the validity property.
+ *
+ * @return
+ * possible object is
+ * {@link Validity }
+ *
+ */
+ public Validity getValidity() {
+ return validity;
+ }
+
+ /**
+ * Sets the value of the validity property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Validity }
+ *
+ */
+ public void setValidity(Validity value) {
+ this.validity = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Clusters.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Clusters.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Clusters.java
new file mode 100644
index 0000000..fff855e
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Clusters.java
@@ -0,0 +1,80 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * A list of clusters.
+ *
+ *
+ * <p>Java class for clusters complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="clusters">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="cluster" type="{uri:falcon:process:0.1}cluster" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "clusters", propOrder = {
+ "clusters"
+})
+public class Clusters {
+
+ @XmlElement(name = "cluster", required = true)
+ protected List<Cluster> clusters;
+
+ /**
+ * Gets the value of the clusters property.
+ *
+ * <p>
+ * 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 <CODE>set</CODE> method for the clusters property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getClusters().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Cluster }
+ *
+ *
+ */
+ public List<Cluster> getClusters() {
+ if (clusters == null) {
+ clusters = new ArrayList<Cluster>();
+ }
+ return this.clusters;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/EngineType.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/EngineType.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/EngineType.java
new file mode 100644
index 0000000..a1fb16f
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/EngineType.java
@@ -0,0 +1,61 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for engine-type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="engine-type">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="oozie"/>
+ * <enumeration value="pig"/>
+ * <enumeration value="hive"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "engine-type")
+@XmlEnum
+public enum EngineType {
+
+ @XmlEnumValue("oozie")
+ OOZIE("oozie"),
+ @XmlEnumValue("pig")
+ PIG("pig"),
+ @XmlEnumValue("hive")
+ HIVE("hive");
+ private final String value;
+
+ EngineType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static EngineType fromValue(String v) {
+ for (EngineType c: EngineType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/ExecutionType.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/ExecutionType.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/ExecutionType.java
new file mode 100644
index 0000000..58c9bcb
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/ExecutionType.java
@@ -0,0 +1,47 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for execution-type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="execution-type">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="FIFO"/>
+ * <enumeration value="LIFO"/>
+ * <enumeration value="LAST_ONLY"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "execution-type")
+@XmlEnum
+public enum ExecutionType {
+
+ FIFO,
+ LIFO,
+ LAST_ONLY;
+
+ public String value() {
+ return name();
+ }
+
+ public static ExecutionType fromValue(String v) {
+ return valueOf(v);
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Input.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Input.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Input.java
new file mode 100644
index 0000000..85e2910
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Input.java
@@ -0,0 +1,204 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for input complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="input">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="name" use="required" type="{uri:falcon:process:0.1}IDENTIFIER" />
+ * <attribute name="feed" use="required" type="{uri:falcon:process:0.1}IDENTIFIER" />
+ * <attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="partition" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="optional" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "input")
+public class Input {
+
+ @XmlAttribute(name = "name", required = true)
+ protected String name;
+ @XmlAttribute(name = "feed", required = true)
+ protected String feed;
+ @XmlAttribute(name = "start", required = true)
+ protected String start;
+ @XmlAttribute(name = "end", required = true)
+ protected String end;
+ @XmlAttribute(name = "partition")
+ protected String partition;
+ @XmlAttribute(name = "optional")
+ protected Boolean optional;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the feed property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFeed() {
+ return feed;
+ }
+
+ /**
+ * Sets the value of the feed property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFeed(String value) {
+ this.feed = value;
+ }
+
+ /**
+ * Gets the value of the start property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getStart() {
+ return start;
+ }
+
+ /**
+ * Sets the value of the start property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setStart(String value) {
+ this.start = value;
+ }
+
+ /**
+ * Gets the value of the end property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEnd() {
+ return end;
+ }
+
+ /**
+ * Sets the value of the end property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEnd(String value) {
+ this.end = value;
+ }
+
+ /**
+ * Gets the value of the partition property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPartition() {
+ return partition;
+ }
+
+ /**
+ * Sets the value of the partition property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPartition(String value) {
+ this.partition = value;
+ }
+
+ /**
+ * Gets the value of the optional property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isOptional() {
+ if (optional == null) {
+ return false;
+ } else {
+ return optional;
+ }
+ }
+
+ /**
+ * Sets the value of the optional property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setOptional(Boolean value) {
+ this.optional = value;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Inputs.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Inputs.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Inputs.java
new file mode 100644
index 0000000..46c8263
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Inputs.java
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for inputs complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="inputs">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="input" type="{uri:falcon:process:0.1}input" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "inputs", propOrder = {
+ "inputs"
+})
+public class Inputs {
+
+ @XmlElement(name = "input", required = true)
+ protected List<Input> inputs;
+
+ /**
+ * Gets the value of the inputs property.
+ *
+ * <p>
+ * 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 <CODE>set</CODE> method for the inputs property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getInputs().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Input }
+ *
+ *
+ */
+ public List<Input> getInputs() {
+ if (inputs == null) {
+ inputs = new ArrayList<Input>();
+ }
+ return this.inputs;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/LateInput.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/LateInput.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/LateInput.java
new file mode 100644
index 0000000..6be03e1
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/LateInput.java
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for late-input complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="late-input">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="input" use="required" type="{uri:falcon:process:0.1}IDENTIFIER" />
+ * <attribute name="workflow-path" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "late-input")
+public class LateInput {
+
+ @XmlAttribute(name = "input", required = true)
+ protected String input;
+ @XmlAttribute(name = "workflow-path", required = true)
+ protected String workflowPath;
+
+ /**
+ * Gets the value of the input property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getInput() {
+ return input;
+ }
+
+ /**
+ * Sets the value of the input property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setInput(String value) {
+ this.input = value;
+ }
+
+ /**
+ * Gets the value of the workflowPath property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getWorkflowPath() {
+ return workflowPath;
+ }
+
+ /**
+ * Sets the value of the workflowPath property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setWorkflowPath(String value) {
+ this.workflowPath = value;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/LateProcess.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/LateProcess.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/LateProcess.java
new file mode 100644
index 0000000..d9b01e1
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/LateProcess.java
@@ -0,0 +1,134 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+import java.util.ArrayList;
+import java.util.List;
+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.XmlType;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import org.apache.falcon.entity.v0.Frequency;
+
+
+/**
+ * <p>Java class for late-process complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="late-process">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="late-input" type="{uri:falcon:process:0.1}late-input" maxOccurs="unbounded"/>
+ * </sequence>
+ * <attribute name="policy" use="required" type="{uri:falcon:process:0.1}policy-type" />
+ * <attribute name="delay" use="required" type="{uri:falcon:process:0.1}frequency-type" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "late-process", propOrder = {
+ "lateInputs"
+})
+public class LateProcess {
+
+ @XmlElement(name = "late-input", required = true)
+ protected List<LateInput> lateInputs;
+ @XmlAttribute(name = "policy", required = true)
+ protected PolicyType policy;
+ @XmlAttribute(name = "delay", required = true)
+ @XmlJavaTypeAdapter(Adapter1 .class)
+ protected Frequency delay;
+
+ /**
+ * Gets the value of the lateInputs property.
+ *
+ * <p>
+ * 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 <CODE>set</CODE> method for the lateInputs property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getLateInputs().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link LateInput }
+ *
+ *
+ */
+ public List<LateInput> getLateInputs() {
+ if (lateInputs == null) {
+ lateInputs = new ArrayList<LateInput>();
+ }
+ return this.lateInputs;
+ }
+
+ /**
+ * Gets the value of the policy property.
+ *
+ * @return
+ * possible object is
+ * {@link PolicyType }
+ *
+ */
+ public PolicyType getPolicy() {
+ return policy;
+ }
+
+ /**
+ * Sets the value of the policy property.
+ *
+ * @param value
+ * allowed object is
+ * {@link PolicyType }
+ *
+ */
+ public void setPolicy(PolicyType value) {
+ this.policy = value;
+ }
+
+ /**
+ * Gets the value of the delay property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public Frequency getDelay() {
+ return delay;
+ }
+
+ /**
+ * Sets the value of the delay property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDelay(Frequency value) {
+ this.delay = value;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/ObjectFactory.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/ObjectFactory.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/ObjectFactory.java
new file mode 100644
index 0000000..de01268
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/ObjectFactory.java
@@ -0,0 +1,151 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+import javax.xml.bind.annotation.XmlRegistry;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.apache.falcon.entity.v0.process package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.falcon.entity.v0.process
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link Process }
+ *
+ */
+ public Process createProcess() {
+ return new Process();
+ }
+
+ /**
+ * Create an instance of {@link Clusters }
+ *
+ */
+ public Clusters createClusters() {
+ return new Clusters();
+ }
+
+ /**
+ * Create an instance of {@link Inputs }
+ *
+ */
+ public Inputs createInputs() {
+ return new Inputs();
+ }
+
+ /**
+ * Create an instance of {@link Outputs }
+ *
+ */
+ public Outputs createOutputs() {
+ return new Outputs();
+ }
+
+ /**
+ * Create an instance of {@link Properties }
+ *
+ */
+ public Properties createProperties() {
+ return new Properties();
+ }
+
+ /**
+ * Create an instance of {@link Workflow }
+ *
+ */
+ public Workflow createWorkflow() {
+ return new Workflow();
+ }
+
+ /**
+ * Create an instance of {@link Retry }
+ *
+ */
+ public Retry createRetry() {
+ return new Retry();
+ }
+
+ /**
+ * Create an instance of {@link LateProcess }
+ *
+ */
+ public LateProcess createLateProcess() {
+ return new LateProcess();
+ }
+
+ /**
+ * Create an instance of {@link LateInput }
+ *
+ */
+ public LateInput createLateInput() {
+ return new LateInput();
+ }
+
+ /**
+ * Create an instance of {@link Property }
+ *
+ */
+ public Property createProperty() {
+ return new Property();
+ }
+
+ /**
+ * Create an instance of {@link Input }
+ *
+ */
+ public Input createInput() {
+ return new Input();
+ }
+
+ /**
+ * Create an instance of {@link Validity }
+ *
+ */
+ public Validity createValidity() {
+ return new Validity();
+ }
+
+ /**
+ * Create an instance of {@link Cluster }
+ *
+ */
+ public Cluster createCluster() {
+ return new Cluster();
+ }
+
+ /**
+ * Create an instance of {@link Output }
+ *
+ */
+ public Output createOutput() {
+ return new Output();
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Output.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Output.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Output.java
new file mode 100644
index 0000000..8fee1db
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Output.java
@@ -0,0 +1,119 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for output complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="output">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="name" use="required" type="{uri:falcon:process:0.1}IDENTIFIER" />
+ * <attribute name="feed" use="required" type="{uri:falcon:process:0.1}IDENTIFIER" />
+ * <attribute name="instance" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "output")
+public class Output {
+
+ @XmlAttribute(name = "name", required = true)
+ protected String name;
+ @XmlAttribute(name = "feed", required = true)
+ protected String feed;
+ @XmlAttribute(name = "instance", required = true)
+ protected String instance;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the feed property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFeed() {
+ return feed;
+ }
+
+ /**
+ * Sets the value of the feed property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFeed(String value) {
+ this.feed = value;
+ }
+
+ /**
+ * Gets the value of the instance property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getInstance() {
+ return instance;
+ }
+
+ /**
+ * Sets the value of the instance property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setInstance(String value) {
+ this.instance = value;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Outputs.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Outputs.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Outputs.java
new file mode 100644
index 0000000..bd865f1
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Outputs.java
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for outputs complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="outputs">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="output" type="{uri:falcon:process:0.1}output" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "outputs", propOrder = {
+ "outputs"
+})
+public class Outputs {
+
+ @XmlElement(name = "output", required = true)
+ protected List<Output> outputs;
+
+ /**
+ * Gets the value of the outputs property.
+ *
+ * <p>
+ * 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 <CODE>set</CODE> method for the outputs property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getOutputs().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Output }
+ *
+ *
+ */
+ public List<Output> getOutputs() {
+ if (outputs == null) {
+ outputs = new ArrayList<Output>();
+ }
+ return this.outputs;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/PolicyType.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/PolicyType.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/PolicyType.java
new file mode 100644
index 0000000..1e3c2fa
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/PolicyType.java
@@ -0,0 +1,61 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for policy-type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="policy-type">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="periodic"/>
+ * <enumeration value="exp-backoff"/>
+ * <enumeration value="final"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "policy-type")
+@XmlEnum
+public enum PolicyType {
+
+ @XmlEnumValue("periodic")
+ PERIODIC("periodic"),
+ @XmlEnumValue("exp-backoff")
+ EXP_BACKOFF("exp-backoff"),
+ @XmlEnumValue("final")
+ FINAL("final");
+ private final String value;
+
+ PolicyType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static PolicyType fromValue(String v) {
+ for (PolicyType c: PolicyType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Process.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Process.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Process.java
new file mode 100644
index 0000000..fec9521
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Process.java
@@ -0,0 +1,442 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+import java.util.TimeZone;
+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 javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import org.apache.falcon.entity.v0.Entity;
+import org.apache.falcon.entity.v0.Frequency;
+
+
+/**
+ * <p>Java class for process complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="process">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="tags" type="{uri:falcon:process:0.1}KEY_VALUE_PAIR" minOccurs="0"/>
+ * <element name="clusters" type="{uri:falcon:process:0.1}clusters"/>
+ * <element name="parallel">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}unsignedShort">
+ * <minInclusive value="1"/>
+ * <maxInclusive value="12"/>
+ * </restriction>
+ * </simpleType>
+ * </element>
+ * <element name="order" type="{uri:falcon:process:0.1}execution-type"/>
+ * <element name="timeout" type="{uri:falcon:process:0.1}frequency-type" minOccurs="0"/>
+ * <element name="frequency" type="{uri:falcon:process:0.1}frequency-type"/>
+ * <element name="timezone" minOccurs="0">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * </restriction>
+ * </simpleType>
+ * </element>
+ * <element name="inputs" type="{uri:falcon:process:0.1}inputs" minOccurs="0"/>
+ * <element name="outputs" type="{uri:falcon:process:0.1}outputs" minOccurs="0"/>
+ * <element name="properties" type="{uri:falcon:process:0.1}properties" minOccurs="0"/>
+ * <element name="workflow" type="{uri:falcon:process:0.1}workflow"/>
+ * <element name="retry" type="{uri:falcon:process:0.1}retry" minOccurs="0"/>
+ * <element name="late-process" type="{uri:falcon:process:0.1}late-process" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="name" use="required" type="{uri:falcon:process:0.1}IDENTIFIER" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "process", propOrder = {
+ "tags",
+ "clusters",
+ "parallel",
+ "order",
+ "timeout",
+ "frequency",
+ "timezone",
+ "inputs",
+ "outputs",
+ "properties",
+ "workflow",
+ "retry",
+ "lateProcess"
+})
+@XmlRootElement(name = "process")
+public class Process
+ extends Entity
+{
+
+ protected String tags;
+ @XmlElement(required = true)
+ protected Clusters clusters;
+ protected int parallel;
+ @XmlElement(required = true)
+ protected ExecutionType order;
+ @XmlElement(type = String.class)
+ @XmlJavaTypeAdapter(Adapter1 .class)
+ protected Frequency timeout;
+ @XmlElement(required = true, type = String.class)
+ @XmlJavaTypeAdapter(Adapter1 .class)
+ protected Frequency frequency;
+ @XmlElement(type = String.class, defaultValue = "UTC")
+ @XmlJavaTypeAdapter(Adapter2 .class)
+ protected TimeZone timezone;
+ protected Inputs inputs;
+ protected Outputs outputs;
+ protected Properties properties;
+ @XmlElement(required = true)
+ protected Workflow workflow;
+ protected Retry retry;
+ @XmlElement(name = "late-process")
+ protected LateProcess lateProcess;
+ @XmlAttribute(name = "name", required = true)
+ protected String name;
+
+ /**
+ * Gets the value of the tags property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTags() {
+ return tags;
+ }
+
+ /**
+ * Sets the value of the tags property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTags(String value) {
+ this.tags = value;
+ }
+
+ /**
+ * Gets the value of the clusters property.
+ *
+ * @return
+ * possible object is
+ * {@link Clusters }
+ *
+ */
+ public Clusters getClusters() {
+ return clusters;
+ }
+
+ /**
+ * Sets the value of the clusters property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Clusters }
+ *
+ */
+ public void setClusters(Clusters value) {
+ this.clusters = value;
+ }
+
+ /**
+ * Gets the value of the parallel property.
+ *
+ */
+ public int getParallel() {
+ return parallel;
+ }
+
+ /**
+ * Sets the value of the parallel property.
+ *
+ */
+ public void setParallel(int value) {
+ this.parallel = value;
+ }
+
+ /**
+ * Gets the value of the order property.
+ *
+ * @return
+ * possible object is
+ * {@link ExecutionType }
+ *
+ */
+ public ExecutionType getOrder() {
+ return order;
+ }
+
+ /**
+ * Sets the value of the order property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExecutionType }
+ *
+ */
+ public void setOrder(ExecutionType value) {
+ this.order = value;
+ }
+
+ /**
+ * Gets the value of the timeout property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public Frequency getTimeout() {
+ return timeout;
+ }
+
+ /**
+ * Sets the value of the timeout property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTimeout(Frequency value) {
+ this.timeout = value;
+ }
+
+ /**
+ * Gets the value of the frequency property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public Frequency getFrequency() {
+ return frequency;
+ }
+
+ /**
+ * Sets the value of the frequency property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFrequency(Frequency value) {
+ this.frequency = value;
+ }
+
+ /**
+ * Gets the value of the timezone property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public TimeZone getTimezone() {
+ return timezone;
+ }
+
+ /**
+ * Sets the value of the timezone property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTimezone(TimeZone value) {
+ this.timezone = value;
+ }
+
+ /**
+ * Gets the value of the inputs property.
+ *
+ * @return
+ * possible object is
+ * {@link Inputs }
+ *
+ */
+ public Inputs getInputs() {
+ return inputs;
+ }
+
+ /**
+ * Sets the value of the inputs property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Inputs }
+ *
+ */
+ public void setInputs(Inputs value) {
+ this.inputs = value;
+ }
+
+ /**
+ * Gets the value of the outputs property.
+ *
+ * @return
+ * possible object is
+ * {@link Outputs }
+ *
+ */
+ public Outputs getOutputs() {
+ return outputs;
+ }
+
+ /**
+ * Sets the value of the outputs property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Outputs }
+ *
+ */
+ public void setOutputs(Outputs value) {
+ this.outputs = value;
+ }
+
+ /**
+ * Gets the value of the properties property.
+ *
+ * @return
+ * possible object is
+ * {@link Properties }
+ *
+ */
+ public Properties getProperties() {
+ return properties;
+ }
+
+ /**
+ * Sets the value of the properties property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Properties }
+ *
+ */
+ public void setProperties(Properties value) {
+ this.properties = value;
+ }
+
+ /**
+ * Gets the value of the workflow property.
+ *
+ * @return
+ * possible object is
+ * {@link Workflow }
+ *
+ */
+ public Workflow getWorkflow() {
+ return workflow;
+ }
+
+ /**
+ * Sets the value of the workflow property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Workflow }
+ *
+ */
+ public void setWorkflow(Workflow value) {
+ this.workflow = value;
+ }
+
+ /**
+ * Gets the value of the retry property.
+ *
+ * @return
+ * possible object is
+ * {@link Retry }
+ *
+ */
+ public Retry getRetry() {
+ return retry;
+ }
+
+ /**
+ * Sets the value of the retry property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Retry }
+ *
+ */
+ public void setRetry(Retry value) {
+ this.retry = value;
+ }
+
+ /**
+ * Gets the value of the lateProcess property.
+ *
+ * @return
+ * possible object is
+ * {@link LateProcess }
+ *
+ */
+ public LateProcess getLateProcess() {
+ return lateProcess;
+ }
+
+ /**
+ * Sets the value of the lateProcess property.
+ *
+ * @param value
+ * allowed object is
+ * {@link LateProcess }
+ *
+ */
+ public void setLateProcess(LateProcess value) {
+ this.lateProcess = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Properties.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Properties.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Properties.java
new file mode 100644
index 0000000..5b0020e
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Properties.java
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for properties complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="properties">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="property" type="{uri:falcon:process:0.1}property" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "properties", propOrder = {
+ "properties"
+})
+public class Properties {
+
+ @XmlElement(name = "property")
+ protected List<Property> properties;
+
+ /**
+ * Gets the value of the properties property.
+ *
+ * <p>
+ * 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 <CODE>set</CODE> method for the properties property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getProperties().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Property }
+ *
+ *
+ */
+ public List<Property> getProperties() {
+ if (properties == null) {
+ properties = new ArrayList<Property>();
+ }
+ return this.properties;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Property.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Property.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Property.java
new file mode 100644
index 0000000..794a1a7
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Property.java
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for property complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="property">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "property")
+public class Property {
+
+ @XmlAttribute(name = "name", required = true)
+ protected String name;
+ @XmlAttribute(name = "value", required = true)
+ protected String value;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Retry.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Retry.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Retry.java
new file mode 100644
index 0000000..07eabba
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Retry.java
@@ -0,0 +1,120 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import org.apache.falcon.entity.v0.Frequency;
+
+
+/**
+ * <p>Java class for retry complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="retry">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="policy" use="required" type="{uri:falcon:process:0.1}policy-type" />
+ * <attribute name="delay" use="required" type="{uri:falcon:process:0.1}frequency-type" />
+ * <attribute name="attempts" use="required">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}unsignedShort">
+ * <minInclusive value="1"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "retry")
+public class Retry {
+
+ @XmlAttribute(name = "policy", required = true)
+ protected PolicyType policy;
+ @XmlAttribute(name = "delay", required = true)
+ @XmlJavaTypeAdapter(Adapter1 .class)
+ protected Frequency delay;
+ @XmlAttribute(name = "attempts", required = true)
+ protected int attempts;
+
+ /**
+ * Gets the value of the policy property.
+ *
+ * @return
+ * possible object is
+ * {@link PolicyType }
+ *
+ */
+ public PolicyType getPolicy() {
+ return policy;
+ }
+
+ /**
+ * Sets the value of the policy property.
+ *
+ * @param value
+ * allowed object is
+ * {@link PolicyType }
+ *
+ */
+ public void setPolicy(PolicyType value) {
+ this.policy = value;
+ }
+
+ /**
+ * Gets the value of the delay property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public Frequency getDelay() {
+ return delay;
+ }
+
+ /**
+ * Sets the value of the delay property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDelay(Frequency value) {
+ this.delay = value;
+ }
+
+ /**
+ * Gets the value of the attempts property.
+ *
+ */
+ public int getAttempts() {
+ return attempts;
+ }
+
+ /**
+ * Sets the value of the attempts property.
+ *
+ */
+ public void setAttempts(int value) {
+ this.attempts = value;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Validity.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Validity.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Validity.java
new file mode 100644
index 0000000..1b013a3
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Validity.java
@@ -0,0 +1,100 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+import java.util.Date;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ *
+ * Defines the vailidity of the workflow as start and end time
+ *
+ *
+ * <p>Java class for validity complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="validity">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="start" use="required" type="{uri:falcon:process:0.1}date-time-type" />
+ * <attribute name="end" use="required" type="{uri:falcon:process:0.1}date-time-type" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "validity")
+public class Validity {
+
+ @XmlAttribute(name = "start", required = true)
+ @XmlJavaTypeAdapter(Adapter3 .class)
+ protected Date start;
+ @XmlAttribute(name = "end", required = true)
+ @XmlJavaTypeAdapter(Adapter3 .class)
+ protected Date end;
+
+ /**
+ * Gets the value of the start property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public Date getStart() {
+ return start;
+ }
+
+ /**
+ * Sets the value of the start property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setStart(Date value) {
+ this.start = value;
+ }
+
+ /**
+ * Gets the value of the end property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public Date getEnd() {
+ return end;
+ }
+
+ /**
+ * Sets the value of the end property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEnd(Date value) {
+ this.end = value;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Workflow.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Workflow.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Workflow.java
new file mode 100644
index 0000000..e546836
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/Workflow.java
@@ -0,0 +1,181 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+
+package org.apache.falcon.entity.v0.process;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for workflow complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="workflow">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" default="1.0" />
+ * <attribute name="engine" type="{uri:falcon:process:0.1}engine-type" default="oozie" />
+ * <attribute name="path" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="lib" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "workflow")
+public class Workflow {
+
+ @XmlAttribute(name = "name")
+ protected String name;
+ @XmlAttribute(name = "version")
+ protected String version;
+ @XmlAttribute(name = "engine")
+ protected EngineType engine;
+ @XmlAttribute(name = "path", required = true)
+ protected String path;
+ @XmlAttribute(name = "lib")
+ protected String lib;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "1.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the engine property.
+ *
+ * @return
+ * possible object is
+ * {@link EngineType }
+ *
+ */
+ public EngineType getEngine() {
+ if (engine == null) {
+ return EngineType.OOZIE;
+ } else {
+ return engine;
+ }
+ }
+
+ /**
+ * Sets the value of the engine property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EngineType }
+ *
+ */
+ public void setEngine(EngineType value) {
+ this.engine = value;
+ }
+
+ /**
+ * Gets the value of the path property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPath() {
+ return path;
+ }
+
+ /**
+ * Sets the value of the path property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPath(String value) {
+ this.path = value;
+ }
+
+ /**
+ * Gets the value of the lib property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLib() {
+ return lib;
+ }
+
+ /**
+ * Sets the value of the lib property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLib(String value) {
+ this.lib = value;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/package-info.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/package-info.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/package-info.java
new file mode 100644
index 0000000..f68ce95
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/process/package-info.java
@@ -0,0 +1,9 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2014.05.28 at 10:55:57 AM PDT
+//
+
+@javax.xml.bind.annotation.XmlSchema(namespace = "uri:falcon:process:0.1", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.apache.falcon.entity.v0.process;
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/regression/Entities/ClusterMerlin.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/regression/Entities/ClusterMerlin.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/regression/Entities/ClusterMerlin.java
new file mode 100644
index 0000000..182f36e
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/regression/Entities/ClusterMerlin.java
@@ -0,0 +1,82 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+package org.apache.falcon.regression.Entities;
+
+import org.apache.commons.beanutils.PropertyUtils;
+import org.apache.commons.lang.exception.ExceptionUtils;
+import org.apache.falcon.entity.v0.EntityType;
+import org.apache.falcon.entity.v0.cluster.Cluster;
+import org.apache.falcon.regression.core.util.Util;
+import org.testng.Assert;
+
+import javax.xml.bind.JAXBException;
+import java.io.StringWriter;
+import java.lang.reflect.InvocationTargetException;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+public class ClusterMerlin extends Cluster {
+
+ public ClusterMerlin(String clusterData) {
+ final Cluster cluster = (Cluster) fromString(EntityType.CLUSTER, clusterData);
+ try {
+ PropertyUtils.copyProperties(this, cluster);
+ } catch (IllegalAccessException e) {
+ Assert.fail("Can't create ClusterMerlin: " + ExceptionUtils.getStackTrace(e));
+ } catch (InvocationTargetException e) {
+ Assert.fail("Can't create ClusterMerlin: " + ExceptionUtils.getStackTrace(e));
+ } catch (NoSuchMethodException e) {
+ Assert.fail("Can't create ClusterMerlin: " + ExceptionUtils.getStackTrace(e));
+ }
+ }
+
+ public static List<ClusterMerlin> fromString(List<String> clusterStrings) {
+ List <ClusterMerlin> clusters = new ArrayList<ClusterMerlin>();
+ for (String clusterString : clusterStrings) {
+ clusters.add(new ClusterMerlin(clusterString));
+ }
+ return clusters;
+ }
+
+ @Override
+ public String toString() {
+ try {
+ StringWriter sw = new StringWriter();
+ EntityType.CLUSTER.getMarshaller().marshal(this, sw);
+ return sw.toString();
+ } catch (JAXBException e) {
+ throw new RuntimeException(e);
+ }
+ }
+
+ /**
+ * Sets unique names for the cluster
+ * @return mapping of old name to new name
+ */
+ public Map<? extends String, ? extends String> setUniqueName() {
+ final String oldName = getName();
+ final String newName = oldName + Util.getUniqueString();
+ setName(newName);
+ final HashMap<String, String> nameMap = new HashMap<String, String>(1);
+ nameMap.put(oldName, newName);
+ return nameMap;
+ }
+}