Change Doubles to Strings in messages
[aquarium] / src / main / java / gr / grnet / aquarium / message / avro / gen / IMEventMsg.java
index 56f3db8..db02a7a 100644 (file)
@@ -6,31 +6,59 @@
 package gr.grnet.aquarium.message.avro.gen;  
 @SuppressWarnings("all")
 public class IMEventMsg extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
-  public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"IMEventMsg\",\"namespace\":\"gr.grnet.aquarium.message.avro.gen\",\"fields\":[{\"name\":\"id\",\"type\":\"string\",\"aliases\":[\"originalID\",\"ID\"]},{\"name\":\"idInStore\",\"type\":\"string\"},{\"name\":\"occurredMillis\",\"type\":\"long\"},{\"name\":\"receivedMillis\",\"type\":\"long\",\"default\":0},{\"name\":\"userID\",\"type\":\"string\"},{\"name\":\"clientID\",\"type\":\"string\"},{\"name\":\"eventVersion\",\"type\":\"string\",\"default\":\"1.0\"},{\"name\":\"isActive\",\"type\":\"boolean\"},{\"name\":\"role\",\"type\":\"string\"},{\"name\":\"details\",\"type\":{\"type\":\"map\",\"values\":{\"type\":\"record\",\"name\":\"AnyValueMsg\",\"fields\":[{\"name\":\"anyValue\",\"type\":[\"null\",\"int\",\"long\",\"boolean\",\"double\",\"bytes\",\"string\"]}]}}}]}");
-  @Deprecated public java.lang.CharSequence id;
-  @Deprecated public java.lang.CharSequence idInStore;
+  public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"IMEventMsg\",\"namespace\":\"gr.grnet.aquarium.message.avro.gen\",\"fields\":[{\"name\":\"originalID\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"inStoreID\",\"type\":[{\"type\":\"string\",\"avro.java.string\":\"String\"},\"null\"]},{\"name\":\"occurredMillis\",\"type\":\"long\"},{\"name\":\"receivedMillis\",\"type\":\"long\",\"default\":0},{\"name\":\"userID\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"clientID\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"eventVersion\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"default\":\"1.0\"},{\"name\":\"eventType\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"isActive\",\"type\":\"boolean\"},{\"name\":\"role\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"isSynthetic\",\"type\":\"boolean\",\"default\":false},{\"name\":\"details\",\"type\":{\"type\":\"map\",\"values\":{\"type\":\"record\",\"name\":\"AnyValueMsg\",\"fields\":[{\"name\":\"anyValue\",\"type\":[\"null\",\"int\",\"long\",\"boolean\",\"double\",\"bytes\",{\"type\":\"string\",\"avro.java.string\":\"String\"},{\"type\":\"array\",\"items\":\"AnyValueMsg\"},{\"type\":\"map\",\"values\":\"AnyValueMsg\",\"avro.java.string\":\"String\"}]}]},\"avro.java.string\":\"String\"}}]}");
+  @Deprecated public java.lang.String originalID;
+  @Deprecated public java.lang.String inStoreID;
   @Deprecated public long occurredMillis;
   @Deprecated public long receivedMillis;
-  @Deprecated public java.lang.CharSequence userID;
-  @Deprecated public java.lang.CharSequence clientID;
-  @Deprecated public java.lang.CharSequence eventVersion;
+  @Deprecated public java.lang.String userID;
+  @Deprecated public java.lang.String clientID;
+  @Deprecated public java.lang.String eventVersion;
+  @Deprecated public java.lang.String eventType;
   @Deprecated public boolean isActive;
