if (element.isSetConverted_type()) { typeBuilder.as(getOriginalType(element.converted_type));
/** * Performs a deep copy on <i>other</i>. */ public SchemaElement(SchemaElement other) { __isset_bit_vector.clear(); __isset_bit_vector.or(other.__isset_bit_vector); if (other.isSetType()) { this.type = other.type; } this.type_length = other.type_length; if (other.isSetRepetition_type()) { this.repetition_type = other.repetition_type; } if (other.isSetName()) { this.name = other.name; } this.num_children = other.num_children; if (other.isSetConverted_type()) { this.converted_type = other.converted_type; } this.scale = other.scale; this.precision = other.precision; this.field_id = other.field_id; }
/** * Performs a deep copy on <i>other</i>. */ public SchemaElement(SchemaElement other) { __isset_bit_vector.clear(); __isset_bit_vector.or(other.__isset_bit_vector); if (other.isSetType()) { this.type = other.type; } this.type_length = other.type_length; if (other.isSetRepetition_type()) { this.repetition_type = other.repetition_type; } if (other.isSetName()) { this.name = other.name; } this.num_children = other.num_children; if (other.isSetConverted_type()) { this.converted_type = other.converted_type; } this.scale = other.scale; this.precision = other.precision; this.field_id = other.field_id; }
first = false; if (isSetConverted_type()) { if (!first) sb.append(", "); sb.append("converted_type:");
first = false; if (isSetConverted_type()) { if (!first) sb.append(", "); sb.append("converted_type:");
builder.append(num_children); boolean present_converted_type = true && (isSetConverted_type()); builder.append(present_converted_type); if (present_converted_type)
lastComparison = Boolean.valueOf(isSetConverted_type()).compareTo(typedOther.isSetConverted_type()); if (lastComparison != 0) { return lastComparison; if (isSetConverted_type()) { lastComparison = TBaseHelper.compareTo(this.converted_type, typedOther.converted_type); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetConverted_type()).compareTo(typedOther.isSetConverted_type()); if (lastComparison != 0) { return lastComparison; if (isSetConverted_type()) { lastComparison = TBaseHelper.compareTo(this.converted_type, typedOther.converted_type); if (lastComparison != 0) {
/** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case TYPE: return isSetType(); case TYPE_LENGTH: return isSetType_length(); case REPETITION_TYPE: return isSetRepetition_type(); case NAME: return isSetName(); case NUM_CHILDREN: return isSetNum_children(); case CONVERTED_TYPE: return isSetConverted_type(); case SCALE: return isSetScale(); case PRECISION: return isSetPrecision(); case FIELD_ID: return isSetField_id(); } throw new IllegalStateException(); }
/** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case TYPE: return isSetType(); case TYPE_LENGTH: return isSetType_length(); case REPETITION_TYPE: return isSetRepetition_type(); case NAME: return isSetName(); case NUM_CHILDREN: return isSetNum_children(); case CONVERTED_TYPE: return isSetConverted_type(); case SCALE: return isSetScale(); case PRECISION: return isSetPrecision(); case FIELD_ID: return isSetField_id(); } throw new IllegalStateException(); }
boolean this_present_converted_type = true && this.isSetConverted_type(); boolean that_present_converted_type = true && that.isSetConverted_type(); if (this_present_converted_type || that_present_converted_type) { if (!(this_present_converted_type && that_present_converted_type))
boolean this_present_converted_type = true && this.isSetConverted_type(); boolean that_present_converted_type = true && that.isSetConverted_type(); if (this_present_converted_type || that_present_converted_type) { if (!(this_present_converted_type && that_present_converted_type))
if (schemaElement.isSetConverted_type()) { childBuilder.as(getOriginalType(schemaElement.converted_type));
if (element.isSetConverted_type()) { typeBuilder.as(getOriginalType(element.converted_type));
builder.append(num_children); boolean present_converted_type = true && (isSetConverted_type()); builder.append(present_converted_type); if (present_converted_type)
if (isSetConverted_type()) { oprot.writeFieldBegin(CONVERTED_TYPE_FIELD_DESC); oprot.writeI32(this.converted_type.getValue());
if (isSetConverted_type()) { oprot.writeFieldBegin(CONVERTED_TYPE_FIELD_DESC); oprot.writeI32(this.converted_type.getValue());