KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > xb > binding > metadata > XsdAppInfo


1 /*
2   * JBoss, Home of Professional Open Source
3   * Copyright 2005, JBoss Inc., and individual contributors as indicated
4   * by the @authors tag. See the copyright.txt in the distribution for a
5   * full listing of individual contributors.
6   *
7   * This is free software; you can redistribute it and/or modify it
8   * under the terms of the GNU Lesser General Public License as
9   * published by the Free Software Foundation; either version 2.1 of
10   * the License, or (at your option) any later version.
11   *
12   * This software is distributed in the hope that it will be useful,
13   * but WITHOUT ANY WARRANTY; without even the implied warranty of
14   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15   * Lesser General Public License for more details.
16   *
17   * You should have received a copy of the GNU Lesser General Public
18   * License along with this software; if not, write to the Free
19   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21   */

22 package org.jboss.xb.binding.metadata;
23
24 import javax.xml.namespace.QName JavaDoc;
25
26 import org.jboss.xb.binding.Constants;
27
28 /**
29  * @author <a HREF="mailto:alex@jboss.org">Alexey Loubyansky</a>
30  * @version <tt>$Revision: 1958 $</tt>
31  */

32 public class XsdAppInfo
33    extends XsdElement
34 {
35    static final QName JavaDoc QNAME = new QName JavaDoc(Constants.NS_XML_SCHEMA, "appinfo");
36
37    private SchemaMetaData schemaMetaData;
38    private ClassMetaData classMetaData;
39    private PropertyMetaData propertyMetaData;
40    private MapEntryMetaData mapEntryMetaData;
41    private PutMethodMetaData putMethodMetaData;
42    private AddMethodMetaData addMethodMetaData;
43    private ValueMetaData valueMetaData;
44    private CharactersMetaData charactersMetaData;
45    private boolean mapEntryKey;
46    private boolean mapEntryValue;
47    private boolean skip;
48
49    public XsdAppInfo()
50    {
51       super(QNAME);
52    }
53
54    public SchemaMetaData getSchemaMetaData()
55    {
56       return schemaMetaData;
57    }
58
59    public void setSchemaMetaData(SchemaMetaData schema)
60    {
61       this.schemaMetaData = schema;
62    }
63
64    public ClassMetaData getClassMetaData()
65    {
66       return classMetaData;
67    }
68
69    public void setClassMetaData(ClassMetaData classMetaData)
70    {
71       this.classMetaData = classMetaData;
72    }
73
74    public PropertyMetaData getPropertyMetaData()
75    {
76       return propertyMetaData;
77    }
78
79    public void setPropertyMetaData(PropertyMetaData propertyMetaData)
80    {
81       this.propertyMetaData = propertyMetaData;
82    }
83
84    public MapEntryMetaData getMapEntryMetaData()
85    {
86       return mapEntryMetaData;
87    }
88
89    public void setMapEntryMetaData(MapEntryMetaData mapEntryMetaData)
90    {
91       this.mapEntryMetaData = mapEntryMetaData;
92    }
93
94    public ValueMetaData getValueMetaData()
95    {
96       return valueMetaData;
97    }
98
99    public void setValueMetaData(ValueMetaData valueMetaData)
100    {
101       this.valueMetaData = valueMetaData;
102    }
103
104    public boolean isMapEntryKey()
105    {
106       return mapEntryKey;
107    }
108
109    public void setMapEntryKey(boolean mapEntryKey)
110    {
111       this.mapEntryKey = mapEntryKey;
112    }
113
114    public boolean isMapEntryValue()
115    {
116       return mapEntryValue;
117    }
118
119    public void setMapEntryValue(boolean mapEntryValue)
120    {
121       this.mapEntryValue = mapEntryValue;
122    }
123
124    public PutMethodMetaData getPutMethodMetaData()
125    {
126       return putMethodMetaData;
127    }
128
129    public void setPutMethodMetaData(PutMethodMetaData putMethodMetaData)
130    {
131       this.putMethodMetaData = putMethodMetaData;
132    }
133
134    public void setAddMethodMetaData(AddMethodMetaData addMethod)
135    {
136       this.addMethodMetaData = addMethod;
137    }
138
139    public AddMethodMetaData getAddMethodMetaData()
140    {
141       return addMethodMetaData;
142    }
143
144    public boolean isSkip()
145    {
146       return skip;
147    }
148
149    public void setSkip(boolean skip)
150    {
151       this.skip = skip;
152    }
153
154    public CharactersMetaData getCharactersMetaData()
155    {
156       return charactersMetaData;
157    }
158
159    public void setCharactersMetaData(CharactersMetaData charactersMetaData)
160    {
161       this.charactersMetaData = charactersMetaData;
162    }
163 }
164
Popular Tags