falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samar...@apache.org
Subject [26/27] adding falcon-regression
Date Mon, 04 Aug 2014 10:04:25 GMT
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/Location.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/Location.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/Location.java
new file mode 100644
index 0000000..bc07315
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/Location.java
@@ -0,0 +1,103 @@
+//
+// 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.cluster;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * 
+ *                 Location has the name and the path.
+ *                 name: is the type of locations like
+ *                 staging, temp and working.
+ *                 path: the hdfs path for each location.
+ *                 Falcon would use the location to do intermediate
+ *                 processing of entities in hdfs and hence Falcon
+ *                 should have read/write/execute permission on these
+ *                 locations.
+ *             
+ * 
+ * <p>Java class for location complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="location">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;attribute name="name" use="required" type="{uri:falcon:cluster:0.1}IDENTIFIER" />
+ *       &lt;attribute name="path" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "location")
+public class Location {
+
+    @XmlAttribute(name = "name", required = true)
+    protected String name;
+    @XmlAttribute(name = "path", required = true)
+    protected String path;
+
+    /**
+     * 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 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;
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/Locations.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/Locations.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/Locations.java
new file mode 100644
index 0000000..0988dc3
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/Locations.java
@@ -0,0 +1,79 @@
+//
+// 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.cluster;
+
+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 locations on cluster.
+ *             
+ * 
+ * <p>Java class for locations complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="locations">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="location" type="{uri:falcon:cluster:0.1}location" maxOccurs="unbounded"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "locations", propOrder = {
+    "locations"
+})
+public class Locations {
+
+    @XmlElement(name = "location", required = true)
+    protected List<Location> locations;
+
+    /**
+     * Gets the value of the locations 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 locations property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getLocations().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link Location }
+     * 
+     * 
+     */
+    public List<Location> getLocations() {
+        if (locations == null) {
+            locations = new ArrayList<Location>();
+        }
+        return this.locations;
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/ObjectFactory.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/ObjectFactory.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/ObjectFactory.java
new file mode 100644
index 0000000..8222988
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/ObjectFactory.java
@@ -0,0 +1,95 @@
+//
+// 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.cluster;
+
+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.cluster 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.cluster
+     * 
+     */
+    public ObjectFactory() {
+    }
+
+    /**
+     * Create an instance of {@link Cluster }
+     * 
+     */
+    public Cluster createCluster() {
+        return new Cluster();
+    }
+
+    /**
+     * Create an instance of {@link Interfaces }
+     * 
+     */
+    public Interfaces createInterfaces() {
+        return new Interfaces();
+    }
+
+    /**
+     * Create an instance of {@link Locations }
+     * 
+     */
+    public Locations createLocations() {
+        return new Locations();
+    }
+
+    /**
+     * Create an instance of {@link Properties }
+     * 
+     */
+    public Properties createProperties() {
+        return new Properties();
+    }
+
+    /**
+     * Create an instance of {@link Location }
+     * 
+     */
+    public Location createLocation() {
+        return new Location();
+    }
+
+    /**
+     * Create an instance of {@link Property }
+     * 
+     */
+    public Property createProperty() {
+        return new Property();
+    }
+
+    /**
+     * Create an instance of {@link Interface }
+     * 
+     */
+    public Interface createInterface() {
+        return new Interface();
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/bdcf001f/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/Properties.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/Properties.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/Properties.java
new file mode 100644
index 0000000..66cc5cf
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/Properties.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.cluster;
+
+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 property elements.
+ *             
+ * 
+ * <p>Java class for properties complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="properties">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="property" type="{uri:falcon:cluster:0.1}property" maxOccurs="unbounded" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/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/cluster/Property.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/Property.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/Property.java
new file mode 100644
index 0000000..fd35145
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/Property.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.cluster;
+
+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 key-value pair, which are propagated to the
+ *                 workflow engine.
+ *                 Ideally the Mapred's job queue name (queueName) and
+ *                 JMS impl class nameof messaging engine (brokerImplClass)
+ *                 should be defined here.
+ *             
+ * 
+ * <p>Java class for property complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="property">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/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/cluster/package-info.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/package-info.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/package-info.java
new file mode 100644
index 0000000..dc21e24
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/cluster/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:cluster:0.1", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.apache.falcon.entity.v0.cluster;

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/ACL.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/ACL.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/ACL.java
new file mode 100644
index 0000000..ebaf70a
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/ACL.java
@@ -0,0 +1,123 @@
+//
+// 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;
+
+
+/**
+ * 
+ *                 Access control list for this feed.
+ *             
+ * 
+ * <p>Java class for ACL complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="ACL">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;attribute name="owner" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="group" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="permission" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ACL")
+public class ACL {
+
+    @XmlAttribute(name = "owner")
+    protected String owner;
+    @XmlAttribute(name = "group")
+    protected String group;
+    @XmlAttribute(name = "permission")
+    protected String permission;
+
+    /**
+     * Gets the value of the owner property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getOwner() {
+        return owner;
+    }
+
+    /**
+     * Sets the value of the owner property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setOwner(String value) {
+        this.owner = value;
+    }
+
+    /**
+     * Gets the value of the group property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getGroup() {
+        return group;
+    }
+
+    /**
+     * Sets the value of the group property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setGroup(String value) {
+        this.group = value;
+    }
+
+    /**
+     * Gets the value of the permission property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getPermission() {
+        return permission;
+    }
+
+    /**
+     * Sets the value of the permission property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setPermission(String value) {
+        this.permission = 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/ActionType.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/ActionType.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/ActionType.java
new file mode 100644
index 0000000..57380e7
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/ActionType.java
@@ -0,0 +1,64 @@
+//
+// 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 action-type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * &lt;simpleType name="action-type">
+ *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     &lt;enumeration value="archive"/>
+ *     &lt;enumeration value="delete"/>
+ *     &lt;enumeration value="chown"/>
+ *     &lt;enumeration value="chmod"/>
+ *   &lt;/restriction>
+ * &lt;/simpleType>
+ * </pre>
+ * 
+ */
+@XmlType(name = "action-type")
+@XmlEnum
+public enum ActionType {
+
+    @XmlEnumValue("archive")
+    ARCHIVE("archive"),
+    @XmlEnumValue("delete")
+    DELETE("delete"),
+    @XmlEnumValue("chown")
+    CHOWN("chown"),
+    @XmlEnumValue("chmod")
+    CHMOD("chmod");
+    private final String value;
+
+    ActionType(String v) {
+        value = v;
+    }
+
+    public String value() {
+        return value;
+    }
+
+    public static ActionType fromValue(String v) {
+        for (ActionType c: ActionType.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/Adapter1.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Adapter1.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Adapter1.java
new file mode 100644
index 0000000..c11541b
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/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.feed;
+
+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/feed/Adapter2.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Adapter2.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Adapter2.java
new file mode 100644
index 0000000..98fe47d
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/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.feed;
+
+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/feed/Adapter3.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Adapter3.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Adapter3.java
new file mode 100644
index 0000000..81c3c1e
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/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.feed;
+
+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/feed/CatalogTable.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/CatalogTable.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/CatalogTable.java
new file mode 100644
index 0000000..c942f8a
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/CatalogTable.java
@@ -0,0 +1,71 @@
+//
+// 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;
+
+
+/**
+ * 
+ *                 catalog specifies the uri of a Hive table along with the partition spec.
+ *                 uri="catalog:$database:$table#(partition-key=partition-value);+"
+ *                 Example: catalog:logs-db:clicks#ds=${YEAR}-${MONTH}-${DAY}
+ *             
+ * 
+ * <p>Java class for catalog-table complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="catalog-table">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;attribute name="uri" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "catalog-table")
+public class CatalogTable {
+
+    @XmlAttribute(name = "uri", required = true)
+    protected String uri;
+
+    /**
+     * Gets the value of the uri property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getUri() {
+        return uri;
+    }
+
+    /**
+     * Sets the value of the uri property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setUri(String value) {
+        this.uri = 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/Cluster.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Cluster.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Cluster.java
new file mode 100644
index 0000000..0c295cb
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Cluster.java
@@ -0,0 +1,285 @@
+//
+// 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.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import org.apache.falcon.entity.v0.Frequency;
+
+
+/**
+ * 
+ *                 Feed references a cluster by it's name, before submitting a feed all the
+ *                 referenced cluster should be submitted to Falcon.
+ *                 type: specifies whether the
+ *                 referenced cluster should be treated as a
+ *                 source or target for a feed.
+ *                 Validity of a feed on cluster specifies duration for which this feed is
+ *                 valid on this cluster.
+ *                 Retention specifies how long the feed is retained on this cluster and the
+ *                 action to be taken on the feed after the expiry of retention period.
+ *                 The retention limit is
+ *                 specified by expression frequency(times), ex: if
+ *                 feed should be retained for at least 6 hours then retention's limit="hours(6)".
+ *                 The field partitionExp contains
+ *                 partition tags. Number of partition tags has to be equal to number of partitions specified in feed
+ *                 schema.
+ *                 A partition tag can be a wildcard(*), a static string or
+ *                 an expression. Atleast one of the strings has to be an expression.
+ *             
+ * 
+ * <p>Java class for cluster complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cluster">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="validity" type="{uri:falcon:feed:0.1}validity"/>
+ *         &lt;element name="retention" type="{uri:falcon:feed:0.1}retention"/>
+ *         &lt;choice minOccurs="0">
+ *           &lt;element name="locations" type="{uri:falcon:feed:0.1}locations" minOccurs="0"/>
+ *           &lt;element name="table" type="{uri:falcon:feed:0.1}catalog-table"/>
+ *         &lt;/choice>
+ *       &lt;/sequence>
+ *       &lt;attribute name="name" use="required" type="{uri:falcon:feed:0.1}IDENTIFIER" />
+ *       &lt;attribute name="type" type="{uri:falcon:feed:0.1}cluster-type" />
+ *       &lt;attribute name="partition" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="delay" type="{uri:falcon:feed:0.1}frequency-type" />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cluster", propOrder = {
+    "validity",
+    "retention",
+    "table",
+    "locations"
+})
+public class Cluster {
+
+    @XmlElement(required = true)
+    protected Validity validity;
+    @XmlElement(required = true)
+    protected Retention retention;
+    protected CatalogTable table;
+    protected Locations locations;
+    @XmlAttribute(name = "name", required = true)
+    protected String name;
+    @XmlAttribute(name = "type")
+    protected ClusterType type;
+    @XmlAttribute(name = "partition")
+    protected String partition;
+    @XmlAttribute(name = "delay")
+    @XmlJavaTypeAdapter(Adapter1 .class)
+    protected Frequency delay;
+
+    /**
+     * 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 retention property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Retention }
+     *     
+     */
+    public Retention getRetention() {
+        return retention;
+    }
+
+    /**
+     * Sets the value of the retention property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Retention }
+     *     
+     */
+    public void setRetention(Retention value) {
+        this.retention = value;
+    }
+
+    /**
+     * Gets the value of the table property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link CatalogTable }
+     *     
+     */
+    public CatalogTable getTable() {
+        return table;
+    }
+
+    /**
+     * Sets the value of the table property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link CatalogTable }
+     *     
+     */
+    public void setTable(CatalogTable value) {
+        this.table = value;
+    }
+
+    /**
+     * Gets the value of the locations property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Locations }
+     *     
+     */
+    public Locations getLocations() {
+        return locations;
+    }
+
+    /**
+     * Sets the value of the locations property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Locations }
+     *     
+     */
+    public void setLocations(Locations value) {
+        this.locations = 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 type property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link ClusterType }
+     *     
+     */
+    public ClusterType getType() {
+        return type;
+    }
+
+    /**
+     * Sets the value of the type property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link ClusterType }
+     *     
+     */
+    public void setType(ClusterType value) {
+        this.type = 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 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/feed/ClusterType.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/ClusterType.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/ClusterType.java
new file mode 100644
index 0000000..a996c19
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/ClusterType.java
@@ -0,0 +1,58 @@
+//
+// 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 cluster-type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * &lt;simpleType name="cluster-type">
+ *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     &lt;enumeration value="source"/>
+ *     &lt;enumeration value="target"/>
+ *   &lt;/restriction>
+ * &lt;/simpleType>
+ * </pre>
+ * 
+ */
+@XmlType(name = "cluster-type")
+@XmlEnum
+public enum ClusterType {
+
+    @XmlEnumValue("source")
+    SOURCE("source"),
+    @XmlEnumValue("target")
+    TARGET("target");
+    private final String value;
+
+    ClusterType(String v) {
+        value = v;
+    }
+
+    public String value() {
+        return value;
+    }
+
+    public static ClusterType fromValue(String v) {
+        for (ClusterType c: ClusterType.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/Clusters.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Clusters.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Clusters.java
new file mode 100644
index 0000000..c2750eb
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/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.feed;
+
+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>
+ * &lt;complexType name="clusters">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="cluster" type="{uri:falcon:feed:0.1}cluster" maxOccurs="unbounded"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/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/feed/Feed.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Feed.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Feed.java
new file mode 100644
index 0000000..7faa1dc
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Feed.java
@@ -0,0 +1,493 @@
+//
+// 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.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;
+
+
+/**
+ * 
+ *                 name: A feed should have a unique name and this name is referenced
+ *                 by processes as input or output feed.
+ *                 tags: a feed specifies an optional list of comma separated tags
+ *                 which is used for classification of data sets.
+ *                 groups: a feed specifies a list of comma separated groups,
+ *                 a group is a logical grouping of feeds and a group is said to be
+ *                 available if all the feeds belonging to a group are available.
+ *                 The frequency of all
+ *                 the feed which belong to the same group
+ *                 must be same.
+ *                 availabilityFlag: specifies the name of a file which when
+ *                 present/created
+ *                 in a feeds data directory, the feed is
+ *                 termed as available. ex: _SUCCESS, if
+ *                 this element is ignored then Falcon would consider the presence of feed's
+ *                 data directory as feed availability.
+ *                 A feed has a
+ *                 frequency and a periodicity which specifies the frequency by which
+ *                 this feed is generated. ex: it can be generated every hour, every 5 minutes, daily, weekly etc.
+ *                 valid frequency type for a feed are minutes, hours, days, months.
+ *             
+ * 
+ * <p>Java class for feed complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="feed">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="tags" type="{uri:falcon:feed:0.1}KEY_VALUE_PAIR" minOccurs="0"/>
+ *         &lt;element name="partitions" type="{uri:falcon:feed:0.1}partitions" minOccurs="0"/>
+ *         &lt;element name="groups" type="{uri:falcon:feed:0.1}group-type" minOccurs="0"/>
+ *         &lt;element name="availabilityFlag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         &lt;element name="frequency" type="{uri:falcon:feed:0.1}frequency-type"/>
+ *         &lt;element name="timezone" minOccurs="0">
+ *           &lt;simpleType>
+ *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *             &lt;/restriction>
+ *           &lt;/simpleType>
+ *         &lt;/element>
+ *         &lt;element name="late-arrival" type="{uri:falcon:feed:0.1}late-arrival" minOccurs="0"/>
+ *         &lt;element name="clusters" type="{uri:falcon:feed:0.1}clusters"/>
+ *         &lt;choice>
+ *           &lt;element name="locations" type="{uri:falcon:feed:0.1}locations"/>
+ *           &lt;element name="table" type="{uri:falcon:feed:0.1}catalog-table"/>
+ *         &lt;/choice>
+ *         &lt;element name="ACL" type="{uri:falcon:feed:0.1}ACL"/>
+ *         &lt;element name="schema" type="{uri:falcon:feed:0.1}schema"/>
+ *         &lt;element name="properties" type="{uri:falcon:feed:0.1}properties" minOccurs="0"/>
+ *       &lt;/sequence>
+ *       &lt;attribute name="name" use="required" type="{uri:falcon:feed:0.1}IDENTIFIER" />
+ *       &lt;attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "feed", propOrder = {
+    "tags",
+    "partitions",
+    "groups",
+    "availabilityFlag",
+    "frequency",
+    "timezone",
+    "lateArrival",
+    "clusters",
+    "table",
+    "locations",
+    "acl",
+    "schema",
+    "properties"
+})
+@XmlRootElement(name = "feed")
+public class Feed
+    extends Entity
+{
+
+    protected String tags;
+    protected Partitions partitions;
+    protected String groups;
+    protected String availabilityFlag;
+    @XmlElement(required = true, type = String.class)
+    @XmlJavaTypeAdapter(Adapter1 .class)
+    protected Frequency frequency;
+    @XmlElement(type = String.class, defaultValue = "UTC")
+    @XmlJavaTypeAdapter(Adapter2 .class)
+    protected TimeZone timezone;
+    @XmlElement(name = "late-arrival")
+    protected LateArrival lateArrival;
+    @XmlElement(required = true)
+    protected Clusters clusters;
+    protected CatalogTable table;
+    protected Locations locations;
+    @XmlElement(name = "ACL", required = true)
+    protected ACL acl;
+    @XmlElement(required = true)
+    protected Schema schema;
+    protected Properties properties;
+    @XmlAttribute(name = "name", required = true)
+    protected String name;
+    @XmlAttribute(name = "description")
+    protected String description;
+
+    /**
+     * 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 partitions property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Partitions }
+     *     
+     */
+    public Partitions getPartitions() {
+        return partitions;
+    }
+
+    /**
+     * Sets the value of the partitions property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Partitions }
+     *     
+     */
+    public void setPartitions(Partitions value) {
+        this.partitions = value;
+    }
+
+    /**
+     * Gets the value of the groups property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getGroups() {
+        return groups;
+    }
+
+    /**
+     * Sets the value of the groups property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setGroups(String value) {
+        this.groups = value;
+    }
+
+    /**
+     * Gets the value of the availabilityFlag property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getAvailabilityFlag() {
+        return availabilityFlag;
+    }
+
+    /**
+     * Sets the value of the availabilityFlag property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setAvailabilityFlag(String value) {
+        this.availabilityFlag = 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 lateArrival property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link LateArrival }
+     *     
+     */
+    public LateArrival getLateArrival() {
+        return lateArrival;
+    }
+
+    /**
+     * Sets the value of the lateArrival property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link LateArrival }
+     *     
+     */
+    public void setLateArrival(LateArrival value) {
+        this.lateArrival = 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 table property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link CatalogTable }
+     *     
+     */
+    public CatalogTable getTable() {
+        return table;
+    }
+
+    /**
+     * Sets the value of the table property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link CatalogTable }
+     *     
+     */
+    public void setTable(CatalogTable value) {
+        this.table = value;
+    }
+
+    /**
+     * Gets the value of the locations property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Locations }
+     *     
+     */
+    public Locations getLocations() {
+        return locations;
+    }
+
+    /**
+     * Sets the value of the locations property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Locations }
+     *     
+     */
+    public void setLocations(Locations value) {
+        this.locations = value;
+    }
+
+    /**
+     * Gets the value of the acl property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link ACL }
+     *     
+     */
+    public ACL getACL() {
+        return acl;
+    }
+
+    /**
+     * Sets the value of the acl property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link ACL }
+     *     
+     */
+    public void setACL(ACL value) {
+        this.acl = value;
+    }
+
+    /**
+     * Gets the value of the schema property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Schema }
+     *     
+     */
+    public Schema getSchema() {
+        return schema;
+    }
+
+    /**
+     * Sets the value of the schema property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Schema }
+     *     
+     */
+    public void setSchema(Schema value) {
+        this.schema = 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 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 description property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getDescription() {
+        return description;
+    }
+
+    /**
+     * Sets the value of the description property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setDescription(String value) {
+        this.description = 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/LateArrival.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/LateArrival.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/LateArrival.java
new file mode 100644
index 0000000..d4f62df
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/LateArrival.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.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;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import org.apache.falcon.entity.v0.Frequency;
+
+
+/**
+ * 
+ *                 late-arrival specifies the cut-off period till which the feed is
+ *                 expected to arrive late and should be honored be processes referring
+ *                 to it as input
+ *                 feed by rerunning the instances in case
+ *                 the data arrives late with in a cut-off period.
+ *                 The cut-off period is specified by expression
+ *                 frequency(times), ex: if the feed
+ *                 can arrive late
+ *                 upto 8 hours then late-arrival's cut-off="hours(8)"
+ *             
+ * 
+ * <p>Java class for late-arrival complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="late-arrival">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;attribute name="cut-off" use="required" type="{uri:falcon:feed:0.1}frequency-type" />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "late-arrival")
+public class LateArrival {
+
+    @XmlAttribute(name = "cut-off", required = true)
+    @XmlJavaTypeAdapter(Adapter1 .class)
+    protected Frequency cutOff;
+
+    /**
+     * Gets the value of the cutOff property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public Frequency getCutOff() {
+        return cutOff;
+    }
+
+    /**
+     * Sets the value of the cutOff property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setCutOff(Frequency value) {
+        this.cutOff = 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/Location.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Location.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Location.java
new file mode 100644
index 0000000..c3f3461
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Location.java
@@ -0,0 +1,101 @@
+//
+// 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;
+
+
+/**
+ * 
+ *                 location specifies the type of location like data, meta, stats
+ *                 and the corresponding paths for them.
+ *                 A feed should at least define the location for type
+ *                 data, which
+ *                 specifies the HDFS path pattern where the feed is generated
+ *                 periodically. ex: type="data" path="/projects/TrafficHourly/${YEAR}-${MONTH}-${DAY}/traffic"
+ *             
+ * 
+ * <p>Java class for location complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="location">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;attribute name="type" use="required" type="{uri:falcon:feed:0.1}location-type" />
+ *       &lt;attribute name="path" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "location")
+public class Location {
+
+    @XmlAttribute(name = "type", required = true)
+    protected LocationType type;
+    @XmlAttribute(name = "path", required = true)
+    protected String path;
+
+    /**
+     * Gets the value of the type property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link LocationType }
+     *     
+     */
+    public LocationType getType() {
+        return type;
+    }
+
+    /**
+     * Sets the value of the type property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link LocationType }
+     *     
+     */
+    public void setType(LocationType value) {
+        this.type = 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;
+    }
+
+}

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/LocationType.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/LocationType.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/LocationType.java
new file mode 100644
index 0000000..52989db
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/LocationType.java
@@ -0,0 +1,64 @@
+//
+// 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 location-type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * &lt;simpleType name="location-type">
+ *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     &lt;enumeration value="data"/>
+ *     &lt;enumeration value="stats"/>
+ *     &lt;enumeration value="meta"/>
+ *     &lt;enumeration value="tmp"/>
+ *   &lt;/restriction>
+ * &lt;/simpleType>
+ * </pre>
+ * 
+ */
+@XmlType(name = "location-type")
+@XmlEnum
+public enum LocationType {
+
+    @XmlEnumValue("data")
+    DATA("data"),
+    @XmlEnumValue("stats")
+    STATS("stats"),
+    @XmlEnumValue("meta")
+    META("meta"),
+    @XmlEnumValue("tmp")
+    TMP("tmp");
+    private final String value;
+
+    LocationType(String v) {
+        value = v;
+    }
+
+    public String value() {
+        return value;
+    }
+
+    public static LocationType fromValue(String v) {
+        for (LocationType c: LocationType.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/Locations.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Locations.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Locations.java
new file mode 100644
index 0000000..a67ac6b
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Locations.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.feed;
+
+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 locations on the file system.
+ *             
+ * 
+ * <p>Java class for locations complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="locations">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *         &lt;element name="location" type="{uri:falcon:feed:0.1}location"/>
+ *       &lt;/choice>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "locations", propOrder = {
+    "locations"
+})
+public class Locations {
+
+    @XmlElement(name = "location")
+    protected List<Location> locations;
+
+    /**
+     * Gets the value of the locations 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 locations property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getLocations().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link Location }
+     * 
+     * 
+     */
+    public List<Location> getLocations() {
+        if (locations == null) {
+            locations = new ArrayList<Location>();
+        }
+        return this.locations;
+    }
+
+}

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/ObjectFactory.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/ObjectFactory.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/ObjectFactory.java
new file mode 100644
index 0000000..b973bea
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/ObjectFactory.java
@@ -0,0 +1,159 @@
+//
+// 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.XmlRegistry;
+
+
+/**
+ * This object contains factory methods for each 
+ * Java content interface and Java element interface 
+ * generated in the org.apache.falcon.entity.v0.feed 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.feed
+     * 
+     */
+    public ObjectFactory() {
+    }
+
+    /**
+     * Create an instance of {@link Feed }
+     * 
+     */
+    public Feed createFeed() {
+        return new Feed();
+    }
+
+    /**
+     * Create an instance of {@link Partitions }
+     * 
+     */
+    public Partitions createPartitions() {
+        return new Partitions();
+    }
+
+    /**
+     * Create an instance of {@link LateArrival }
+     * 
+     */
+    public LateArrival createLateArrival() {
+        return new LateArrival();
+    }
+
+    /**
+     * Create an instance of {@link Clusters }
+     * 
+     */
+    public Clusters createClusters() {
+        return new Clusters();
+    }
+
+    /**
+     * Create an instance of {@link CatalogTable }
+     * 
+     */
+    public CatalogTable createCatalogTable() {
+        return new CatalogTable();
+    }
+
+    /**
+     * Create an instance of {@link Locations }
+     * 
+     */
+    public Locations createLocations() {
+        return new Locations();
+    }
+
+    /**
+     * Create an instance of {@link ACL }
+     * 
+     */
+    public ACL createACL() {
+        return new ACL();
+    }
+
+    /**
+     * Create an instance of {@link Schema }
+     * 
+     */
+    public Schema createSchema() {
+        return new Schema();
+    }
+
+    /**
+     * Create an instance of {@link Properties }
+     * 
+     */
+    public Properties createProperties() {
+        return new Properties();
+    }
+
+    /**
+     * Create an instance of {@link Location }
+     * 
+     */
+    public Location createLocation() {
+        return new Location();
+    }
+
+    /**
+     * Create an instance of {@link Property }
+     * 
+     */
+    public Property createProperty() {
+        return new Property();
+    }
+
+    /**
+     * Create an instance of {@link Partition }
+     * 
+     */
+    public Partition createPartition() {
+        return new Partition();
+    }
+
+    /**
+     * Create an instance of {@link Validity }
+     * 
+     */
+    public Validity createValidity() {
+        return new Validity();
+    }
+
+    /**
+     * Create an instance of {@link Retention }
+     * 
+     */
+    public Retention createRetention() {
+        return new Retention();
+    }
+
+    /**
+     * Create an instance of {@link Cluster }
+     * 
+     */
+    public Cluster createCluster() {
+        return new Cluster();
+    }
+
+}

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/Partition.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Partition.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Partition.java
new file mode 100644
index 0000000..4958d37
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Partition.java
@@ -0,0 +1,65 @@
+//
+// 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;
+
+
+/**
+ * <p>Java class for partition complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="partition">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;attribute name="name" use="required" type="{uri:falcon:feed:0.1}IDENTIFIER" />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "partition")
+public class Partition {
+
+    @XmlAttribute(name = "name", required = true)
+    protected String name;
+
+    /**
+     * 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/feed/Partitions.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Partitions.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Partitions.java
new file mode 100644
index 0000000..5c05103
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Partitions.java
@@ -0,0 +1,81 @@
+//
+// 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.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 partition, which is the logical partition of a feed and this
+ *                 is maintained in Hcatalog registry.
+ *             
+ * 
+ * <p>Java class for partitions complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="partitions">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="partition" type="{uri:falcon:feed:0.1}partition" maxOccurs="unbounded" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "partitions", propOrder = {
+    "partitions"
+})
+public class Partitions {
+
+    @XmlElement(name = "partition")
+    protected List<Partition> partitions;
+
+    /**
+     * Gets the value of the partitions 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 partitions property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getPartitions().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link Partition }
+     * 
+     * 
+     */
+    public List<Partition> getPartitions() {
+        if (partitions == null) {
+            partitions = new ArrayList<Partition>();
+        }
+        return this.partitions;
+    }
+
+}

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/Properties.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Properties.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Properties.java
new file mode 100644
index 0000000..44aa10c
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Properties.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.feed;
+
+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 name-value pair of property.
+ *             
+ * 
+ * <p>Java class for properties complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="properties">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="property" type="{uri:falcon:feed:0.1}property" maxOccurs="unbounded" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/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/feed/Property.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Property.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Property.java
new file mode 100644
index 0000000..70e16dc
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Property.java
@@ -0,0 +1,97 @@
+//
+// 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 key-value pair, which are propagated to the
+ *                 workflow engine.
+ *             
+ * 
+ * <p>Java class for property complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="property">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/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/feed/Retention.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Retention.java b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Retention.java
new file mode 100644
index 0000000..b811199
--- /dev/null
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/entity/v0/feed/Retention.java
@@ -0,0 +1,126 @@
+//
+// 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;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import org.apache.falcon.entity.v0.Frequency;
+
+
+/**
+ * <p>Java class for retention complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="retention">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;attribute name="type" type="{uri:falcon:feed:0.1}retention-type" default="instance" />
+ *       &lt;attribute name="limit" use="required" type="{uri:falcon:feed:0.1}frequency-type" />
+ *       &lt;attribute name="action" use="required" type="{uri:falcon:feed:0.1}action-type" />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "retention")
+public class Retention {
+
+    @XmlAttribute(name = "type")
+    protected RetentionType type;
+    @XmlAttribute(name = "limit", required = true)
+    @XmlJavaTypeAdapter(Adapter1 .class)
+    protected Frequency limit;
+    @XmlAttribute(name = "action", required = true)
+    protected ActionType action;
+
+    /**
+     * Gets the value of the type property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link RetentionType }
+     *     
+     */
+    public RetentionType getType() {
+        if (type == null) {
+            return RetentionType.INSTANCE;
+        } else {
+            return type;
+        }
+    }
+
+    /**
+     * Sets the value of the type property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link RetentionType }
+     *     
+     */
+    public void setType(RetentionType value) {
+        this.type = value;
+    }
+
+    /**
+     * Gets the value of the limit property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public Frequency getLimit() {
+        return limit;
+    }
+
+    /**
+     * Sets the value of the limit property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setLimit(Frequency value) {
+        this.limit = value;
+    }
+
+    /**
+     * Gets the value of the action property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link ActionType }
+     *     
+     */
+    public ActionType getAction() {
+        return action;
+    }
+
+    /**
+     * Sets the value of the action property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link ActionType }
+     *     
+     */
+    public void setAction(ActionType value) {
+        this.action = value;
+    }
+
+}


Mime
View raw message