@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_name = true && (isSetName()); list.add(present_name); if (present_name) list.add(name); boolean present_enabled = true; list.add(present_enabled); if (present_enabled) list.add(enabled); boolean present_repositoryName = true && (isSetRepositoryName()); list.add(present_repositoryName); if (present_repositoryName) list.add(repositoryName); boolean present_query = true && (isSetQuery()); list.add(present_query); if (present_query) list.add(query); boolean present_comment = true && (isSetComment()); list.add(present_comment); if (present_comment) list.add(comment); return list.hashCode(); }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_name = true && (isSetName()); list.add(present_name); if (present_name) list.add(name); boolean present_enabled = true; list.add(present_enabled); if (present_enabled) list.add(enabled); boolean present_repositoryName = true && (isSetRepositoryName()); list.add(present_repositoryName); if (present_repositoryName) list.add(repositoryName); boolean present_query = true && (isSetQuery()); list.add(present_query); if (present_query) list.add(query); boolean present_comment = true && (isSetComment()); list.add(present_comment); if (present_comment) list.add(comment); return list.hashCode(); }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case NAME: return isSetName(); case ENABLED: return isSetEnabled(); case REPOSITORY_NAME: return isSetRepositoryName(); case QUERY: return isSetQuery(); case COMMENT: return isSetComment(); } throw new IllegalStateException(); }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case NAME: return isSetName(); case ENABLED: return isSetEnabled(); case REPOSITORY_NAME: return isSetRepositoryName(); case QUERY: return isSetQuery(); case COMMENT: return isSetComment(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetQuery()).compareTo(other.isSetQuery()); if (lastComparison != 0) { return lastComparison; if (isSetQuery()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.query, other.query); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetQuery()).compareTo(other.isSetQuery()); if (lastComparison != 0) { return lastComparison; if (isSetQuery()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.query, other.query); if (lastComparison != 0) {
boolean this_present_query = true && this.isSetQuery(); boolean that_present_query = true && that.isSetQuery(); if (this_present_query || that_present_query) { if (!(this_present_query && that_present_query))
boolean this_present_query = true && this.isSetQuery(); boolean that_present_query = true && that.isSetQuery(); if (this_present_query || that_present_query) { if (!(this_present_query && that_present_query))
/** * Performs a deep copy on <i>other</i>. */ public NamedQuery(NamedQuery other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetName()) { this.name = other.name; } this.enabled = other.enabled; if (other.isSetRepositoryName()) { this.repositoryName = other.repositoryName; } if (other.isSetQuery()) { this.query = new Query(other.query); } if (other.isSetComment()) { this.comment = new Comment(other.comment); } }
/** * Performs a deep copy on <i>other</i>. */ public NamedQuery(NamedQuery other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetName()) { this.name = other.name; } this.enabled = other.enabled; if (other.isSetRepositoryName()) { this.repositoryName = other.repositoryName; } if (other.isSetQuery()) { this.query = new Query(other.query); } if (other.isSetComment()) { this.comment = new Comment(other.comment); } }