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  package org.apache.giraph.io.gora.generated;
19  
20  /**
21   * Example class for defining a Giraph-Edge result.
22   */
23  @SuppressWarnings("all")
24  public class GEdgeResult extends
25      org.apache.gora.persistency.impl.PersistentBase implements
26      org.apache.avro.specific.SpecificRecord,
27      org.apache.gora.persistency.Persistent {
28  
29    /**
30     * Schema used for the class.
31     */
32    public static final org.apache.avro.Schema SCHEMAS =
33        new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\"," +
34              "\"name\":\"GEdgeResult\"," +
35              "\"namespace\":\"org.apache.giraph.io.gora.generated\"," +
36              "\"fields\":[{\"name\":\"edgeId\",\"type\":\"string\"}," +
37              "{\"name\":\"edgeWeight\",\"type\":\"float\"}," +
38              "{\"name\":\"vertexInId\",\"type\":\"string\"}," +
39              "{\"name\":\"vertexOutId\",\"type\":\"string\"}," +
40              "{\"name\":\"label\",\"type\":\"string\"}]}");
41  
42    /** Enum containing all data bean's fields. */
43    public static enum Field {
44      /**
45       * Edge id.
46       */
47      EDGE_ID(0, "edgeId"),
48  
49      /**
50       * Edge weight.
51       */
52      EDGE_WEIGHT(1, "edgeWeight"),
53  
54      /**
55       * Edge vertex source id.
56       */
57      VERTEX_IN_ID(2, "vertexInId"),
58  
59      /**
60       * Edge vertex end id.
61       */
62      VERTEX_OUT_ID(3, "vertexOutId"),
63  
64      /**
65       * Edge label.
66       */
67      LABEL(4, "label");
68  
69      /**
70       * Field's index.
71       */
72      private int index;
73  
74      /**
75       * Field's name.
76       */
77      private String name;
78  
79      /**
80       * Field's constructor
81       * @param index field's index.
82       * @param name field's name.
83       */
84      Field(int index, String name) {
85        this.index = index;
86        this.name = name;
87      }
88  
89      /**
90       * Gets field's index.
91       * @return int field's index.
92       */
93      public int getIndex() {
94        return index;
95      }
96  
97      /**
98       * Gets field's name.
99       * @return String field's name.
100      */
101     public String getName() {
102       return name;
103     }
104 
105     /**
106      * Gets field's attributes to string.
107      * @return String field's attributes to string.
108      */
109     public String toString() {
110       return name;
111     }
112   };
113 
114   /**
115    * Array containing all fields/
116    */
117   private static final String[] ALL_FIELDS = {
118     "edgeId", "edgeWeight", "vertexInId", "vertexOutId", "label"};
119 
120   /**
121    * Tombstone.
122    */
123   private static final Tombstone TOMBSTONE = new Tombstone();
124 
125   /**
126    * edgeId.
127    */
128   private java.lang.CharSequence edgeId;
129 
130   /**
131    * edgeWeight.
132    */
133   private float edgeWeight;
134 
135   /**
136    * vertexInId.
137    */
138   private java.lang.CharSequence vertexInId;
139 
140   /**
141    * vertexOutId.
142    */
143   private java.lang.CharSequence vertexOutId;
144 
145   /**
146    * label.
147    */
148   private java.lang.CharSequence label;
149 
150   /**
151    * Gets the total field count.
152    * @return int field count
153    */
154   public int getFieldsCount() {
155     return GEdgeResult.ALL_FIELDS.length;
156   }
157 
158   /**
159    * Gets the schema
160    * @return Schema
161    */
162   public org.apache.avro.Schema getSchema() {
163     return SCHEMAS;
164   }
165 
166   /**
167    * Gets field
168    * @param field index field.
169    * @return Object from an index.
170    */
171   public java.lang.Object get(int field) {
172     switch (field) {
173     case 0:
174       return edgeId;
175     case 1:
176       return edgeWeight;
177     case 2:
178       return vertexInId;
179     case 3:
180       return vertexOutId;
181     case 4:
182       return label;
183     default:
184       throw new org.apache.avro.AvroRuntimeException("Bad index");
185     }
186   }
187 
188   /**
189    * Puts a value into a field.
190    * @param field index of field used.
191    * @param value value of field used.
192    */
193   @SuppressWarnings(value = "unchecked")
194   public void put(int field, java.lang.Object value) {
195     switch (field) {
196     case 0:
197       edgeId = (java.lang.CharSequence) value;
198       break;
199     case 1:
200       edgeWeight = (java.lang.Float) value;
201       break;
202     case 2:
203       vertexInId = (java.lang.CharSequence) value;
204       break;
205     case 3:
206       vertexOutId = (java.lang.CharSequence) value;
207       break;
208     case 4:
209       label = (java.lang.CharSequence) value;
210       break;
211     default:
212       throw new org.apache.avro.AvroRuntimeException("Bad index");
213     }
214   }
215 
216   /**
217    * Gets the value of the 'edgeId' field.
218    * @return CharSequence.
219    */
220   public java.lang.CharSequence getEdgeId() {
221     return edgeId;
222   }
223 
224   /**
225    * Sets the value of the 'edgeId' field.
226    * @param value the value to set.
227    */
228   public void setEdgeId(java.lang.CharSequence value) {
229     this.edgeId = value;
230     setDirty(0);
231   }
232 
233   /**
234    * Checks the dirty status of the 'edgeId' field. A field is dirty if it
235    * represents a change that has not yet been written to the database.
236    * @param value the value to set.
237    * @return boolean
238    */
239   public boolean isEdgeIdDirty(java.lang.CharSequence value) {
240     return isDirty(0);
241   }
242 
243   /**
244    * Gets the value of the 'edgeWeight' field.
245    * @return Float
246    */
247   public java.lang.Float getEdgeWeight() {
248     return edgeWeight;
249   }
250 
251   /**
252    * Sets the value of the 'edgeWeight' field.
253    * @param value the value to set.
254    */
255   public void setEdgeWeight(java.lang.Float value) {
256     this.edgeWeight = value;
257     setDirty(1);
258   }
259 
260   /**
261    * Checks the dirty status of the 'edgeWeight' field. A field is dirty if it
262    * represents a change that has not yet been written to the database.
263    * @param value the value to set.
264    * @return boolean
265    */
266   public boolean isEdgeWeightDirty(java.lang.Float value) {
267     return isDirty(1);
268   }
269 
270   /**
271    * Gets the value of the 'vertexInId' field.
272    * @return CharSequence
273    */
274   public java.lang.CharSequence getVertexInId() {
275     return vertexInId;
276   }
277 
278   /**
279    * Sets the value of the 'vertexInId' field.
280    * @param value the value to set.
281    */
282   public void setVertexInId(java.lang.CharSequence value) {
283     this.vertexInId = value;
284     setDirty(2);
285   }
286 
287   /**
288    * Checks the dirty status of the 'vertexInId' field. A field is dirty if it
289    * represents a change that has not yet been written to the database.
290    * @param value the value to set.
291    * @return boolean
292    */
293   public boolean isVertexInIdDirty(java.lang.CharSequence value) {
294     return isDirty(2);
295   }
296 
297   /**
298    * Gets the value of the 'vertexOutId' field.
299    * @return CharSequence
300    */
301   public java.lang.CharSequence getVertexOutId() {
302     return vertexOutId;
303   }
304 
305   /**
306    * Sets the value of the 'vertexOutId' field.
307    * @param value the value to set.
308    */
309   public void setVertexOutId(java.lang.CharSequence value) {
310     this.vertexOutId = value;
311     setDirty(3);
312   }
313 
314   /**
315    * Checks the dirty status of the 'vertexOutId' field. A field is dirty if it
316    * represents a change that has not yet been written to the database.
317    * @param value the value to set.
318    * @return boolean
319    */
320   public boolean isVertexOutIdDirty(java.lang.CharSequence value) {
321     return isDirty(3);
322   }
323 
324   /**
325    * Gets the value of the 'label' field.
326    * @return CharSequence
327    */
328   public java.lang.CharSequence getLabel() {
329     return label;
330   }
331 
332   /**
333    * Sets the value of the 'label' field.
334    * @param value the value to set.
335    */
336   public void setLabel(java.lang.CharSequence value) {
337     this.label = value;
338     setDirty(4);
339   }
340 
341   /**
342    * Checks the dirty status of the 'label' field. A field is dirty if it
343    * represents a change that has not yet been written to the database.
344    * @param value the value to set.
345    * @return boolean
346    */
347   public boolean isLabelDirty(java.lang.CharSequence value) {
348     return isDirty(4);
349   }
350 
351   /**
352    * Creates a new GEdgeResult RecordBuilder.
353    * @return GEdge.Builder
354    */
355   public static org.apache.giraph.io.gora.generated.GEdgeResult.Builder
356   newBuilder() {
357     return new org.apache.giraph.io.gora.generated.GEdgeResult.Builder();
358   }
359 
360   /**
361    * Creates a new GEdgeResult RecordBuilder by copying an existing Builder.
362    * @param other GEdgeResult.Builder
363    * @return GEdge.Builder
364    */
365   public static org.apache.giraph.io.gora.generated.GEdgeResult.Builder
366   newBuilder(org.apache.giraph.io.gora.generated.GEdgeResult.Builder other) {
367     return new org.apache.giraph.io.gora.generated.GEdgeResult.Builder(other);
368   }
369 
370   /**
371    * Creates a new GEdgeResult RecordBuilder by copying an existing GEdgeResult
372    * instance
373    * @param other GEdgeResult
374    * @return GEdge.Builder
375    */
376   public static org.apache.giraph.io.gora.generated.GEdgeResult.Builder
377   newBuilder(org.apache.giraph.io.gora.generated.GEdgeResult other) {
378     return new org.apache.giraph.io.gora.generated.GEdgeResult.Builder(other);
379   }
380 
381   /**
382    * Makes a deep copy from a bytebuffer.
383    * @param input ByteBuffer
384    * @return ByteBuffer
385    */
386   private static java.nio.ByteBuffer deepCopyToReadOnlyBuffer(
387       java.nio.ByteBuffer input) {
388     java.nio.ByteBuffer copy = java.nio.ByteBuffer.allocate(input.capacity());
389     int position = input.position();
390     input.reset();
391     int mark = input.position();
392     int limit = input.limit();
393     input.rewind();
394     input.limit(input.capacity());
395     copy.put(input);
396     input.rewind();
397     copy.rewind();
398     input.position(mark);
399     input.mark();
400     copy.position(mark);
401     copy.mark();
402     input.position(position);
403     copy.position(position);
404     input.limit(limit);
405     copy.limit(limit);
406     return copy.asReadOnlyBuffer();
407   }
408 
409   /**
410    * RecordBuilder for GEdgeResult instances.
411    */
412   public static class Builder extends
413       org.apache.avro.specific.SpecificRecordBuilderBase<GEdgeResult> implements
414       org.apache.avro.data.RecordBuilder<GEdgeResult> {
415 
416     /**
417      * edgeId.
418      */
419     private java.lang.CharSequence edgeId;
420 
421     /**
422      * edgeWeight.
423      */
424     private float edgeWeight;
425 
426     /**
427      * vertexInId
428      */
429     private java.lang.CharSequence vertexInId;
430 
431     /**
432      * vertexOutId.
433      */
434     private java.lang.CharSequence vertexOutId;
435 
436     /**
437      * label.
438      */
439     private java.lang.CharSequence label;
440 
441     /** Creates a new Builder */
442     private Builder() {
443       super(org.apache.giraph.io.gora.generated.GEdgeResult.SCHEMAS);
444     }
445 
446     /**
447      * Creates a Builder by copying an existing Builder.
448      * @param other GEdgeResult.Builder
449      */
450     private Builder(
451         org.apache.giraph.io.gora.generated.GEdgeResult.Builder other) {
452       super(other);
453     }
454 
455     /**
456      * Creates a Builder by copying an existing GEdgeResult instance.
457      * @param other GEdgeResult
458      */
459     // CHECKSTYLE: stop Indentation
460     private Builder(org.apache.giraph.io.gora.generated.GEdgeResult other) {
461       super(org.apache.giraph.io.gora.generated.GEdgeResult.SCHEMAS);
462       if (isValidValue(fields()[0], other.edgeId)) {
463         this.edgeId = (java.lang.CharSequence) data().deepCopy(
464           fields()[0].schema(), other.edgeId);
465         fieldSetFlags()[0] = true;
466       }
467       if (isValidValue(fields()[1], other.edgeWeight)) {
468         this.edgeWeight = (java.lang.Float) data().deepCopy(
469           fields()[1].schema(), other.edgeWeight);
470         fieldSetFlags()[1] = true;
471       }
472       if (isValidValue(fields()[2], other.vertexInId)) {
473         this.vertexInId = (java.lang.CharSequence) data().deepCopy(
474           fields()[2].schema(), other.vertexInId);
475         fieldSetFlags()[2] = true;
476       }
477       if (isValidValue(fields()[3], other.vertexOutId)) {
478         this.vertexOutId = (java.lang.CharSequence) data().deepCopy(
479           fields()[3].schema(), other.vertexOutId);
480         fieldSetFlags()[3] = true;
481       }
482       if (isValidValue(fields()[4], other.label)) {
483         this.label = (java.lang.CharSequence) data().deepCopy(
484           fields()[4].schema(), other.label);
485         fieldSetFlags()[4] = true;
486       }
487     }
488     // CHECKSTYLE: resume Indentation
489 
490     /**
491      * Gets the value of the 'edgeId' field.
492      * @return CharSequence
493      */
494     public java.lang.CharSequence getEdgeId() {
495       return edgeId;
496     }
497 
498     /**
499      * Sets the value of the 'edgeId' field.
500      * @param value CharSequence
501      * @return GEdgeResult.Builder
502      */
503     // CHECKSTYLE: stop Indentation
504     public org.apache.giraph.io.gora.generated.GEdgeResult.Builder setEdgeId(
505         java.lang.CharSequence value) {
506       validate(fields()[0], value);
507       this.edgeId = value;
508       fieldSetFlags()[0] = true;
509       return this;
510     }
511     // CHECKSTYLE: resume Indentation
512 
513     /**
514      * Checks whether the 'edgeId' field has been set.
515      * @return boolean
516      */
517     public boolean hasEdgeId() {
518       return fieldSetFlags()[0];
519     }
520 
521     /**
522      * Clears the value of the 'edgeId' field.
523      * @return GEdgeResult.Builder
524      */
525     // CHECKSTYLE: stop Indentation
526     public org.apache.giraph.io.gora.generated.GEdgeResult.Builder
527     clearEdgeId() {
528       edgeId = null;
529       fieldSetFlags()[0] = false;
530       return this;
531     }
532     // CHECKSTYLE: resume Indentation
533 
534     /**
535      * Gets the value of the 'edgeWeight' field.
536      * @return Float
537      */
538     public java.lang.Float getEdgeWeight() {
539       return edgeWeight;
540     }
541 
542     /**
543      * Sets the value of the 'edgeWeight' field.
544      * @param value float
545      * @return GEdgeResult.Builder
546      */
547     // CHECKSTYLE: stop Indentation
548     public org.apache.giraph.io.gora.generated.GEdgeResult.Builder
549     setEdgeWeight(float value) {
550       validate(fields()[1], value);
551       this.edgeWeight = value;
552       fieldSetFlags()[1] = true;
553       return this;
554     }
555     // CHECKSTYLE: resume Indentation
556 
557     /**
558      * Checks whether the 'edgeWeight' field has been set.
559      * @return boolean
560      */
561     public boolean hasEdgeWeight() {
562       return fieldSetFlags()[1];
563     }
564 
565     /**
566      * Clears the value of the 'edgeWeight' field.
567      * @return GEdgeResult.Builder
568      */
569     // CHECKSTYLE: stop Indentation
570     public org.apache.giraph.io.gora.generated.GEdgeResult.Builder
571     clearEdgeWeight() {
572       fieldSetFlags()[1] = false;
573       return this;
574     }
575     // CHECKSTYLE: resume Indentation
576 
577     /**
578      * Gets the value of the 'vertexInId' field.
579      * @return CharSequence
580      */
581     public java.lang.CharSequence getVertexInId() {
582       return vertexInId;
583     }
584 
585     /**
586      * Sets the value of the 'vertexInId' field.
587      * @param value CharSequence
588      * @return GEdgeResult.Builder
589      */
590     // CHECKSTYLE: stop Indentation
591     public org.apache.giraph.io.gora.generated.GEdgeResult.Builder
592     setVertexInId(java.lang.CharSequence value) {
593       validate(fields()[2], value);
594       this.vertexInId = value;
595       fieldSetFlags()[2] = true;
596       return this;
597     }
598     // CHECKSTYLE: resume Indentation
599 
600     /**
601      * Checks whether the 'vertexInId' field has been set.
602      * @return boolean.
603      */
604     public boolean hasVertexInId() {
605       return fieldSetFlags()[2];
606     }
607 
608     /**
609      * Clears the value of the 'vertexInId' field.
610      * @return GEdgeResult.Builder
611      */
612     // CHECKSTYLE: stop Indentation
613     public org.apache.giraph.io.gora.generated.GEdgeResult.Builder
614     clearVertexInId() {
615       vertexInId = null;
616       fieldSetFlags()[2] = false;
617       return this;
618     }
619     // CHECKSTYLE: resume Indentation
620 
621     /**
622      * Gets the value of the 'vertexOutId' field.
623      * @return CharSequence
624      */
625     public java.lang.CharSequence getVertexOutId() {
626       return vertexOutId;
627     }
628 
629     /**
630      * Sets the value of the 'vertexOutId' field.
631      * @param value CharSequence
632      * @return GEdgeResult.Builder
633      */
634     // CHECKSTYLE: stop Indentation
635     public org.apache.giraph.io.gora.generated.GEdgeResult.Builder
636     setVertexOutId(java.lang.CharSequence value) {
637       validate(fields()[3], value);
638       this.vertexOutId = value;
639       fieldSetFlags()[3] = true;
640       return this;
641     }
642     // CHECKSTYLE: resume Indentation
643 
644     /**
645      * Checks whether the 'vertexOutId' field has been set.
646      * @return boolean
647      */
648     public boolean hasVertexOutId() {
649       return fieldSetFlags()[3];
650     }
651 
652     /**
653      * Clears the value of the 'vertexOutId' field.
654      * @return GEdgeResult.Builder
655      */
656     // CHECKSTYLE: stop Indentation
657     public org.apache.giraph.io.gora.generated.GEdgeResult.Builder
658     clearVertexOutId() {
659       vertexOutId = null;
660       fieldSetFlags()[3] = false;
661       return this;
662     }
663     // CHECKSTYLE: resume Indentation
664 
665     /**
666      * Gets the value of the 'label' field.
667      * @return CharSequence
668      */
669     public java.lang.CharSequence getLabel() {
670       return label;
671     }
672 
673     /**
674      * Sets the value of the 'label' field.
675      * @param value CharSequence
676      * @return GEdgeResult.Builder
677      */
678     // CHECKSTYLE: stop Indentation
679     public org.apache.giraph.io.gora.generated.GEdgeResult.Builder setLabel(
680         java.lang.CharSequence value) {
681       validate(fields()[4], value);
682       this.label = value;
683       fieldSetFlags()[4] = true;
684       return this;
685     }
686     // CHECKSTYLE: resume Indentation
687 
688     /**
689      * Checks whether the 'label' field has been set.
690      * @return boolean
691      */
692     public boolean hasLabel() {
693       return fieldSetFlags()[4];
694     }
695 
696     /**
697      * Clears the value of the 'label' field.
698      * @return GEdgeResult.Builder
699      */
700     // CHECKSTYLE: stop Indentation
701     public org.apache.giraph.io.gora.generated.GEdgeResult.Builder
702     clearLabel() {
703       label = null;
704       fieldSetFlags()[4] = false;
705       return this;
706     }
707     // CHECKSTYLE: resume Indentation
708 
709     @Override
710     /**
711      * Builds a GEdgeResult.
712      * @return GEdgeResult
713      */
714     // CHECKSTYLE: stop IllegalCatch
715     public GEdgeResult build() {
716       try {
717         GEdgeResult record = new GEdgeResult();
718         record.edgeId = fieldSetFlags()[0] ? this.edgeId :
719           (java.lang.CharSequence) defaultValue(fields()[0]);
720         record.edgeWeight = fieldSetFlags()[1] ? this.edgeWeight :
721           (java.lang.Float) defaultValue(fields()[1]);
722         record.vertexInId = fieldSetFlags()[2] ? this.vertexInId :
723           (java.lang.CharSequence) defaultValue(fields()[2]);
724         record.vertexOutId = fieldSetFlags()[3] ? this.vertexOutId :
725           (java.lang.CharSequence) defaultValue(fields()[3]);
726         record.label = fieldSetFlags()[4] ? this.label :
727           (java.lang.CharSequence) defaultValue(fields()[4]);
728         return record;
729       } catch (Exception e) {
730         throw new org.apache.avro.AvroRuntimeException(e);
731       }
732     }
733     // CHECKSTYLE: resume IllegalCatch
734   }
735 
736   /**
737    * Gets tombstone
738    * @return GEdgeResult.Tombstone
739    */
740   public GEdgeResult.Tombstone getTombstone() {
741     return TOMBSTONE;
742   }
743 
744   /**
745    * Gets a new instance
746    * @return GEdgeResult.
747    */
748   public GEdgeResult newInstance() {
749     return newBuilder().build();
750   }
751 
752   /**
753    * Tombstone class.
754    */
755   public static final class Tombstone extends GEdgeResult implements
756       org.apache.gora.persistency.Tombstone {
757 
758     /**
759      * Default constructor.
760      */
761     private Tombstone() {
762     }
763 
764     /**
765      * Gets the value of the 'edgeId' field.
766      * @return CharSequence
767      */
768     public java.lang.CharSequence getEdgeId() {
769       throw new java.lang.UnsupportedOperationException(
770           "Get is not supported on tombstones");
771     }
772 
773     /**
774      * Sets the value of the 'edgeId' field.
775      * @param value the value to set.
776      */
777     public void setEdgeId(java.lang.CharSequence value) {
778       throw new java.lang.UnsupportedOperationException(
779           "Set is not supported on tombstones");
780     }
781 
782     /**
783      * Checks the dirty status of the 'edgeId' field. A field is dirty if it
784      * represents a change that has not yet been written to the database.
785      * @param value the value to set.
786      * @return boolean
787      */
788     public boolean isEdgeIdDirty(java.lang.CharSequence value) {
789       throw new java.lang.UnsupportedOperationException(
790           "IsDirty is not supported on tombstones");
791     }
792 
793     /**
794      * Gets the value of the 'edgeWeight' field.
795      * @return Float
796      */
797     public java.lang.Float getEdgeWeight() {
798       throw new java.lang.UnsupportedOperationException(
799           "Get is not supported on tombstones");
800     }
801 
802     /**
803      * Sets the value of the 'edgeWeight' field.
804      * @param value the value to set.
805      */
806     public void setEdgeWeight(java.lang.Float value) {
807       throw new java.lang.UnsupportedOperationException(
808           "Set is not supported on tombstones");
809     }
810 
811     /**
812      * Checks the dirty status of the 'edgeWeight' field. A field is dirty if it
813      * represents a change that has not yet been written to the database.
814      * @param value the value to set.
815      * @return boolean
816      */
817     public boolean isEdgeWeightDirty(java.lang.Float value) {
818       throw new java.lang.UnsupportedOperationException(
819           "IsDirty is not supported on tombstones");
820     }
821 
822     /**
823      * Gets the value of the 'vertexInId' field.
824      * @return CharSequence
825      */
826     public java.lang.CharSequence getVertexInId() {
827       throw new java.lang.UnsupportedOperationException(
828           "Get is not supported on tombstones");
829     }
830 
831     /**
832      * Sets the value of the 'vertexInId' field.
833     * @param value the value to set.
834      */
835     public void setVertexInId(java.lang.CharSequence value) {
836       throw new java.lang.UnsupportedOperationException(
837           "Set is not supported on tombstones");
838     }
839 
840     /**
841      * Checks the dirty status of the 'vertexInId' field. A field is dirty if it
842      * represents a change that has not yet been written to the database.
843      * @param value the value to set.
844      * @return boolean
845      */
846     public boolean isVertexInIdDirty(java.lang.CharSequence value) {
847       throw new java.lang.UnsupportedOperationException(
848           "IsDirty is not supported on tombstones");
849     }
850 
851     /**
852      * Gets the value of the 'vertexOutId' field.
853      * @return CharSequence
854      */
855     public java.lang.CharSequence getVertexOutId() {
856       throw new java.lang.UnsupportedOperationException(
857           "Get is not supported on tombstones");
858     }
859 
860     /**
861      * Sets the value of the 'vertexOutId' field.
862      * @param value the value to set.
863      */
864     public void setVertexOutId(java.lang.CharSequence value) {
865       throw new java.lang.UnsupportedOperationException(
866           "Set is not supported on tombstones");
867     }
868 
869     /**
870      * Checks the dirty status of the 'vertexOutId' field. A field is dirty if
871      * it represents a change that has not yet been written to the database.
872      * @param value the value to set.
873      * @return boolean
874      */
875     public boolean isVertexOutIdDirty(java.lang.CharSequence value) {
876       throw new java.lang.UnsupportedOperationException(
877           "IsDirty is not supported on tombstones");
878     }
879 
880     /**
881      * Gets the value of the 'label' field.
882      * @return CharSequence
883      */
884     public java.lang.CharSequence getLabel() {
885       throw new java.lang.UnsupportedOperationException(
886           "Get is not supported on tombstones");
887     }
888 
889     /**
890      * Sets the value of the 'label' field.
891      * @param value the value to set.
892      */
893     public void setLabel(java.lang.CharSequence value) {
894       throw new java.lang.UnsupportedOperationException(
895           "Set is not supported on tombstones");
896     }
897 
898     /**
899      * Checks the dirty status of the 'label' field. A field is dirty if it
900      * represents a change that has not yet been written to the database.
901      * @param value the value to set.
902      * @return boolean
903      */
904     public boolean isLabelDirty(java.lang.CharSequence value) {
905       throw new java.lang.UnsupportedOperationException(
906           "IsDirty is not supported on tombstones");
907     }
908   }
909 }