/** 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 java.lang.IllegalArgumentException(); } switch (field) { case TINFO: return isSetTinfo(); case CREDENTIALS: return isSetCredentials(); case NS: return isSetNs(); case PROPERTY: return isSetProperty(); case VALUE: return isSetValue(); } throw new java.lang.IllegalStateException(); }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_tinfo = true && (isSetTinfo()); list.add(present_tinfo); if (present_tinfo) list.add(tinfo); boolean present_credentials = true && (isSetCredentials()); list.add(present_credentials); if (present_credentials) list.add(credentials); boolean present_ns = true && (isSetNs()); list.add(present_ns); if (present_ns) list.add(ns); boolean present_property = true && (isSetProperty()); list.add(present_property); if (present_property) list.add(property); boolean present_value = true && (isSetValue()); list.add(present_value); if (present_value) list.add(value); return list.hashCode(); }
/** * Performs a deep copy on <i>other</i>. */ public setNamespaceProperty_args(setNamespaceProperty_args other) { if (other.isSetTinfo()) { this.tinfo = new org.apache.accumulo.core.trace.thrift.TInfo(other.tinfo); } if (other.isSetCredentials()) { this.credentials = new org.apache.accumulo.core.security.thrift.TCredentials(other.credentials); } if (other.isSetNs()) { this.ns = other.ns; } if (other.isSetProperty()) { this.property = other.property; } if (other.isSetValue()) { this.value = other.value; } }
/** 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 TINFO: return isSetTinfo(); case CREDENTIALS: return isSetCredentials(); case NS: return isSetNs(); case PROPERTY: return isSetProperty(); case VALUE: return isSetValue(); } throw new IllegalStateException(); }
@Override public int hashCode() { int hashCode = 1; hashCode = hashCode * 8191 + ((isSetTinfo()) ? 131071 : 524287); if (isSetTinfo()) hashCode = hashCode * 8191 + tinfo.hashCode(); hashCode = hashCode * 8191 + ((isSetCredentials()) ? 131071 : 524287); if (isSetCredentials()) hashCode = hashCode * 8191 + credentials.hashCode(); hashCode = hashCode * 8191 + ((isSetNs()) ? 131071 : 524287); if (isSetNs()) hashCode = hashCode * 8191 + ns.hashCode(); hashCode = hashCode * 8191 + ((isSetProperty()) ? 131071 : 524287); if (isSetProperty()) hashCode = hashCode * 8191 + property.hashCode(); hashCode = hashCode * 8191 + ((isSetValue()) ? 131071 : 524287); if (isSetValue()) hashCode = hashCode * 8191 + value.hashCode(); return hashCode; }
/** * Performs a deep copy on <i>other</i>. */ public setNamespaceProperty_args(setNamespaceProperty_args other) { if (other.isSetTinfo()) { this.tinfo = new org.apache.accumulo.core.trace.thrift.TInfo(other.tinfo); } if (other.isSetCredentials()) { this.credentials = new org.apache.accumulo.core.securityImpl.thrift.TCredentials(other.credentials); } if (other.isSetNs()) { this.ns = other.ns; } if (other.isSetProperty()) { this.property = other.property; } if (other.isSetValue()) { this.value = other.value; } }