source: trunk/docx4j/src/main/java/org/docx4j/dml/CTCustomColor.java @ 1041

Revision 1041, 5.3 KB checked in by jharrop, 2 years ago (diff)

More complete DML, generated from TC45 1.0 final, using dmlROOT.xsd

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
21
22package org.docx4j.dml;
23
24import javax.xml.bind.annotation.XmlAccessType;
25import javax.xml.bind.annotation.XmlAccessorType;
26import javax.xml.bind.annotation.XmlAttribute;
27import javax.xml.bind.annotation.XmlType;
28
29
30/**
31 * <p>Java class for CT_CustomColor complex type.
32 *
33 * <p>The following schema fragment specifies the expected content contained within this class.
34 *
35 * <pre>
36 * &lt;complexType name="CT_CustomColor">
37 *   &lt;complexContent>
38 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
39 *       &lt;sequence>
40 *         &lt;group ref="{http://schemas.openxmlformats.org/drawingml/2006/main}EG_ColorChoice"/>
41 *       &lt;/sequence>
42 *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
43 *     &lt;/restriction>
44 *   &lt;/complexContent>
45 * &lt;/complexType>
46 * </pre>
47 *
48 *
49 */
50@XmlAccessorType(XmlAccessType.FIELD)
51@XmlType(name = "CT_CustomColor", propOrder = {
52    "scrgbClr",
53    "srgbClr",
54    "hslClr",
55    "sysClr",
56    "schemeClr",
57    "prstClr"
58})
59public class CTCustomColor {
60
61    protected CTScRgbColor scrgbClr;
62    protected CTSRgbColor srgbClr;
63    protected CTHslColor hslClr;
64    protected CTSystemColor sysClr;
65    protected CTSchemeColor schemeClr;
66    protected CTPresetColor prstClr;
67    @XmlAttribute
68    protected String name;
69
70    /**
71     * Gets the value of the scrgbClr property.
72     *
73     * @return
74     *     possible object is
75     *     {@link CTScRgbColor }
76     *     
77     */
78    public CTScRgbColor getScrgbClr() {
79        return scrgbClr;
80    }
81
82    /**
83     * Sets the value of the scrgbClr property.
84     *
85     * @param value
86     *     allowed object is
87     *     {@link CTScRgbColor }
88     *     
89     */
90    public void setScrgbClr(CTScRgbColor value) {
91        this.scrgbClr = value;
92    }
93
94    /**
95     * Gets the value of the srgbClr property.
96     *
97     * @return
98     *     possible object is
99     *     {@link CTSRgbColor }
100     *     
101     */
102    public CTSRgbColor getSrgbClr() {
103        return srgbClr;
104    }
105
106    /**
107     * Sets the value of the srgbClr property.
108     *
109     * @param value
110     *     allowed object is
111     *     {@link CTSRgbColor }
112     *     
113     */
114    public void setSrgbClr(CTSRgbColor value) {
115        this.srgbClr = value;
116    }
117
118    /**
119     * Gets the value of the hslClr property.
120     *
121     * @return
122     *     possible object is
123     *     {@link CTHslColor }
124     *     
125     */
126    public CTHslColor getHslClr() {
127        return hslClr;
128    }
129
130    /**
131     * Sets the value of the hslClr property.
132     *
133     * @param value
134     *     allowed object is
135     *     {@link CTHslColor }
136     *     
137     */
138    public void setHslClr(CTHslColor value) {
139        this.hslClr = value;
140    }
141
142    /**
143     * Gets the value of the sysClr property.
144     *
145     * @return
146     *     possible object is
147     *     {@link CTSystemColor }
148     *     
149     */
150    public CTSystemColor getSysClr() {
151        return sysClr;
152    }
153
154    /**
155     * Sets the value of the sysClr property.
156     *
157     * @param value
158     *     allowed object is
159     *     {@link CTSystemColor }
160     *     
161     */
162    public void setSysClr(CTSystemColor value) {
163        this.sysClr = value;
164    }
165
166    /**
167     * Gets the value of the schemeClr property.
168     *
169     * @return
170     *     possible object is
171     *     {@link CTSchemeColor }
172     *     
173     */
174    public CTSchemeColor getSchemeClr() {
175        return schemeClr;
176    }
177
178    /**
179     * Sets the value of the schemeClr property.
180     *
181     * @param value
182     *     allowed object is
183     *     {@link CTSchemeColor }
184     *     
185     */
186    public void setSchemeClr(CTSchemeColor value) {
187        this.schemeClr = value;
188    }
189
190    /**
191     * Gets the value of the prstClr property.
192     *
193     * @return
194     *     possible object is
195     *     {@link CTPresetColor }
196     *     
197     */
198    public CTPresetColor getPrstClr() {
199        return prstClr;
200    }
201
202    /**
203     * Sets the value of the prstClr property.
204     *
205     * @param value
206     *     allowed object is
207     *     {@link CTPresetColor }
208     *     
209     */
210    public void setPrstClr(CTPresetColor value) {
211        this.prstClr = value;
212    }
213
214    /**
215     * Gets the value of the name property.
216     *
217     * @return
218     *     possible object is
219     *     {@link String }
220     *     
221     */
222    public String getName() {
223        if (name == null) {
224            return "";
225        } else {
226            return name;
227        }
228    }
229
230    /**
231     * Sets the value of the name property.
232     *
233     * @param value
234     *     allowed object is
235     *     {@link String }
236     *     
237     */
238    public void setName(String value) {
239        this.name = value;
240    }
241
242}
Note: See TracBrowser for help on using the repository browser.