package com.kodcu.config.yml;

/**
 * Created by Hakan on 1/16/2016.
 */
public class Elastic {

    private String host;
    private int port;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    @Override
    public String toString() {
        return "Elastic{" +
                "host='" + host + '\'' +
                ", port=" + port +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Elastic elastic = (Elastic) o;

        if (port != elastic.port) return false;
        return host != null ? host.equals(elastic.host) : elastic.host == null;

    }

    @Override
    public int hashCode() {
        int result = host != null ? host.hashCode() : 0;
        result = 31 * result + port;
        return result;
    }
}

@@ -136,16 +136,47 @@
 nt port;
+%0A    private String dateFormat;
 %0A%0A    pu
@@ -415,32 +415,198 @@
  = port;%0A    %7D%0A%0A
+    public void setDateFormat(String dateFormat) %7B%0A        this.dateFormat = dateFormat;%0A    %7D%0A%0A    public String getDateFormat() %7B%0A        return dateFormat;%0A    %7D%0A%0A
     @Override%0A  
@@ -703,16 +703,16 @@
  '%5C'' +%0A
-
         
@@ -738,16 +738,63 @@
  port +%0A
+                %22, dateFormat=%22 + dateFormat +%0A
         

Include missing file.