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

Revision 1041, 2.7 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_TintEffect 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_TintEffect">
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="amt" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_FixedPercentage" default="0" />
41 *     &lt;/restriction>
42 *   &lt;/complexContent>
43 * &lt;/complexType>
44 * </pre>
45 *
46 *
47 */
48@XmlAccessorType(XmlAccessType.FIELD)
49@XmlType(name = "CT_TintEffect")
50public class CTTintEffect {
51
52    @XmlAttribute
53    protected Integer hue;
54    @XmlAttribute
55    protected Integer amt;
56
57    /**
58     * Gets the value of the hue property.
59     *
60     * @return
61     *     possible object is
62     *     {@link Integer }
63     *     
64     */
65    public int getHue() {
66        if (hue == null) {
67            return  0;
68        } else {
69            return hue;
70        }
71    }
72
73    /**
74     * Sets the value of the hue property.
75     *
76     * @param value
77     *     allowed object is
78     *     {@link Integer }
79     *     
80     */
81    public void setHue(Integer value) {
82        this.hue = value;
83    }
84
85    /**
86     * Gets the value of the amt property.
87     *
88     * @return
89     *     possible object is
90     *     {@link Integer }
91     *     
92     */
93    public int getAmt() {
94        if (amt == null) {
95            return  0;
96        } else {
97            return amt;
98        }
99    }
100
101    /**
102     * Sets the value of the amt property.
103     *
104     * @param value
105     *     allowed object is
106     *     {@link Integer }
107     *     
108     */
109    public void setAmt(Integer value) {
110        this.amt = value;
111    }
112
113}
Note: See TracBrowser for help on using the repository browser.