/** * Performs a deep copy on <i>other</i>. */ public PluginOperationReturnDef(PluginOperationReturnDef other) { if (other.isSetType()) { this.type = other.type; } if (other.isSetComment()) { this.comment = new Comment(other.comment); } }
/** * Performs a deep copy on <i>other</i>. */ public WatchRepositoryResult(WatchRepositoryResult other) { if (other.isSetRevision()) { this.revision = new Revision(other.revision); } }
public PropertyFilterDto(PropertyFilter filter) { type = filter.getType().name(); content = filter.getContent(); }
public QueryDto(Query query) { path = query.getPath(); type = query.getType(); expressions = query.getExpressions(); }
/** * Performs a deep copy on <i>other</i>. */ public PluginOperationParamDef(PluginOperationParamDef other) { if (other.isSetName()) { this.name = other.name; } if (other.isSetType()) { this.type = other.type; } if (other.isSetComment()) { this.comment = new Comment(other.comment); } }
/** * Performs a deep copy on <i>other</i>. */ public WatchFileResult(WatchFileResult other) { if (other.isSetRevision()) { this.revision = new Revision(other.revision); } if (other.isSetType()) { this.type = other.type; } if (other.isSetContent()) { this.content = other.content; } }
public boolean equals(WatchRepositoryResult that) { if (that == null) return false; boolean this_present_revision = true && this.isSetRevision(); boolean that_present_revision = true && that.isSetRevision(); if (this_present_revision || that_present_revision) { if (!(this_present_revision && that_present_revision)) return false; if (!this.revision.equals(that.revision)) return false; } return true; }
public void setFieldValue(_Fields field, Object value) { switch (field) { case ENTRIES: if (value == null) { unsetEntries(); } else { setEntries((List<SchemaEntry>)value); } break; } }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof CentralDogmaException) return this.equals((CentralDogmaException)that); return false; }
public Subscriber( String address, int port) { this(); this.address = address; this.port = port; setPortIsSet(true); }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof WatchFileResult) return this.equals((WatchFileResult)that); return false; }
public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (revision != null) { revision.validate(); } }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof GetFileResult) return this.equals((GetFileResult)that); return false; }
public PropertyFilterDto(PropertyFilter filter) { type = filter.getType().name(); content = filter.getContent(); }
/** * Performs a deep copy on <i>other</i>. */ public PluginOperationReturnDef(PluginOperationReturnDef other) { if (other.isSetType()) { this.type = other.type; } if (other.isSetComment()) { this.comment = new Comment(other.comment); } }
/** * Performs a deep copy on <i>other</i>. */ public WatchRepositoryResult(WatchRepositoryResult other) { if (other.isSetRevision()) { this.revision = new Revision(other.revision); } }
public boolean equals(WatchRepositoryResult that) { if (that == null) return false; boolean this_present_revision = true && this.isSetRevision(); boolean that_present_revision = true && that.isSetRevision(); if (this_present_revision || that_present_revision) { if (!(this_present_revision && that_present_revision)) return false; if (!this.revision.equals(that.revision)) return false; } return true; }
public PropertyFilterDto(PropertyFilter filter) { type = filter.getType().name(); content = filter.getContent(); }