@Override public int compareTo(HawkChangeEvent other) { int lastComparison = org.apache.thrift.TBaseHelper.compareTo(getSetField(), other.getSetField()); if (lastComparison == 0) { return org.apache.thrift.TBaseHelper.compareTo(getFieldValue(), other.getFieldValue()); } return lastComparison; }
public static HawkChangeEvent fileRemoval(HawkFileRemovalEvent value) { HawkChangeEvent x = new HawkChangeEvent(); x.setFileRemoval(value); return x; }
public boolean equals(HawkChangeEvent other) { return other != null && getSetField() == other.getSetField() && getFieldValue().equals(other.getFieldValue()); }
public static HawkChangeEvent syncEnd(HawkSynchronizationEndEvent value) { HawkChangeEvent x = new HawkChangeEvent(); x.setSyncEnd(value); return x; }
public static HawkChangeEvent fileAddition(HawkFileAdditionEvent value) { HawkChangeEvent x = new HawkChangeEvent(); x.setFileAddition(value); return x; }
public static HawkChangeEvent syncStart(HawkSynchronizationStartEvent value) { HawkChangeEvent x = new HawkChangeEvent(); x.setSyncStart(value); return x; }
public static HawkChangeEvent referenceRemoval(HawkReferenceRemovalEvent value) { HawkChangeEvent x = new HawkChangeEvent(); x.setReferenceRemoval(value); return x; }
public static HawkChangeEvent referenceAddition(HawkReferenceAdditionEvent value) { HawkChangeEvent x = new HawkChangeEvent(); x.setReferenceAddition(value); return x; }
public static HawkChangeEvent modelElementAttributeRemoval(HawkAttributeRemovalEvent value) { HawkChangeEvent x = new HawkChangeEvent(); x.setModelElementAttributeRemoval(value); return x; }
public static HawkChangeEvent modelElementAddition(HawkModelElementAdditionEvent value) { HawkChangeEvent x = new HawkChangeEvent(); x.setModelElementAddition(value); return x; }