/** * 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; }
builder.append(repetition_type.getValue()); boolean present_name = true && (isSetName()); builder.append(present_name); if (present_name)
/** 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(); }
builder.append(repetition_type.getValue()); boolean present_name = true && (isSetName()); builder.append(present_name); if (present_name)