-  @Deprecated public java.lang.CharSequence role;
-  @Deprecated public java.util.Map<java.lang.CharSequence,gr.grnet.aquarium.message.avro.gen.AnyValueMsg> details;
+  @Deprecated public java.lang.String role;
+  @Deprecated public boolean isSynthetic;
+  @Deprecated public java.util.Map<java.lang.String,gr.grnet.aquarium.message.avro.gen.AnyValueMsg> details;
+
+  /**
+   * Default constructor.
+   */
+  public IMEventMsg() {}
+
+  /**
+   * All-args constructor.
+   */
+  public IMEventMsg(java.lang.String originalID, java.lang.String inStoreID, java.lang.Long occurredMillis, java.lang.Long receivedMillis, java.lang.String userID, java.lang.String clientID, java.lang.String eventVersion, java.lang.String eventType, java.lang.Boolean isActive, java.lang.String role, java.lang.Boolean isSynthetic, java.util.Map<java.lang.String,gr.grnet.aquarium.message.avro.gen.AnyValueMsg> details) {
+    this.originalID = originalID;
+    this.inStoreID = inStoreID;
+    this.occurredMillis = occurredMillis;
+    this.receivedMillis = receivedMillis;
+    this.userID = userID;
+    this.clientID = clientID;
+    this.eventVersion = eventVersion;
+    this.eventType = eventType;
+    this.isActive = isActive;
+    this.role = role;
+    this.isSynthetic = isSynthetic;
+    this.details = details;
+  }
+
   public org.apache.avro.Schema getSchema() { return SCHEMA$; }
   // Used by DatumWriter.  Applications should not call. 
   public java.lang.Object get(int field$) {
     switch (field$) {
-    case 0: return id;
-    case 1: return idInStore;
+    case 0: return originalID;
+    case 1: return inStoreID;
     case 2: return occurredMillis;
     case 3: return receivedMillis;
     case 4: return userID;
     case 5: return clientID;
     case 6: return eventVersion;
-    case 7: return isActive;
-    case 8: return role;
-    case 9: return details;
+    case 7: return eventType;
+    case 8: return isActive;
+    case 9: return role;
+    case 10: return isSynthetic;
+    case 11: return details;
     default: throw new org.apache.avro.AvroRuntimeException("Bad index");
     }
   }
@@ -38,48 +66,50 @@ public class IMEventMsg extends org.apache.avro.specific.SpecificRecordBase impl
   @SuppressWarnings(value="unchecked")
   public void put(int field$, java.lang.Object value$) {
     switch (field$) {
-    case 0: id = (java.lang.CharSequence)value$; break;
-    case 1: idInStore = (java.lang.CharSequence)value$; break;
+    case 0: originalID = (java.lang.String)value$; break;
+    case 1: inStoreID = (java.lang.String)value$; break;
     case 2: occurredMillis = (java.lang.Long)value$; break;
     case 3: receivedMillis = (java.lang.Long)value$; break;
-    case 4: userID = (java.lang.CharSequence)value$; break;
-    case 5: clientID = (java.lang.CharSequence)value$; break;
-    case 6: eventVersion = (java.lang.CharSequence)value$; break;
-    case 7: isActive = (java.lang.Boolean)value$; break;
-    case 8: role = (java.lang.CharSequence)value$; break;
-    case 9: details = (java.util.Map<java.lang.CharSequence,gr.grnet.aquarium.message.avro.gen.AnyValueMsg>)value$; break;
+    case 4: userID = (java.lang.String)value$; break;
+    case 5: clientID = (java.lang.String)value$; break;
+    case 6: eventVersion = (java.lang.String)value$; break;
+    case 7: eventType = (java.lang.String)value$; break;
+    case 8: isActive = (java.lang.Boolean)value$; break;
+    case 9: role = (java.lang.String)value$; break;
+    case 10: isSynthetic = (java.lang.Boolean)value$; break;
+    case 11: details = (java.util.Map<java.lang.String,gr.grnet.aquarium.message.avro.gen.AnyValueMsg>)value$; break;
     default: throw new org.apache.avro.AvroRuntimeException("Bad index");
     }
   }
 
   /**
-   * Gets the value of the 'id' field.
+   * Gets the value of the 'originalID' field.
    */
