This project has retired. For details please refer to its Attic page.
ChukwaChunk xref
View Javadoc

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  You may obtain a copy of the License at
9    *
10   *     http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing, software
13   * distributed under the License is distributed on an "AS IS" BASIS,
14   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   * See the License for the specific language governing permissions and
16   * limitations under the License.
17   */
18  /**
19   * Autogenerated by Avro
20   * 
21   * DO NOT EDIT DIRECTLY
22   */
23  package org.apache.hadoop.chukwa.datacollection.writer.gora;
24  
25  /**
26   * Chukwa Adaptors emit data in Chunks. A Chunk is a sequence of bytes, with
27   * some metadata. Several of these are set automatically by the Agent or
28   * Adaptors. Two of them require user intervention: cluster name and datatype.
29   * Cluster name is specified in conf/chukwa-agent-conf.xml, and is global to
30   * each Agent process. Datatype describes the expected format of the data
31   * collected by an Adaptor instance, and it is specified when that instance is
32   * started.
33   */
34  @SuppressWarnings("all")
35  public class ChukwaChunk extends org.apache.gora.persistency.impl.PersistentBase
36      implements org.apache.avro.specific.SpecificRecord,
37      org.apache.gora.persistency.Persistent {
38    public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser()
39        .parse(
40            "{\"type\":\"record\",\"name\":\"ChukwaChunk\",\"namespace\":\"org.apache.hadoop.chukwa.datacollection.writer.gora\",\"doc\":\"Chukwa Adaptors emit data in Chunks. A Chunk is a sequence of bytes, with some metadata. Several of these are set automatically by the Agent or Adaptors. Two of them require user intervention: cluster name and datatype. Cluster name is specified in conf/chukwa-agent-conf.xml, and is global to each Agent process. Datatype describes the expected format of the data collected by an Adaptor instance, and it is specified when that instance is started. \",\"fields\":[{\"name\":\"source\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"tags\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"datatype\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"sequenceID\",\"type\":[\"null\",\"long\"],\"default\":null},{\"name\":\"name\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"data\",\"type\":[\"null\",\"bytes\"],\"default\":null}]}");
41  
42    /** Enum containing all data bean's fields. */
43    public static enum Field {
44      SOURCE(0, "source"), TAGS(1, "tags"), DATATYPE(2, "datatype"), SEQUENCE_ID(
45          3, "sequenceID"), NAME(4, "name"), DATA(5, "data"),;
46      /**
47       * Field's index.
48       */
49      private int index;
50  
51      /**
52       * Field's name.
53       */
54      private String name;
55  
56      /**
57       * Field's constructor
58       * 
59       * @param index
60       *          field's index.
61       * @param name
62       *          field's name.
63       */
64      Field(int index, String name) {
65        this.index = index;
66        this.name = name;
67      }
68  
69      /**
70       * Gets field's index.
71       * 
72       * @return int field's index.
73       */
74      public int getIndex() {
75        return index;
76      }
77  
78      /**
79       * Gets field's name.
80       * 
81       * @return String field's name.
82       */
83      public String getName() {
84        return name;
85      }
86  
87      /**
88       * Gets field's attributes to string.
89       * 
90       * @return String field's attributes to string.
91       */
92      public String toString() {
93        return name;
94      }
95    };
96  
97    public static final String[] _ALL_FIELDS = { "source", "tags", "datatype",
98        "sequenceID", "name", "data", };
99  
100   /**
101    * Gets the total field count.
102    * 
103    * @return int field count
104    */
105   public int getFieldsCount() {
106     return ChukwaChunk._ALL_FIELDS.length;
107   }
108 
109   private java.lang.CharSequence source;
110   private java.lang.CharSequence tags;
111   private java.lang.CharSequence datatype;
112   private java.lang.Long sequenceID;
113   private java.lang.CharSequence name;
114   private java.nio.ByteBuffer data;
115 
116   public org.apache.avro.Schema getSchema() {
117     return SCHEMA$;
118   }
119 
120   // Used by DatumWriter. Applications should not call.
121   public java.lang.Object get(int field$) {
122     switch (field$) {
123     case 0:
124       return source;
125     case 1:
126       return tags;
127     case 2:
128       return datatype;
129     case 3:
130       return sequenceID;
131     case 4:
132       return name;
133     case 5:
134       return data;
135     default:
136       throw new org.apache.avro.AvroRuntimeException("Bad index");
137     }
138   }
139 
140   // Used by DatumReader. Applications should not call.
141   @SuppressWarnings(value = "unchecked")
142   public void put(int field$, java.lang.Object value) {
143     switch (field$) {
144     case 0:
145       source = (java.lang.CharSequence) (value);
146       break;
147     case 1:
148       tags = (java.lang.CharSequence) (value);
149       break;
150     case 2:
151       datatype = (java.lang.CharSequence) (value);
152       break;
153     case 3:
154       sequenceID = (java.lang.Long) (value);
155       break;
156     case 4:
157       name = (java.lang.CharSequence) (value);
158       break;
159     case 5:
160       data = (java.nio.ByteBuffer) (value);
161       break;
162     default:
163       throw new org.apache.avro.AvroRuntimeException("Bad index");
164     }
165   }
166 
167   /**
168    * Gets the value of the 'source' field.
169    * 
170    * @return source
171    */
172   public java.lang.CharSequence getSource() {
173     return source;
174   }
175 
176   /**
177    * Sets the value of the 'source' field.
178    * 
179    * @param value is the value to set.
180    */
181   public void setSource(java.lang.CharSequence value) {
182     this.source = value;
183     setDirty(0);
184   }
185 
186   /**
187    * Checks the dirty status of the 'source' field. A field is dirty if it
188    * represents a change that has not yet been written to the database.
189    * 
190    * @return true if a sourcefield has not been written to database
191    */
192   public boolean isSourceDirty() {
193     return isDirty(0);
194   }
195 
196   /**
197    * Gets the value of the 'tags' field.
198    * 
199    * @return value of tags field
200    */
201   public java.lang.CharSequence getTags() {
202     return tags;
203   }
204 
205   /**
206    * Sets the value of the 'tags' field.
207    * 
208    * @param value is the value to set.
209    */
210   public void setTags(java.lang.CharSequence value) {
211     this.tags = value;
212     setDirty(1);
213   }
214 
215   /**
216    * Checks the dirty status of the 'tags' field. A field is dirty if it
217    * represents a change that has not yet been written to the database.
218    * 
219    * @return true if tags field has not been written to database
220    */
221   public boolean isTagsDirty() {
222     return isDirty(1);
223   }
224 
225   /**
226    * Gets the value of the 'datatype' field.
227    * 
228    * @return datatype field
229    */
230   public java.lang.CharSequence getDatatype() {
231     return datatype;
232   }
233 
234   /**
235    * Sets the value of the 'datatype' field.
236    * 
237    * @param value is the value to set.
238    */
239   public void setDatatype(java.lang.CharSequence value) {
240     this.datatype = value;
241     setDirty(2);
242   }
243 
244   /**
245    * Checks the dirty status of the 'datatype' field. A field is dirty if it
246    * represents a change that has not yet been written to the database.
247    * 
248    * @return true if datatype field has not been written to database
249    */
250   public boolean isDatatypeDirty() {
251     return isDirty(2);
252   }
253 
254   /**
255    * Gets the value of the 'sequenceID' field.
256    * 
257    * @return sequenceID
258    */
259   public java.lang.Long getSequenceID() {
260     return sequenceID;
261   }
262 
263   /**
264    * Sets the value of the 'sequenceID' field.
265    * 
266    * @param value is the value to set.
267    */
268   public void setSequenceID(java.lang.Long value) {
269     this.sequenceID = value;
270     setDirty(3);
271   }
272 
273   /**
274    * Checks the dirty status of the 'sequenceID' field. A field is dirty if it
275    * represents a change that has not yet been written to the database.
276    * 
277    * @return true if sequenceID has not been commit to database
278    */
279   public boolean isSequenceIDDirty() {
280     return isDirty(3);
281   }
282 
283   /**
284    * Gets the value of the 'name' field.
285    * 
286    * @return name
287    */
288   public java.lang.CharSequence getName() {
289     return name;
290   }
291 
292   /**
293    * Sets the value of the 'name' field.
294    * 
295    * @param value is the value to set.
296    */
297   public void setName(java.lang.CharSequence value) {
298     this.name = value;
299     setDirty(4);
300   }
301 
302   /**
303    * Checks the dirty status of the 'name' field. A field is dirty if it
304    * represents a change that has not yet been written to the database.
305    * 
306    * @return true if name has not been committed to database
307    */
308   public boolean isNameDirty() {
309     return isDirty(4);
310   }
311 
312   /**
313    * Gets the value of the 'data' field.
314    * 
315    * @return data field
316    */
317   public java.nio.ByteBuffer getData() {
318     return data;
319   }
320 
321   /**
322    * Sets the value of the 'data' field.
323    * 
324    * @param value is a string
325    *          the value to set.
326    */
327   public void setData(java.nio.ByteBuffer value) {
328     this.data = value;
329     setDirty(5);
330   }
331 
332   /**
333    * Checks the dirty status of the 'data' field. A field is dirty if it
334    * represents a change that has not yet been written to the database.
335    * 
336    * @return true if data field has not been committed to database
337    */
338   public boolean isDataDirty() {
339     return isDirty(5);
340   }
341 
342   /**
343    * Creates a new ChukwaChunk RecordBuilder
344    * 
345    * @return RecordBuilder
346    */
347   public static org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder newBuilder() {
348     return new org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder();
349   }
350 
351   /**
352    * Creates a new ChukwaChunk RecordBuilder by copying an existing Builder
353    * 
354    * @param other is Chukwa chunk
355    * @return RecordBuilder
356    */
357   public static org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder newBuilder(
358       org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder other) {
359     return new org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder(
360         other);
361   }
362 
363   /**
364    * Creates a new ChukwaChunk RecordBuilder by copying an existing ChukwaChunk
365    * instance
366    * 
367    * @param other is Chukwa chunk
368    * @return RecordBuilder
369    */
370   public static org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder newBuilder(
371       org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk other) {
372     return new org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder(
373         other);
374   }
375 
376   private static java.nio.ByteBuffer deepCopyToReadOnlyBuffer(
377       java.nio.ByteBuffer input) {
378     java.nio.ByteBuffer copy = java.nio.ByteBuffer.allocate(input.capacity());
379     int position = input.position();
380     input.reset();
381     int mark = input.position();
382     int limit = input.limit();
383     input.rewind();
384     input.limit(input.capacity());
385     copy.put(input);
386     input.rewind();
387     copy.rewind();
388     input.position(mark);
389     input.mark();
390     copy.position(mark);
391     copy.mark();
392     input.position(position);
393     copy.position(position);
394     input.limit(limit);
395     copy.limit(limit);
396     return copy.asReadOnlyBuffer();
397   }
398 
399   /**
400    * RecordBuilder for ChukwaChunk instances.
401    */
402   public static class Builder
403       extends org.apache.avro.specific.SpecificRecordBuilderBase<ChukwaChunk>
404       implements org.apache.avro.data.RecordBuilder<ChukwaChunk> {
405 
406     private java.lang.CharSequence source;
407     private java.lang.CharSequence tags;
408     private java.lang.CharSequence datatype;
409     private java.lang.Long sequenceID;
410     private java.lang.CharSequence name;
411     private java.nio.ByteBuffer data;
412 
413     /** Creates a new Builder */
414     private Builder() {
415       super(
416           org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.SCHEMA$);
417     }
418 
419     /** Creates a Builder by copying an existing Builder */
420     private Builder(
421         org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder other) {
422       super(other);
423     }
424 
425     /** Creates a Builder by copying an existing ChukwaChunk instance */
426     private Builder(
427         org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk other) {
428       super(
429           org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.SCHEMA$);
430       if (isValidValue(fields()[0], other.source)) {
431         this.source = (java.lang.CharSequence) data()
432             .deepCopy(fields()[0].schema(), other.source);
433         fieldSetFlags()[0] = true;
434       }
435       if (isValidValue(fields()[1], other.tags)) {
436         this.tags = (java.lang.CharSequence) data()
437             .deepCopy(fields()[1].schema(), other.tags);
438         fieldSetFlags()[1] = true;
439       }
440       if (isValidValue(fields()[2], other.datatype)) {
441         this.datatype = (java.lang.CharSequence) data()
442             .deepCopy(fields()[2].schema(), other.datatype);
443         fieldSetFlags()[2] = true;
444       }
445       if (isValidValue(fields()[3], other.sequenceID)) {
446         this.sequenceID = (java.lang.Long) data().deepCopy(fields()[3].schema(),
447             other.sequenceID);
448         fieldSetFlags()[3] = true;
449       }
450       if (isValidValue(fields()[4], other.name)) {
451         this.name = (java.lang.CharSequence) data()
452             .deepCopy(fields()[4].schema(), other.name);
453         fieldSetFlags()[4] = true;
454       }
455       if (isValidValue(fields()[5], other.data)) {
456         this.data = (java.nio.ByteBuffer) data().deepCopy(fields()[5].schema(),
457             other.data);
458         fieldSetFlags()[5] = true;
459       }
460     }
461 
462     /**
463      * Gets the value of the 'source' field
464      * 
465      * @return source field
466      */
467     public java.lang.CharSequence getSource() {
468       return source;
469     }
470 
471     /**
472      * Sets the value of the 'source' field
473      * 
474      * @param value is a string
475      * @return RecordBuilder
476      */
477     public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder setSource(
478         java.lang.CharSequence value) {
479       validate(fields()[0], value);
480       this.source = value;
481       fieldSetFlags()[0] = true;
482       return this;
483     }
484 
485     /**
486      * Checks whether the 'source' field has been set
487      * 
488      * @return true if source field has been set
489      */
490     public boolean hasSource() {
491       return fieldSetFlags()[0];
492     }
493 
494     /**
495      * Clears the value of the 'source' field
496      * 
497      * @return RecordBuilder
498      */
499     public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder clearSource() {
500       source = null;
501       fieldSetFlags()[0] = false;
502       return this;
503     }
504 
505     /**
506      * Gets the value of the 'tags' field
507      * 
508      * @return tags field
509      */
510     public java.lang.CharSequence getTags() {
511       return tags;
512     }
513 
514     /**
515      * Sets the value of the 'tags' field
516      * 
517      * @param value is a string
518      * @return RecordBuilder
519      */
520     public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder setTags(
521         java.lang.CharSequence value) {
522       validate(fields()[1], value);
523       this.tags = value;
524       fieldSetFlags()[1] = true;
525       return this;
526     }
527 
528     /**
529      * Checks whether the 'tags' field has been set
530      * 
531      * @return true if tags has been set
532      */
533     public boolean hasTags() {
534       return fieldSetFlags()[1];
535     }
536 
537     /**
538      * Clears the value of the 'tags' field
539      * 
540      * @return RecordBuilder
541      */
542     public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder clearTags() {
543       tags = null;
544       fieldSetFlags()[1] = false;
545       return this;
546     }
547 
548     /**
549      * Gets the value of the 'datatype' field
550      * 
551      * @return datatype field
552      */
553     public java.lang.CharSequence getDatatype() {
554       return datatype;
555     }
556 
557     /**
558      * Sets the value of the 'datatype' field
559      * 
560      * @param value is a string
561      * @return RecordBuilder
562      */
563     public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder setDatatype(
564         java.lang.CharSequence value) {
565       validate(fields()[2], value);
566       this.datatype = value;
567       fieldSetFlags()[2] = true;
568       return this;
569     }
570 
571     /**
572      * Checks whether the 'datatype' field has been set
573      * 
574      * @return true if datatype field has been set
575      */
576     public boolean hasDatatype() {
577       return fieldSetFlags()[2];
578     }
579 
580     /**
581      * Clears the value of the 'datatype' field
582      * 
583      * @return RecordBuilder
584      */
585     public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder clearDatatype() {
586       datatype = null;
587       fieldSetFlags()[2] = false;
588       return this;
589     }
590 
591     /**
592      * Gets the value of the 'sequenceID' field
593      * 
594      * @return sequenceID
595      */
596     public java.lang.Long getSequenceID() {
597       return sequenceID;
598     }
599 
600     /**
601      * Sets the value of the 'sequenceID' field
602      * 
603      * @param value is a string
604      * @return RecordBuilder
605      */
606     public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder setSequenceID(
607         java.lang.Long value) {
608       validate(fields()[3], value);
609       this.sequenceID = value;
610       fieldSetFlags()[3] = true;
611       return this;
612     }
613 
614     /**
615      * Checks whether the 'sequenceID' field has been set
616      * 
617      * @return true if sequenceID has been set
618      */
619     public boolean hasSequenceID() {
620       return fieldSetFlags()[3];
621     }
622 
623     /**
624      * Clears the value of the 'sequenceID' field
625      * 
626      * @return RecordBuilder
627      */
628     public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder clearSequenceID() {
629       sequenceID = null;
630       fieldSetFlags()[3] = false;
631       return this;
632     }
633 
634     /**
635      * Gets the value of the 'name' field
636      * 
637      * @return name
638      */
639     public java.lang.CharSequence getName() {
640       return name;
641     }
642 
643     /**
644      * Sets the value of the 'name' field
645      * 
646      * @param value is a string
647      * @return RecordBuilder
648      */
649     public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder setName(
650         java.lang.CharSequence value) {
651       validate(fields()[4], value);
652       this.name = value;
653       fieldSetFlags()[4] = true;
654       return this;
655     }
656 
657     /**
658      * Checks whether the 'name' field has been set
659      * 
660      * @return true if name field has been set
661      */
662     public boolean hasName() {
663       return fieldSetFlags()[4];
664     }
665 
666     /**
667      * Clears the value of the 'name' field
668      * 
669      * @return RecordBuilder
670      */
671     public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder clearName() {
672       name = null;
673       fieldSetFlags()[4] = false;
674       return this;
675     }
676 
677     /**
678      * Gets the value of the 'data' field
679      * 
680      * @return data
681      */
682     public java.nio.ByteBuffer getData() {
683       return data;
684     }
685 
686     /**
687      * Sets the value of the 'data' field
688      * 
689      * @param value is a string
690      * @return RecordBudiler
691      */
692     public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder setData(
693         java.nio.ByteBuffer value) {
694       validate(fields()[5], value);
695       this.data = value;
696       fieldSetFlags()[5] = true;
697       return this;
698     }
699 
700     /**
701      * Checks whether the 'data' field has been set
702      * 
703      * @return true if data field has been set
704      */
705     public boolean hasData() {
706       return fieldSetFlags()[5];
707     }
708 
709     /**
710      * Clears the value of the 'data' field
711      * 
712      * @return RecordBuilder
713      */
714     public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder clearData() {
715       data = null;
716       fieldSetFlags()[5] = false;
717       return this;
718     }
719 
720     @Override
721     public ChukwaChunk build() {
722       try {
723         ChukwaChunk record = new ChukwaChunk();
724         record.source = fieldSetFlags()[0] ? this.source
725             : (java.lang.CharSequence) defaultValue(fields()[0]);
726         record.tags = fieldSetFlags()[1] ? this.tags
727             : (java.lang.CharSequence) defaultValue(fields()[1]);
728         record.datatype = fieldSetFlags()[2] ? this.datatype
729             : (java.lang.CharSequence) defaultValue(fields()[2]);
730         record.sequenceID = fieldSetFlags()[3] ? this.sequenceID
731             : (java.lang.Long) defaultValue(fields()[3]);
732         record.name = fieldSetFlags()[4] ? this.name
733             : (java.lang.CharSequence) defaultValue(fields()[4]);
734         record.data = fieldSetFlags()[5] ? this.data
735             : (java.nio.ByteBuffer) defaultValue(fields()[5]);
736         return record;
737       } catch (Exception e) {
738         throw new org.apache.avro.AvroRuntimeException(e);
739       }
740     }
741   }
742 
743   public ChukwaChunk.Tombstone getTombstone() {
744     return TOMBSTONE;
745   }
746 
747   public ChukwaChunk newInstance() {
748     return newBuilder().build();
749   }
750 
751   private static final Tombstone TOMBSTONE = new Tombstone();
752 
753   public static final class Tombstone extends ChukwaChunk
754       implements org.apache.gora.persistency.Tombstone {
755 
756     private Tombstone() {
757     }
758 
759     /**
760      * Gets the value of the 'source' field.
761      */
762     public java.lang.CharSequence getSource() {
763       throw new java.lang.UnsupportedOperationException(
764           "Get is not supported on tombstones");
765     }
766 
767     /**
768      * Sets the value of the 'source' field.
769      * 
770      * @param value
771      *          the value to set.
772      */
773     public void setSource(java.lang.CharSequence value) {
774       throw new java.lang.UnsupportedOperationException(
775           "Set is not supported on tombstones");
776     }
777 
778     /**
779      * Checks the dirty status of the 'source' field. A field is dirty if it
780      * represents a change that has not yet been written to the database.
781      */
782     public boolean isSourceDirty() {
783       throw new java.lang.UnsupportedOperationException(
784           "IsDirty is not supported on tombstones");
785     }
786 
787     /**
788      * Gets the value of the 'tags' field.
789      */
790     public java.lang.CharSequence getTags() {
791       throw new java.lang.UnsupportedOperationException(
792           "Get is not supported on tombstones");
793     }
794 
795     /**
796      * Sets the value of the 'tags' field.
797      * 
798      * @param value
799      *          the value to set.
800      */
801     public void setTags(java.lang.CharSequence value) {
802       throw new java.lang.UnsupportedOperationException(
803           "Set is not supported on tombstones");
804     }
805 
806     /**
807      * Checks the dirty status of the 'tags' field. A field is dirty if it
808      * represents a change that has not yet been written to the database.
809      */
810     public boolean isTagsDirty() {
811       throw new java.lang.UnsupportedOperationException(
812           "IsDirty is not supported on tombstones");
813     }
814 
815     /**
816      * Gets the value of the 'datatype' field.
817      */
818     public java.lang.CharSequence getDatatype() {
819       throw new java.lang.UnsupportedOperationException(
820           "Get is not supported on tombstones");
821     }
822 
823     /**
824      * Sets the value of the 'datatype' field.
825      * 
826      * @param value
827      *          the value to set.
828      */
829     public void setDatatype(java.lang.CharSequence value) {
830       throw new java.lang.UnsupportedOperationException(
831           "Set is not supported on tombstones");
832     }
833 
834     /**
835      * Checks the dirty status of the 'datatype' field. A field is dirty if it
836      * represents a change that has not yet been written to the database.
837      */
838     public boolean isDatatypeDirty() {
839       throw new java.lang.UnsupportedOperationException(
840           "IsDirty is not supported on tombstones");
841     }
842 
843     /**
844      * Gets the value of the 'sequenceID' field.
845      */
846     public java.lang.Long getSequenceID() {
847       throw new java.lang.UnsupportedOperationException(
848           "Get is not supported on tombstones");
849     }
850 
851     /**
852      * Sets the value of the 'sequenceID' field.
853      * 
854      * @param value
855      *          the value to set.
856      */
857     public void setSequenceID(java.lang.Long value) {
858       throw new java.lang.UnsupportedOperationException(
859           "Set is not supported on tombstones");
860     }
861 
862     /**
863      * Checks the dirty status of the 'sequenceID' field. A field is dirty if it
864      * represents a change that has not yet been written to the database.
865      */
866     public boolean isSequenceIDDirty() {
867       throw new java.lang.UnsupportedOperationException(
868           "IsDirty is not supported on tombstones");
869     }
870 
871     /**
872      * Gets the value of the 'name' field.
873      */
874     public java.lang.CharSequence getName() {
875       throw new java.lang.UnsupportedOperationException(
876           "Get is not supported on tombstones");
877     }
878 
879     /**
880      * Sets the value of the 'name' field.
881      * 
882      * @param value
883      *          the value to set.
884      */
885     public void setName(java.lang.CharSequence value) {
886       throw new java.lang.UnsupportedOperationException(
887           "Set is not supported on tombstones");
888     }
889 
890     /**
891      * Checks the dirty status of the 'name' field. A field is dirty if it
892      * represents a change that has not yet been written to the database.
893      */
894     public boolean isNameDirty() {
895       throw new java.lang.UnsupportedOperationException(
896           "IsDirty is not supported on tombstones");
897     }
898 
899     /**
900      * Gets the value of the 'data' field.
901      */
902     public java.nio.ByteBuffer getData() {
903       throw new java.lang.UnsupportedOperationException(
904           "Get is not supported on tombstones");
905     }
906 
907     /**
908      * Sets the value of the 'data' field.
909      * 
910      * @param value
911      *          the value to set.
912      */
913     public void setData(java.nio.ByteBuffer value) {
914       throw new java.lang.UnsupportedOperationException(
915           "Set is not supported on tombstones");
916     }
917 
918     /**
919      * Checks the dirty status of the 'data' field. A field is dirty if it
920      * represents a change that has not yet been written to the database.
921      */
922     public boolean isDataDirty() {
923       throw new java.lang.UnsupportedOperationException(
924           "IsDirty is not supported on tombstones");
925     }
926 
927   }
928 
929 }