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

Revision 1041, 3.4 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_HSLEffect 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_HSLEffect">
37 *   &lt;complexContent>
38 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
39 *       &lt;attribute name="hue" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_PositiveFixedAngle" default="0" />
40 *       &lt;attribute name="sat" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_FixedPercentage" default="0" />
41 *       &lt;attribute name="lum" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_FixedPercentage" default="0" />
42 *     &lt;/restriction>
43 *   &lt;/complexContent>
44 * &lt;/complexType>
45 * </pre>
46 *
47 *
48 */
49@XmlAccessorType(XmlAccessType.FIELD)
50@XmlType(name = "CT_HSLEffect")
51public class CTHSLEffect {
52
53    @XmlAttribute
54    protected Integer hue;
55    @XmlAttribute
56    protected Integer sat;
57    @XmlAttribute
58    protected Integer lum;
59
60    /**
61     * Gets the value of the hue property.
62     *
63     * @return
64     *     possible object is
65     *     {@link Integer }
66     *     
67     */
68    public int getHue() {
69        if (hue == null) {
70            return  0;
71        } else {
72            return hue;
73        }
74    }
75
76    /**
77     * Sets the value of the hue property.
78     *
79     * @param value
80     *     allowed object is
81     *     {@link Integer }
82     *     
83     */
84    public void setHue(Integer value) {
85        this.hue = value;
86    }
87
88    /**
89     * Gets the value of the sat property.
90     *
91     * @return
92     *     possible object is
93     *     {@link Integer }
94     *     
95     */
96    public int getSat() {
97        if (sat == null) {
98            return  0;
99        } else {
100            return sat;
101        }
102    }
103
104    /**
105     * Sets the value of the sat property.
106     *
107     * @param value
108     *     allowed object is
109     *     {@link Integer }
110     *     
111     */
112    public void setSat(Integer value) {
113        this.sat = value;
114    }
115
116    /**
117     * Gets the value of the lum property.
118     *
119     * @return
120     *     possible object is
121     *     {@link Integer }
122     *     
123     */
124    public int getLum() {
125        if (lum == null) {
126            return  0;
127        } else {
128            return lum;
129        }
130    }
131
132    /**
133     * Sets the value of the lum property.
134     *
135     * @param value
136     *     allowed object is
137     *     {@link Integer }
138     *     
139     */
140    public void setLum(Integer value) {
141        this.lum = value;
142    }
143
144}
Note: See TracBrowser for help on using the repository browser.