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