+++ /dev/null
-/**
- * Autogenerated by Avro
- *
- * DO NOT EDIT DIRECTLY
- */
-package gr.grnet.aquarium.message.avro;
-@SuppressWarnings("all")
-public class EffectivePriceTable extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
- public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"EffectivePriceTable\",\"namespace\":\"gr.grnet.aquarium.message.avro\",\"fields\":[]}");
- public org.apache.avro.Schema getSchema() { return SCHEMA$; }
- // Used by DatumWriter. Applications should not call.
- public java.lang.Object get(int field$) {
- switch (field$) {
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
- // Used by DatumReader. Applications should not call.
- @SuppressWarnings(value="unchecked")
- public void put(int field$, java.lang.Object value$) {
- switch (field$) {
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
-
- /** Creates a new EffectivePriceTable RecordBuilder */
- public static gr.grnet.aquarium.message.avro.EffectivePriceTable.Builder newBuilder() {
- return new gr.grnet.aquarium.message.avro.EffectivePriceTable.Builder();
- }
-
- /** Creates a new EffectivePriceTable RecordBuilder by copying an existing Builder */
- public static gr.grnet.aquarium.message.avro.EffectivePriceTable.Builder newBuilder(gr.grnet.aquarium.message.avro.EffectivePriceTable.Builder other) {
- return new gr.grnet.aquarium.message.avro.EffectivePriceTable.Builder(other);
- }
-
- /** Creates a new EffectivePriceTable RecordBuilder by copying an existing EffectivePriceTable instance */
- public static gr.grnet.aquarium.message.avro.EffectivePriceTable.Builder newBuilder(gr.grnet.aquarium.message.avro.EffectivePriceTable other) {
- return new gr.grnet.aquarium.message.avro.EffectivePriceTable.Builder(other);
- }
-
- /**
- * RecordBuilder for EffectivePriceTable instances.
- */
- public static class Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<EffectivePriceTable>
- implements org.apache.avro.data.RecordBuilder<EffectivePriceTable> {
-
-
- /** Creates a new Builder */
- private Builder() {
- super(gr.grnet.aquarium.message.avro.EffectivePriceTable.SCHEMA$);
- }
-
- /** Creates a Builder by copying an existing Builder */
- private Builder(gr.grnet.aquarium.message.avro.EffectivePriceTable.Builder other) {
- super(other);
- }
-
- /** Creates a Builder by copying an existing EffectivePriceTable instance */
- private Builder(gr.grnet.aquarium.message.avro.EffectivePriceTable other) {
- super(gr.grnet.aquarium.message.avro.EffectivePriceTable.SCHEMA$);
- }
-
- @Override
- public EffectivePriceTable build() {
- try {
- EffectivePriceTable record = new EffectivePriceTable();
- return record;
- } catch (Exception e) {
- throw new org.apache.avro.AvroRuntimeException(e);
- }
- }
- }
-}