-  public java.lang.CharSequence getId() {
-    return id;
+  public java.lang.String getOriginalID() {
+    return originalID;
   }
 
   /**
-   * Sets the value of the 'id' field.
+   * Sets the value of the 'originalID' field.
    * @param value the value to set.
    */
-  public void setId(java.lang.CharSequence value) {
-    this.id = value;
+  public void setOriginalID(java.lang.String value) {
+    this.originalID = value;
   }
 
   /**
-   * Gets the value of the 'idInStore' field.
+   * Gets the value of the 'inStoreID' field.
    */
-  public java.lang.CharSequence getIdInStore() {
-    return idInStore;
+  public java.lang.String getInStoreID() {
+    return inStoreID;
   }
 
   /**
-   * Sets the value of the 'idInStore' field.
+   * Sets the value of the 'inStoreID' field.
    * @param value the value to set.
    */
-  public void setIdInStore(java.lang.CharSequence value) {
-    this.idInStore = value;
+  public void setInStoreID(java.lang.String value) {
+    this.inStoreID = value;
   }
 
   /**
@@ -115,7 +145,7 @@ public class IMEventMsg extends org.apache.avro.specific.SpecificRecordBase impl
   /**
    * Gets the value of the 'userID' field.
    */
-  public java.lang.CharSequence getUserID() {
+  public java.lang.String getUserID() {
     return userID;
   }
 
@@ -123,14 +153,14 @@ public class IMEventMsg extends org.apache.avro.specific.SpecificRecordBase impl
    * Sets the value of the 'userID' field.
    * @param value the value to set.
    */
-  public void setUserID(java.lang.CharSequence value) {
+  public void setUserID(java.lang.String value) {
     this.userID = value;
   }
 
   /**
    * Gets the value of the 'clientID' field.
    */
-  public java.lang.CharSequence getClientID() {
+  public java.lang.String getClientID() {
     return clientID;
   }
 
@@ -138,14 +168,14 @@ public class IMEventMsg extends org.apache.avro.specific.SpecificRecordBase impl
    * Sets the value of the 'clientID' field.
    * @param value the value to set.
    */
-  public void setClientID(java.lang.CharSequence value) {
+  public void setClientID(java.lang.String value) {
     this.clientID = value;
   }
 
   /**
    * Gets the value of the 'eventVersion' field.
    */
-  public java.lang.CharSequence getEventVersion() {
+  public java.lang.String getEventVersion() {
     return eventVersion;
   }
 
@@ -153,11 +183,26 @@ public class IMEventMsg extends org.apache.avro.specific.SpecificRecordBase impl
    * Sets the value of the 'eventVersion' field.
    * @param value the value to set.
    */
-  public void setEventVersion(java.lang.CharSequence value) {
+  public void setEventVersion(java.lang.String value) {
     this.eventVersion = value;
   }
 
   /**
+   * Gets the value of the 'eventType' field.
+   */
+  public java.lang.String getEventType() {
+    return eventType;
+  }
+
+  /**
+   * Sets the value of the 'eventType' field.
+   * @param value the value to set.
+   */
+  public void setEventType(java.lang.String value) {
+    this.eventType = value;
+  }
+
+  /**
    * Gets the value of the 'isActive' field.
    */
   public java.lang.Boolean getIsActive() {
@@ -175,7 +220,7 @@ public class IMEventMsg extends org.apache.avro.specific.SpecificRecordBase impl
   /**
    * Gets the value of the 'role' field.
    */
-  public java.lang.CharSequence getRole() {
+  public java.lang.String getRole() {
     return role;
   }
 
@@ -183,14 +228,29 @@ public class IMEventMsg extends org.apache.avro.specific.SpecificRecordBase impl
    * Sets the value of the 'role' field.
    * @param value the value to set.
    */
-  public void setRole(java.lang.CharSequence value) {
+  public void setRole(java.lang.String value) {
     this.role = value;
   }
 
   /**
+   * Gets the value of the 'isSynthetic' field.
+   */
+  public java.lang.Boolean getIsSynthetic() {
+    return isSynthetic;
+  }
+
+  /**
+   * Sets the value of the 'isSynthetic' field.
+   * @param value the value to set.
+   */
+  public void setIsSynthetic(java.lang.Boolean value) {
+    this.isSynthetic = value;
+  }
+
+  /**
    * Gets the value of the 'details' field.
    */
-  public java.util.Map<java.lang.CharSequence,gr.grnet.aquarium.message.avro.gen.AnyValueMsg> getDetails() {
+  public java.util.Map<java.lang.String,gr.grnet.aquarium.message.avro.gen.AnyValueMsg> getDetails() {
     return details;
   }
 
@@ -198,7 +258,7 @@ public class IMEventMsg extends org.apache.avro.specific.SpecificRecordBase impl
    * Sets the value of the 'details' field.
    * @param value the value to set.
    */
-  public void setDetails(java.util.Map<java.lang.CharSequence,gr.grnet.aquarium.message.avro.gen.AnyValueMsg> value) {
+  public void setDetails(java.util.Map<java.lang.String,gr.grnet.aquarium.message.avro.gen.AnyValueMsg> value) {
     this.details = value;
   }
 
@@ -223,16 +283,18 @@ public class IMEventMsg extends org.apache.avro.specific.SpecificRecordBase impl
   public static class Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<IMEventMsg>
     implements org.apache.avro.data.RecordBuilder<IMEventMsg> {
 
-    private java.lang.CharSequence id;
-    private java.lang.CharSequence idInStore;
+    private java.lang.String originalID;
+    private java.lang.String inStoreID;
     private long occurredMillis;
     private long receivedMillis;
-    private java.lang.CharSequence userID;
-    private java.lang.CharSequence clientID;
-    private java.lang.CharSequence eventVersion;
+    private java.lang.String userID;
+    private java.lang.String clientID;
+    private java.lang.String eventVersion;
+    private java.lang.String eventType;
     private boolean isActive;
-    private java.lang.CharSequence role;
-    private java.util.Map<java.lang.CharSequence,gr.grnet.aquarium.message.avro.gen.AnyValueMsg> details;
+    private java.lang.String role;
+    private boolean isSynthetic;
+    private java.util.Map<java.lang.String,gr.grnet.aquarium.message.avro.gen.AnyValueMsg> details;
 
     /** Creates a new Builder */
     private Builder() {
@@ -247,12 +309,12 @@ public class IMEventMsg extends org.apache.avro.specific.SpecificRecordBase impl
     /** Creates a Builder by copying an existing IMEventMsg instance */
     private Builder(gr.grnet.aquarium.message.avro.gen.IMEventMsg other) {
             super(gr.grnet.aquarium.message.avro.gen.IMEventMsg.SCHEMA$);
-      if (isValidValue(fields()[0], other.id)) {
-        this.id = (java.lang.CharSequence) data().deepCopy(fields()[0].schema(), other.id);
+      if (isValidValue(fields()[0], other.originalID)) {
+        this.originalID = (java.lang.String) data().deepCopy(fields()[0].schema(), other.originalID);
         fieldSetFlags()[0] = true;
       }
-      if (isValidValue(fields()[1], other.idInStore)) {
-        this.idInStore = (java.lang.CharSequence) data().deepCopy(fields()[1].schema(), other.idInStore);
+      if (isValidValue(fields()[1], other.inStoreID)) {
+        this.inStoreID = (java.lang.String) data().deepCopy(fields()[1].schema(), other.inStoreID);
         fieldSetFlags()[1] = true;
       }
       if (isValidValue(fields()[2], other.occurredMillis)) {
@@ -264,77 +326,85 @@ public class IMEventMsg extends org.apache.avro.specific.SpecificRecordBase impl
         fieldSetFlags()[3] = true;
       }
       if (isValidValue(fields()[4], other.userID)) {
-        this.userID = (java.lang.CharSequence) data().deepCopy(fields()[4].schema(), other.userID);
+        this.userID = (java.lang.String) data().deepCopy(fields()[4].schema(), other.userID);
         fieldSetFlags()[4] = true;
       }
       if (isValidValue(fields()[5], other.clientID)) {
-        this.clientID = (java.lang.CharSequence) data().deepCopy(fields()[5].schema(), other.clientID);
+        this.clientID = (java.lang.String) data().deepCopy(fields()[5].schema(), other.clientID);
         fieldSetFlags()[5] = true;
       }
       if (isValidValue(fields()[6], other.eventVersion)) {
-        this.eventVersion = (java.lang.CharSequence) data().deepCopy(fields()[6].schema(), other.eventVersion);
+        this.eventVersion = (java.lang.String) data().deepCopy(fields()[6].schema(), other.eventVersion);
         fieldSetFlags()[6] = true;
       }
-      if (isValidValue(fields()[7], other.isActive)) {
-        this.isActive = (java.lang.Boolean) data().deepCopy(fields()[7].schema(), other.isActive);
+      if (isValidValue(fields()[7], other.eventType)) {
+        this.eventType = (java.lang.String) data().deepCopy(fields()[7].schema(), other.eventType);
         fieldSetFlags()[7] = true;
       }
-      if (isValidValue(fields()[8], other.role)) {
-        this.role = (java.lang.CharSequence) data().deepCopy(fields()[8].schema(), other.role);
+      if (isValidValue(fields()[8], other.isActive)) {
+        this.isActive = (java.lang.Boolean) data().deepCopy(fields()[8].schema(), other.isActive);
         fieldSetFlags()[8] = true;
       }
-      if (isValidValue(fields()[9], other.details)) {
-        this.details = (java.util.Map<java.lang.CharSequence,gr.grnet.aquarium.message.avro.gen.AnyValueMsg>) data().deepCopy(fields()[9].schema(), other.details);
+      if (isValidValue(fields()[9], other.role)) {
+        this.role = (java.lang.String) data().deepCopy(fields()[9].schema(), other.role);
         fieldSetFlags()[9] = true;
       }
+      if (isValidValue(fields()[10], other.isSynthetic)) {
+        this.isSynthetic = (java.lang.Boolean) data().deepCopy(fields()[10].schema(), other.isSynthetic);
+        fieldSetFlags()[10] = true;
+      }
+      if (isValidValue(fields()[11], other.details)) {
+        this.details = (java.util.Map<java.lang.String,gr.grnet.aquarium.message.avro.gen.AnyValueMsg>) data().deepCopy(fields()[11].schema(), other.details);
+        fieldSetFlags()[11] = true;
+      }
     }
 
-    /** Gets the value of the 'id' field */
-    public java.lang.CharSequence getId() {
-      return id;
+    /** Gets the value of the 'originalID' field */
+    public java.lang.String getOriginalID() {
+      return originalID;
     }
     
-    /** Sets the value of the 'id' field */
-    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder setId(java.lang.CharSequence value) {
+    /** Sets the value of the 'originalID' field */
+    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder setOriginalID(java.lang.String value) {
       validate(fields()[0], value);
-      this.id = value;
+      this.originalID = value;
       fieldSetFlags()[0] = true;
       return this; 
     }
     
-    /** Checks whether the 'id' field has been set */
-    public boolean hasId() {
+    /** Checks whether the 'originalID' field has been set */
+    public boolean hasOriginalID() {
       return fieldSetFlags()[0];
     }
     
-    /** Clears the value of the 'id' field */
-    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder clearId() {
-      id = null;
+    /** Clears the value of the 'originalID' field */
+    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder clearOriginalID() {
+      originalID = null;
       fieldSetFlags()[0] = false;
       return this;
     }
 
-    /** Gets the value of the 'idInStore' field */
-    public java.lang.CharSequence getIdInStore() {
-      return idInStore;
+    /** Gets the value of the 'inStoreID' field */
+    public java.lang.String getInStoreID() {
+      return inStoreID;
     }
     
-    /** Sets the value of the 'idInStore' field */
-    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder setIdInStore(java.lang.CharSequence value) {
+    /** Sets the value of the 'inStoreID' field */
+    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder setInStoreID(java.lang.String value) {
       validate(fields()[1], value);
-      this.idInStore = value;
+      this.inStoreID = value;
       fieldSetFlags()[1] = true;
       return this; 
     }
     
-    /** Checks whether the 'idInStore' field has been set */
-    public boolean hasIdInStore() {
+    /** Checks whether the 'inStoreID' field has been set */
+    public boolean hasInStoreID() {
       return fieldSetFlags()[1];
     }
     
-    /** Clears the value of the 'idInStore' field */
-    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder clearIdInStore() {
-      idInStore = null;
+    /** Clears the value of the 'inStoreID' field */
+    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder clearInStoreID() {
+      inStoreID = null;
       fieldSetFlags()[1] = false;
       return this;
     }
@@ -388,12 +458,12 @@ public class IMEventMsg extends org.apache.avro.specific.SpecificRecordBase impl
     }
 
     /** Gets the value of the 'userID' field */
-    public java.lang.CharSequence getUserID() {
+    public java.lang.String getUserID() {
       return userID;
     }
     
     /** Sets the value of the 'userID' field */
-    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder setUserID(java.lang.CharSequence value) {
+    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder setUserID(java.lang.String value) {
       validate(fields()[4], value);
       this.userID = value;
       fieldSetFlags()[4] = true;
@@ -413,12 +483,12 @@ public class IMEventMsg extends org.apache.avro.specific.SpecificRecordBase impl
     }
 
     /** Gets the value of the 'clientID' field */
-    public java.lang.CharSequence getClientID() {
+    public java.lang.String getClientID() {
       return clientID;
     }
     
     /** Sets the value of the 'clientID' field */
-    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder setClientID(java.lang.CharSequence value) {
+    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder setClientID(java.lang.String value) {
       validate(fields()[5], value);
       this.clientID = value;
       fieldSetFlags()[5] = true;
@@ -438,12 +508,12 @@ public class IMEventMsg extends org.apache.avro.specific.SpecificRecordBase impl
     }
 
     /** Gets the value of the 'eventVersion' field */
-    public java.lang.CharSequence getEventVersion() {
+    public java.lang.String getEventVersion() {
       return eventVersion;
     }
     
     /** Sets the value of the 'eventVersion' field */
-    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder setEventVersion(java.lang.CharSequence value) {
+    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder setEventVersion(java.lang.String value) {
       validate(fields()[6], value);
       this.eventVersion = value;
       fieldSetFlags()[6] = true;
@@ -462,6 +532,31 @@ public class IMEventMsg extends org.apache.avro.specific.SpecificRecordBase impl
       return this;
     }
 
+    /** Gets the value of the 'eventType' field */
+    public java.lang.String getEventType() {
+      return eventType;
+    }
+    
+    /** Sets the value of the 'eventType' field */
+    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder setEventType(java.lang.String value) {
+      validate(fields()[7], value);
+      this.eventType = value;
+      fieldSetFlags()[7] = true;
+      return this; 
+    }
+    
+    /** Checks whether the 'eventType' field has been set */
+    public boolean hasEventType() {
+      return fieldSetFlags()[7];
+    }
+    
+    /** Clears the value of the 'eventType' field */
+    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder clearEventType() {
+      eventType = null;
+      fieldSetFlags()[7] = false;
+      return this;
+    }
+
     /** Gets the value of the 'isActive' field */
     public java.lang.Boolean getIsActive() {
       return isActive;
@@ -469,70 +564,94 @@ public class IMEventMsg extends org.apache.avro.specific.SpecificRecordBase impl
     
     /** Sets the value of the 'isActive' field */
     public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder setIsActive(boolean value) {
-      validate(fields()[7], value);
+      validate(fields()[8], value);
       this.isActive = value;
-      fieldSetFlags()[7] = true;
+      fieldSetFlags()[8] = true;
       return this; 
     }
     
     /** Checks whether the 'isActive' field has been set */
     public boolean hasIsActive() {
-      return fieldSetFlags()[7];
+      return fieldSetFlags()[8];
     }
     
     /** Clears the value of the 'isActive' field */
     public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder clearIsActive() {
-      fieldSetFlags()[7] = false;
+      fieldSetFlags()[8] = false;
       return this;
     }
 
     /** Gets the value of the 'role' field */
-    public java.lang.CharSequence getRole() {
+    public java.lang.String getRole() {
       return role;
     }
     
     /** Sets the value of the 'role' field */
-    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder setRole(java.lang.CharSequence value) {
-      validate(fields()[8], value);
+    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder setRole(java.lang.String value) {
+      validate(fields()[9], value);
       this.role = value;
-      fieldSetFlags()[8] = true;
+      fieldSetFlags()[9] = true;
       return this; 
     }
     
     /** Checks whether the 'role' field has been set */
     public boolean hasRole() {
-      return fieldSetFlags()[8];
+      return fieldSetFlags()[9];
     }
     
     /** Clears the value of the 'role' field */
     public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder clearRole() {
       role = null;
-      fieldSetFlags()[8] = false;
+      fieldSetFlags()[9] = false;
+      return this;
+    }
+
+    /** Gets the value of the 'isSynthetic' field */
+    public java.lang.Boolean getIsSynthetic() {
+      return isSynthetic;
+    }
+    
+    /** Sets the value of the 'isSynthetic' field */
+    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder setIsSynthetic(boolean value) {
+      validate(fields()[10], value);
+      this.isSynthetic = value;
+      fieldSetFlags()[10] = true;
+      return this; 
+    }
+    
+    /** Checks whether the 'isSynthetic' field has been set */
+    public boolean hasIsSynthetic() {
+      return fieldSetFlags()[10];
+    }
+    
+    /** Clears the value of the 'isSynthetic' field */
+    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder clearIsSynthetic() {
+      fieldSetFlags()[10] = false;
       return this;
     }
 
     /** Gets the value of the 'details' field */
-    public java.util.Map<java.lang.CharSequence,gr.grnet.aquarium.message.avro.gen.AnyValueMsg> getDetails() {
+    public java.util.Map<java.lang.String,gr.grnet.aquarium.message.avro.gen.AnyValueMsg> getDetails() {
       return details;
     }
     
     /** Sets the value of the 'details' field */
-    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder setDetails(java.util.Map<java.lang.CharSequence,gr.grnet.aquarium.message.avro.gen.AnyValueMsg> value) {
-      validate(fields()[9], value);
+    public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder setDetails(java.util.Map<java.lang.String,gr.grnet.aquarium.message.avro.gen.AnyValueMsg> value) {
+      validate(fields()[11], value);
       this.details = value;
-      fieldSetFlags()[9] = true;
+      fieldSetFlags()[11] = true;
       return this; 
     }
     
     /** Checks whether the 'details' field has been set */
     public boolean hasDetails() {
-      return fieldSetFlags()[9];
+      return fieldSetFlags()[11];
     }
     
     /** Clears the value of the 'details' field */
     public gr.grnet.aquarium.message.avro.gen.IMEventMsg.Builder clearDetails() {
       details = null;
-      fieldSetFlags()[9] = false;
+      fieldSetFlags()[11] = false;
       return this;
     }
 
@@ -540,16 +659,18 @@ public class IMEventMsg extends org.apache.avro.specific.SpecificRecordBase impl
     public IMEventMsg build() {
       try {
         IMEventMsg record = new IMEventMsg();
-        record.id = fieldSetFlags()[0] ? this.id : (java.lang.CharSequence) defaultValue(fields()[0]);
-        record.idInStore = fieldSetFlags()[1] ? this.idInStore : (java.lang.CharSequence) defaultValue(fields()[1]);
+        record.originalID = fieldSetFlags()[0] ? this.originalID : (java.lang.String) defaultValue(fields()[0]);
+        record.inStoreID = fieldSetFlags()[1] ? this.inStoreID : (java.lang.String) defaultValue(fields()[1]);
         record.occurredMillis = fieldSetFlags()[2] ? this.occurredMillis : (java.lang.Long) defaultValue(fields()[2]);
         record.receivedMillis = fieldSetFlags()[3] ? this.receivedMillis : (java.lang.Long) defaultValue(fields()[3]);
-        record.userID = fieldSetFlags()[4] ? this.userID : (java.lang.CharSequence) defaultValue(fields()[4]);
-        record.clientID = fieldSetFlags()[5] ? this.clientID : (java.lang.CharSequence) defaultValue(fields()[5]);
-        record.eventVersion = fieldSetFlags()[6] ? this.eventVersion : (java.lang.CharSequence) defaultValue(fields()[6]);
-        record.isActive = fieldSetFlags()[7] ? this.isActive : (java.lang.Boolean) defaultValue(fields()[7]);
-        record.role = fieldSetFlags()[8] ? this.role : (java.lang.CharSequence) defaultValue(fields()[8]);
-        record.details = fieldSetFlags()[9] ? this.details : (java.util.Map<java.lang.CharSequence,gr.grnet.aquarium.message.avro.gen.AnyValueMsg>) defaultValue(fields()[9]);
+        record.userID = fieldSetFlags()[4] ? this.userID : (java.lang.String) defaultValue(fields()[4]);
+        record.clientID = fieldSetFlags()[5] ? this.clientID : (java.lang.String) defaultValue(fields()[5]);
+        record.eventVersion = fieldSetFlags()[6] ? this.eventVersion : (java.lang.String) defaultValue(fields()[6]);
+        record.eventType = fieldSetFlags()[7] ? this.eventType : (java.lang.String) defaultValue(fields()[7]);
+        record.isActive = fieldSetFlags()[8] ? this.isActive : (java.lang.Boolean) defaultValue(fields()[8]);
+        record.role = fieldSetFlags()[9] ? this.role : (java.lang.String) defaultValue(fields()[9]);
+        record.isSynthetic = fieldSetFlags()[10] ? this.isSynthetic : (java.lang.Boolean) defaultValue(fields()[10]);
+        record.details = fieldSetFlags()[11] ? this.details : (java.util.Map<java.lang.String,gr.grnet.aquarium.message.avro.gen.AnyValueMsg>) defaultValue(fields()[11]);
         return record;
       } catch (Exception e) {
         throw new org.apache.avro.AvroRuntimeException(e);