source: trunk/docx4j/src/main/java/org/docx4j/wml/RPr.java @ 345

Revision 345, 23.2 KB checked in by jharrop, 4 years ago (diff)

@XmlRootElement?

Line 
1/*
2 *  Copyright 2007-2008, Plutext Pty Ltd.
3 *   
4 *  This file is part of docx4j.
5
6    docx4j is licensed under the Apache License, Version 2.0 (the "License");
7    you may not use this file except in compliance with the License.
8
9    You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
13    Unless required by applicable law or agreed to in writing, software
14    distributed under the License is distributed on an "AS IS" BASIS,
15    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16    See the License for the specific language governing permissions and
17    limitations under the License.
18
19 */
20
21package org.docx4j.wml;
22
23import javax.xml.bind.Unmarshaller;
24import javax.xml.bind.annotation.XmlAccessType;
25import javax.xml.bind.annotation.XmlAccessorType;
26import javax.xml.bind.annotation.XmlRootElement;
27import javax.xml.bind.annotation.XmlTransient;
28import javax.xml.bind.annotation.XmlType;
29import org.jvnet.jaxb2_commons.ppp.Child;
30
31
32/**
33 * <p>Java class for CT_RPr complex type.
34 *
35 * <p>The following schema fragment specifies the expected content contained within this class.
36 *
37 * <pre>
38 * &lt;complexType name="CT_RPr">
39 *   &lt;complexContent>
40 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41 *       &lt;sequence>
42 *         &lt;group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_RPrContent" minOccurs="0"/>
43 *       &lt;/sequence>
44 *     &lt;/restriction>
45 *   &lt;/complexContent>
46 * &lt;/complexType>
47 * </pre>
48 *
49 *
50 */
51@XmlAccessorType(XmlAccessType.FIELD)
52@XmlType(name = "CT_RPr", propOrder = {
53    "rStyle",
54    "rFonts",
55    "b",
56    "bCs",
57    "i",
58    "iCs",
59    "caps",
60    "smallCaps",
61    "strike",
62    "dstrike",
63    "outline",
64    "shadow",
65    "emboss",
66    "imprint",
67    "noProof",
68    "snapToGrid",
69    "vanish",
70    "webHidden",
71    "color",
72    "spacing",
73    "w",
74    "kern",
75    "position",
76    "sz",
77    "szCs",
78    "highlight",
79    "u",
80    "effect",
81    "bdr",
82    "shd",
83    "fitText",
84    "vertAlign",
85    "rtl",
86    "cs",
87    "em",
88    "lang",
89    "eastAsianLayout",
90    "specVanish",
91    "oMath",
92    "rPrChange"
93})
94@XmlRootElement(name = "rPr")
95public class RPr
96    implements Child
97{
98
99    protected RStyle rStyle;
100    protected RFonts rFonts;
101    protected BooleanDefaultTrue b;
102    protected BooleanDefaultTrue bCs;
103    protected BooleanDefaultTrue i;
104    protected BooleanDefaultTrue iCs;
105    protected BooleanDefaultTrue caps;
106    protected BooleanDefaultTrue smallCaps;
107    protected BooleanDefaultTrue strike;
108    protected BooleanDefaultTrue dstrike;
109    protected BooleanDefaultTrue outline;
110    protected BooleanDefaultTrue shadow;
111    protected BooleanDefaultTrue emboss;
112    protected BooleanDefaultTrue imprint;
113    protected BooleanDefaultTrue noProof;
114    protected BooleanDefaultTrue snapToGrid;
115    protected BooleanDefaultTrue vanish;
116    protected BooleanDefaultTrue webHidden;
117    protected Color color;
118    protected CTSignedTwipsMeasure spacing;
119    protected CTTextScale w;
120    protected HpsMeasure kern;
121    protected CTSignedHpsMeasure position;
122    protected HpsMeasure sz;
123    protected HpsMeasure szCs;
124    protected Highlight highlight;
125    protected U u;
126    protected CTTextEffect effect;
127    protected CTBorder bdr;
128    protected CTShd shd;
129    protected CTFitText fitText;
130    protected CTVerticalAlignRun vertAlign;
131    protected BooleanDefaultTrue rtl;
132    protected BooleanDefaultTrue cs;
133    protected CTEm em;
134    protected CTLanguage lang;
135    protected CTEastAsianLayout eastAsianLayout;
136    protected BooleanDefaultTrue specVanish;
137    protected BooleanDefaultTrue oMath;
138    protected CTRPrChange rPrChange;
139    @XmlTransient
140    private Object parent;
141
142    /**
143     * Gets the value of the rStyle property.
144     *
145     * @return
146     *     possible object is
147     *     {@link RStyle }
148     *     
149     */
150    public RStyle getRStyle() {
151        return rStyle;
152    }
153
154    /**
155     * Sets the value of the rStyle property.
156     *
157     * @param value
158     *     allowed object is
159     *     {@link RStyle }
160     *     
161     */
162    public void setRStyle(RStyle value) {
163        this.rStyle = value;
164    }
165
166    /**
167     * Gets the value of the rFonts property.
168     *
169     * @return
170     *     possible object is
171     *     {@link RFonts }
172     *     
173     */
174    public RFonts getRFonts() {
175        return rFonts;
176    }
177
178    /**
179     * Sets the value of the rFonts property.
180     *
181     * @param value
182     *     allowed object is
183     *     {@link RFonts }
184     *     
185     */
186    public void setRFonts(RFonts value) {
187        this.rFonts = value;
188    }
189
190    /**
191     * Gets the value of the b property.
192     *
193     * @return
194     *     possible object is
195     *     {@link BooleanDefaultTrue }
196     *     
197     */
198    public BooleanDefaultTrue getB() {
199        return b;
200    }
201
202    /**
203     * Sets the value of the b property.
204     *
205     * @param value
206     *     allowed object is
207     *     {@link BooleanDefaultTrue }
208     *     
209     */
210    public void setB(BooleanDefaultTrue value) {
211        this.b = value;
212    }
213
214    /**
215     * Gets the value of the bCs property.
216     *
217     * @return
218     *     possible object is
219     *     {@link BooleanDefaultTrue }
220     *     
221     */
222    public BooleanDefaultTrue getBCs() {
223        return bCs;
224    }
225
226    /**
227     * Sets the value of the bCs property.
228     *
229     * @param value
230     *     allowed object is
231     *     {@link BooleanDefaultTrue }
232     *     
233     */
234    public void setBCs(BooleanDefaultTrue value) {
235        this.bCs = value;
236    }
237
238    /**
239     * Gets the value of the i property.
240     *
241     * @return
242     *     possible object is
243     *     {@link BooleanDefaultTrue }
244     *     
245     */
246    public BooleanDefaultTrue getI() {
247        return i;
248    }
249
250    /**
251     * Sets the value of the i property.
252     *
253     * @param value
254     *     allowed object is
255     *     {@link BooleanDefaultTrue }
256     *     
257     */
258    public void setI(BooleanDefaultTrue value) {
259        this.i = value;
260    }
261
262    /**
263     * Gets the value of the iCs property.
264     *
265     * @return
266     *     possible object is
267     *     {@link BooleanDefaultTrue }
268     *     
269     */
270    public BooleanDefaultTrue getICs() {
271        return iCs;
272    }
273
274    /**
275     * Sets the value of the iCs property.
276     *
277     * @param value
278     *     allowed object is
279     *     {@link BooleanDefaultTrue }
280     *     
281     */
282    public void setICs(BooleanDefaultTrue value) {
283        this.iCs = value;
284    }
285
286    /**
287     * Gets the value of the caps property.
288     *
289     * @return
290     *     possible object is
291     *     {@link BooleanDefaultTrue }
292     *     
293     */
294    public BooleanDefaultTrue getCaps() {
295        return caps;
296    }
297
298    /**
299     * Sets the value of the caps property.
300     *
301     * @param value
302     *     allowed object is
303     *     {@link BooleanDefaultTrue }
304     *     
305     */
306    public void setCaps(BooleanDefaultTrue value) {
307        this.caps = value;
308    }
309
310    /**
311     * Gets the value of the smallCaps property.
312     *
313     * @return
314     *     possible object is
315     *     {@link BooleanDefaultTrue }
316     *     
317     */
318    public BooleanDefaultTrue getSmallCaps() {
319        return smallCaps;
320    }
321
322    /**
323     * Sets the value of the smallCaps property.
324     *
325     * @param value
326     *     allowed object is
327     *     {@link BooleanDefaultTrue }
328     *     
329     */
330    public void setSmallCaps(BooleanDefaultTrue value) {
331        this.smallCaps = value;
332    }
333
334    /**
335     * Gets the value of the strike property.
336     *
337     * @return
338     *     possible object is
339     *     {@link BooleanDefaultTrue }
340     *     
341     */
342    public BooleanDefaultTrue getStrike() {
343        return strike;
344    }
345
346    /**
347     * Sets the value of the strike property.
348     *
349     * @param value
350     *     allowed object is
351     *     {@link BooleanDefaultTrue }
352     *     
353     */
354    public void setStrike(BooleanDefaultTrue value) {
355        this.strike = value;
356    }
357
358    /**
359     * Gets the value of the dstrike property.
360     *
361     * @return
362     *     possible object is
363     *     {@link BooleanDefaultTrue }
364     *     
365     */
366    public BooleanDefaultTrue getDstrike() {
367        return dstrike;
368    }
369
370    /**
371     * Sets the value of the dstrike property.
372     *
373     * @param value
374     *     allowed object is
375     *     {@link BooleanDefaultTrue }
376     *     
377     */
378    public void setDstrike(BooleanDefaultTrue value) {
379        this.dstrike = value;
380    }
381
382    /**
383     * Gets the value of the outline property.
384     *
385     * @return
386     *     possible object is
387     *     {@link BooleanDefaultTrue }
388     *     
389     */
390    public BooleanDefaultTrue getOutline() {
391        return outline;
392    }
393
394    /**
395     * Sets the value of the outline property.
396     *
397     * @param value
398     *     allowed object is
399     *     {@link BooleanDefaultTrue }
400     *     
401     */
402    public void setOutline(BooleanDefaultTrue value) {
403        this.outline = value;
404    }
405
406    /**
407     * Gets the value of the shadow property.
408     *
409     * @return
410     *     possible object is
411     *     {@link BooleanDefaultTrue }
412     *     
413     */
414    public BooleanDefaultTrue getShadow() {
415        return shadow;
416    }
417
418    /**
419     * Sets the value of the shadow property.
420     *
421     * @param value
422     *     allowed object is
423     *     {@link BooleanDefaultTrue }
424     *     
425     */
426    public void setShadow(BooleanDefaultTrue value) {
427        this.shadow = value;
428    }
429
430    /**
431     * Gets the value of the emboss property.
432     *
433     * @return
434     *     possible object is
435     *     {@link BooleanDefaultTrue }
436     *     
437     */
438    public BooleanDefaultTrue getEmboss() {
439        return emboss;
440    }
441
442    /**
443     * Sets the value of the emboss property.
444     *
445     * @param value
446     *     allowed object is
447     *     {@link BooleanDefaultTrue }
448     *     
449     */
450    public void setEmboss(BooleanDefaultTrue value) {
451        this.emboss = value;
452    }
453
454    /**
455     * Gets the value of the imprint property.
456     *
457     * @return
458     *     possible object is
459     *     {@link BooleanDefaultTrue }
460     *     
461     */
462    public BooleanDefaultTrue getImprint() {
463        return imprint;
464    }
465
466    /**
467     * Sets the value of the imprint property.
468     *
469     * @param value
470     *     allowed object is
471     *     {@link BooleanDefaultTrue }
472     *     
473     */
474    public void setImprint(BooleanDefaultTrue value) {
475        this.imprint = value;
476    }
477
478    /**
479     * Gets the value of the noProof property.
480     *
481     * @return
482     *     possible object is
483     *     {@link BooleanDefaultTrue }
484     *     
485     */
486    public BooleanDefaultTrue getNoProof() {
487        return noProof;
488    }
489
490    /**
491     * Sets the value of the noProof property.
492     *
493     * @param value
494     *     allowed object is
495     *     {@link BooleanDefaultTrue }
496     *     
497     */
498    public void setNoProof(BooleanDefaultTrue value) {
499        this.noProof = value;
500    }
501
502    /**
503     * Gets the value of the snapToGrid property.
504     *
505     * @return
506     *     possible object is
507     *     {@link BooleanDefaultTrue }
508     *     
509     */
510    public BooleanDefaultTrue getSnapToGrid() {
511        return snapToGrid;
512    }
513
514    /**
515     * Sets the value of the snapToGrid property.
516     *
517     * @param value
518     *     allowed object is
519     *     {@link BooleanDefaultTrue }
520     *     
521     */
522    public void setSnapToGrid(BooleanDefaultTrue value) {
523        this.snapToGrid = value;
524    }
525
526    /**
527     * Gets the value of the vanish property.
528     *
529     * @return
530     *     possible object is
531     *     {@link BooleanDefaultTrue }
532     *     
533     */
534    public BooleanDefaultTrue getVanish() {
535        return vanish;
536    }
537
538    /**
539     * Sets the value of the vanish property.
540     *
541     * @param value
542     *     allowed object is
543     *     {@link BooleanDefaultTrue }
544     *     
545     */
546    public void setVanish(BooleanDefaultTrue value) {
547        this.vanish = value;
548    }
549
550    /**
551     * Gets the value of the webHidden property.
552     *
553     * @return
554     *     possible object is
555     *     {@link BooleanDefaultTrue }
556     *     
557     */
558    public BooleanDefaultTrue getWebHidden() {
559        return webHidden;
560    }
561
562    /**
563     * Sets the value of the webHidden property.
564     *
565     * @param value
566     *     allowed object is
567     *     {@link BooleanDefaultTrue }
568     *     
569     */
570    public void setWebHidden(BooleanDefaultTrue value) {
571        this.webHidden = value;
572    }
573
574    /**
575     * Gets the value of the color property.
576     *
577     * @return
578     *     possible object is
579     *     {@link Color }
580     *     
581     */
582    public Color getColor() {
583        return color;
584    }
585
586    /**
587     * Sets the value of the color property.
588     *
589     * @param value
590     *     allowed object is
591     *     {@link Color }
592     *     
593     */
594    public void setColor(Color value) {
595        this.color = value;
596    }
597
598    /**
599     * Gets the value of the spacing property.
600     *
601     * @return
602     *     possible object is
603     *     {@link CTSignedTwipsMeasure }
604     *     
605     */
606    public CTSignedTwipsMeasure getSpacing() {
607        return spacing;
608    }
609
610    /**
611     * Sets the value of the spacing property.
612     *
613     * @param value
614     *     allowed object is
615     *     {@link CTSignedTwipsMeasure }
616     *     
617     */
618    public void setSpacing(CTSignedTwipsMeasure value) {
619        this.spacing = value;
620    }
621
622    /**
623     * Gets the value of the w property.
624     *
625     * @return
626     *     possible object is
627     *     {@link CTTextScale }
628     *     
629     */
630    public CTTextScale getW() {
631        return w;
632    }
633
634    /**
635     * Sets the value of the w property.
636     *
637     * @param value
638     *     allowed object is
639     *     {@link CTTextScale }
640     *     
641     */
642    public void setW(CTTextScale value) {
643        this.w = value;
644    }
645
646    /**
647     * Gets the value of the kern property.
648     *
649     * @return
650     *     possible object is
651     *     {@link HpsMeasure }
652     *     
653     */
654    public HpsMeasure getKern() {
655        return kern;
656    }
657
658    /**
659     * Sets the value of the kern property.
660     *
661     * @param value
662     *     allowed object is
663     *     {@link HpsMeasure }
664     *     
665     */
666    public void setKern(HpsMeasure value) {
667        this.kern = value;
668    }
669
670    /**
671     * Gets the value of the position property.
672     *
673     * @return
674     *     possible object is
675     *     {@link CTSignedHpsMeasure }
676     *     
677     */
678    public CTSignedHpsMeasure getPosition() {
679        return position;
680    }
681
682    /**
683     * Sets the value of the position property.
684     *
685     * @param value
686     *     allowed object is
687     *     {@link CTSignedHpsMeasure }
688     *     
689     */
690    public void setPosition(CTSignedHpsMeasure value) {
691        this.position = value;
692    }
693
694    /**
695     * Gets the value of the sz property.
696     *
697     * @return
698     *     possible object is
699     *     {@link HpsMeasure }
700     *     
701     */
702    public HpsMeasure getSz() {
703        return sz;
704    }
705
706    /**
707     * Sets the value of the sz property.
708     *
709     * @param value
710     *     allowed object is
711     *     {@link HpsMeasure }
712     *     
713     */
714    public void setSz(HpsMeasure value) {
715        this.sz = value;
716    }
717
718    /**
719     * Gets the value of the szCs property.
720     *
721     * @return
722     *     possible object is
723     *     {@link HpsMeasure }
724     *     
725     */
726    public HpsMeasure getSzCs() {
727        return szCs;
728    }
729
730    /**
731     * Sets the value of the szCs property.
732     *
733     * @param value
734     *     allowed object is
735     *     {@link HpsMeasure }
736     *     
737     */
738    public void setSzCs(HpsMeasure value) {
739        this.szCs = value;
740    }
741
742    /**
743     * Gets the value of the highlight property.
744     *
745     * @return
746     *     possible object is
747     *     {@link Highlight }
748     *     
749     */
750    public Highlight getHighlight() {
751        return highlight;
752    }
753
754    /**
755     * Sets the value of the highlight property.
756     *
757     * @param value
758     *     allowed object is
759     *     {@link Highlight }
760     *     
761     */
762    public void setHighlight(Highlight value) {
763        this.highlight = value;
764    }
765
766    /**
767     * Gets the value of the u property.
768     *
769     * @return
770     *     possible object is
771     *     {@link U }
772     *     
773     */
774    public U getU() {
775        return u;
776    }
777
778    /**
779     * Sets the value of the u property.
780     *
781     * @param value
782     *     allowed object is
783     *     {@link U }
784     *     
785     */
786    public void setU(U value) {
787        this.u = value;
788    }
789
790    /**
791     * Gets the value of the effect property.
792     *
793     * @return
794     *     possible object is
795     *     {@link CTTextEffect }
796     *     
797     */
798    public CTTextEffect getEffect() {
799        return effect;
800    }
801
802    /**
803     * Sets the value of the effect property.
804     *
805     * @param value
806     *     allowed object is
807     *     {@link CTTextEffect }
808     *     
809     */
810    public void setEffect(CTTextEffect value) {
811        this.effect = value;
812    }
813
814    /**
815     * Gets the value of the bdr property.
816     *
817     * @return
818     *     possible object is
819     *     {@link CTBorder }
820     *     
821     */
822    public CTBorder getBdr() {
823        return bdr;
824    }
825
826    /**
827     * Sets the value of the bdr property.
828     *
829     * @param value
830     *     allowed object is
831     *     {@link CTBorder }
832     *     
833     */
834    public void setBdr(CTBorder value) {
835        this.bdr = value;
836    }
837
838    /**
839     * Gets the value of the shd property.
840     *
841     * @return
842     *     possible object is
843     *     {@link CTShd }
844     *     
845     */
846    public CTShd getShd() {
847        return shd;
848    }
849
850    /**
851     * Sets the value of the shd property.
852     *
853     * @param value
854     *     allowed object is
855     *     {@link CTShd }
856     *     
857     */
858    public void setShd(CTShd value) {
859        this.shd = value;
860    }
861
862    /**
863     * Gets the value of the fitText property.
864     *
865     * @return
866     *     possible object is
867     *     {@link CTFitText }
868     *     
869     */
870    public CTFitText getFitText() {
871        return fitText;
872    }
873
874    /**
875     * Sets the value of the fitText property.
876     *
877     * @param value
878     *     allowed object is
879     *     {@link CTFitText }
880     *     
881     */
882    public void setFitText(CTFitText value) {
883        this.fitText = value;
884    }
885
886    /**
887     * Gets the value of the vertAlign property.
888     *
889     * @return
890     *     possible object is
891     *     {@link CTVerticalAlignRun }
892     *     
893     */
894    public CTVerticalAlignRun getVertAlign() {
895        return vertAlign;
896    }
897
898    /**
899     * Sets the value of the vertAlign property.
900     *
901     * @param value
902     *     allowed object is
903     *     {@link CTVerticalAlignRun }
904     *     
905     */
906    public void setVertAlign(CTVerticalAlignRun value) {
907        this.vertAlign = value;
908    }
909
910    /**
911     * Gets the value of the rtl property.
912     *
913     * @return
914     *     possible object is
915     *     {@link BooleanDefaultTrue }
916     *     
917     */
918    public BooleanDefaultTrue getRtl() {
919        return rtl;
920    }
921
922    /**
923     * Sets the value of the rtl property.
924     *
925     * @param value
926     *     allowed object is
927     *     {@link BooleanDefaultTrue }
928     *     
929     */
930    public void setRtl(BooleanDefaultTrue value) {
931        this.rtl = value;
932    }
933
934    /**
935     * Gets the value of the cs property.
936     *
937     * @return
938     *     possible object is
939     *     {@link BooleanDefaultTrue }
940     *     
941     */
942    public BooleanDefaultTrue getCs() {
943        return cs;
944    }
945
946    /**
947     * Sets the value of the cs property.
948     *
949     * @param value
950     *     allowed object is
951     *     {@link BooleanDefaultTrue }
952     *     
953     */
954    public void setCs(BooleanDefaultTrue value) {
955        this.cs = value;
956    }
957
958    /**
959     * Gets the value of the em property.
960     *
961     * @return
962     *     possible object is
963     *     {@link CTEm }
964     *     
965     */
966    public CTEm getEm() {
967        return em;
968    }
969
970    /**
971     * Sets the value of the em property.
972     *
973     * @param value
974     *     allowed object is
975     *     {@link CTEm }
976     *     
977     */
978    public void setEm(CTEm value) {
979        this.em = value;
980    }
981
982    /**
983     * Gets the value of the lang property.
984     *
985     * @return
986     *     possible object is
987     *     {@link CTLanguage }
988     *     
989     */
990    public CTLanguage getLang() {
991        return lang;
992    }
993
994    /**
995     * Sets the value of the lang property.
996     *
997     * @param value
998     *     allowed object is
999     *     {@link CTLanguage }
1000     *     
1001     */
1002    public void setLang(CTLanguage value) {
1003        this.lang = value;
1004    }
1005
1006    /**
1007     * Gets the value of the eastAsianLayout property.
1008     *
1009     * @return
1010     *     possible object is
1011     *     {@link CTEastAsianLayout }
1012     *     
1013     */
1014    public CTEastAsianLayout getEastAsianLayout() {
1015        return eastAsianLayout;
1016    }
1017
1018    /**
1019     * Sets the value of the eastAsianLayout property.
1020     *
1021     * @param value
1022     *     allowed object is
1023     *     {@link CTEastAsianLayout }
1024     *     
1025     */
1026    public void setEastAsianLayout(CTEastAsianLayout value) {
1027        this.eastAsianLayout = value;
1028    }
1029
1030    /**
1031     * Gets the value of the specVanish property.
1032     *
1033     * @return
1034     *     possible object is
1035     *     {@link BooleanDefaultTrue }
1036     *     
1037     */
1038    public BooleanDefaultTrue getSpecVanish() {
1039        return specVanish;
1040    }
1041
1042    /**
1043     * Sets the value of the specVanish property.
1044     *
1045     * @param value
1046     *     allowed object is
1047     *     {@link BooleanDefaultTrue }
1048     *     
1049     */
1050    public void setSpecVanish(BooleanDefaultTrue value) {
1051        this.specVanish = value;
1052    }
1053
1054    /**
1055     * Gets the value of the oMath property.
1056     *
1057     * @return
1058     *     possible object is
1059     *     {@link BooleanDefaultTrue }
1060     *     
1061     */
1062    public BooleanDefaultTrue getOMath() {
1063        return oMath;
1064    }
1065
1066    /**
1067     * Sets the value of the oMath property.
1068     *
1069     * @param value
1070     *     allowed object is
1071     *     {@link BooleanDefaultTrue }
1072     *     
1073     */
1074    public void setOMath(BooleanDefaultTrue value) {
1075        this.oMath = value;
1076    }
1077
1078    /**
1079     * Gets the value of the rPrChange property.
1080     *
1081     * @return
1082     *     possible object is
1083     *     {@link CTRPrChange }
1084     *     
1085     */
1086    public CTRPrChange getRPrChange() {
1087        return rPrChange;
1088    }
1089
1090    /**
1091     * Sets the value of the rPrChange property.
1092     *
1093     * @param value
1094     *     allowed object is
1095     *     {@link CTRPrChange }
1096     *     
1097     */
1098    public void setRPrChange(CTRPrChange value) {
1099        this.rPrChange = value;
1100    }
1101
1102    /**
1103     * Gets the parent object in the object tree representing the unmarshalled xml document.
1104     *
1105     * @return
1106     *     The parent object.
1107     */
1108    public Object getParent() {
1109        return this.parent;
1110    }
1111
1112    public void setParent(Object parent) {
1113        this.parent = parent;
1114    }
1115
1116    /**
1117     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
1118     *
1119     * @param parent
1120     *     The parent object in the object tree.
1121     * @param unmarshaller
1122     *     The unmarshaller that generated the instance.
1123     */
1124    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
1125        setParent(parent);
1126    }
1127
1128}
Note: See TracBrowser for help on using the repository browser.