KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ws > jaxme > xs > jaxb > JAXBProperty


1 /*
2  * Copyright 2003, 2004 The Apache Software Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15
16  */

17 package org.apache.ws.jaxme.xs.jaxb;
18
19 import org.apache.ws.jaxme.xs.xml.XsObject;
20
21
22 /** <p>This interface implements the JAXB property bindings.</p>
23  *
24  * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
25  * @version $Id: JAXBProperty.java,v 1.2 2004/02/16 23:39:50 jochen Exp $
26  */

27 public interface JAXBProperty extends XsObject {
28   public interface BaseType extends XsObject {
29     /** <p>Returns the Java type.</p>
30      */

31     public JAXBJavaType getJavaType();
32   }
33
34   /** <p>Returns the property name.</p>
35    */

36   public String JavaDoc getName();
37
38   /** <p>Returns the collection type; either of "indexed"
39    * or an implementation of <code>java.util.List</code>.
40    * The value null indicates, that the attribute has not
41    * been set.</p>
42    */

43   public String JavaDoc getCollectionType();
44
45   /** <p>Returns whether fixed attributes are implemented as a
46    * constant property. The value null indicates, that the
47    * attribute has not been set.</p>
48    */

49   public Boolean JavaDoc isFixedAttributeAsConstantProperty();
50
51   /** <p>Returns whether a <code>isSet()</code> method is being
52    * generated. The value null indicates, that the attribute
53    * has not been set.</p>
54    */

55   public Boolean JavaDoc isGenerateIsSetMethod();
56
57   /** <p>Returns whether FailFastCheck is enabled. The value null
58    * indicates, that the attribute has not been set.</p>
59    */

60   public Boolean JavaDoc isEnableFailFastCheck();
61
62   /** <p>Returns the getter methods JavaDoc documentation.</p>
63    */

64   public JAXBJavadoc getJavadoc();
65
66   /** <p>Returns the base type.</p>
67    */

68   public BaseType getBaseType();
69 }
70
Popular Tags