KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > dd > api > application > Application


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 /**
21  * This interface has all of the bean info accessor methods.
22  *
23  * @Generated
24  */

25
26 package org.netbeans.modules.j2ee.dd.api.application;
27
28 import org.netbeans.modules.j2ee.dd.api.common.VersionNotSupportedException;
29
30 public interface Application extends org.netbeans.modules.j2ee.dd.api.common.RootInterface {
31     
32         public static final String JavaDoc MODULE = "Module"; // NOI18N
33
public static final String JavaDoc SECURITY_ROLE = "SecurityRole"; // NOI18N
34

35         public static final String JavaDoc PROPERTY_VERSION="dd_version"; //NOI18N
36
public static final String JavaDoc VERSION_1_3="1.3"; //NOI18N
37
public static final String JavaDoc VERSION_1_4="1.4"; //NOI18N
38
public static final String JavaDoc VERSION_5="5"; //NOI18N
39
public static final int STATE_VALID=0;
40         public static final int STATE_INVALID_PARSABLE=1;
41         public static final int STATE_INVALID_UNPARSABLE=2;
42         public static final String JavaDoc PROPERTY_STATUS="dd_status"; //NOI18N
43

44         //public void setVersion(java.lang.String value);
45
/** Getter for version property.
46          * @return property value
47          */

48         public java.math.BigDecimal JavaDoc getVersion();
49         /** Getter for SAX Parse Error property.
50          * Used when deployment descriptor is in invalid state.
51          * @return property value or null if in valid state
52          */

53         public org.xml.sax.SAXParseException JavaDoc getError();
54         /** Getter for status property.
55          * @return property value
56          */

57         public int getStatus();
58     
59     public void setModule(int index, Module value);
60
61     public Module getModule(int index);
62
63     public int sizeModule();
64
65     public void setModule(Module[] value);
66
67     public Module[] getModule();
68
69     public int addModule(org.netbeans.modules.j2ee.dd.api.application.Module value);
70
71     public int removeModule(org.netbeans.modules.j2ee.dd.api.application.Module value);
72
73     public Module newModule();
74
75     public void setSecurityRole(int index, org.netbeans.modules.j2ee.dd.api.common.SecurityRole value);
76
77     public org.netbeans.modules.j2ee.dd.api.common.SecurityRole getSecurityRole(int index);
78
79     public int sizeSecurityRole();
80
81     public void setSecurityRole(org.netbeans.modules.j2ee.dd.api.common.SecurityRole[] value);
82
83     public org.netbeans.modules.j2ee.dd.api.common.SecurityRole[] getSecurityRole();
84
85     public int addSecurityRole(org.netbeans.modules.j2ee.dd.api.common.SecurityRole value);
86
87     public int removeSecurityRole(org.netbeans.modules.j2ee.dd.api.common.SecurityRole value);
88
89     public org.netbeans.modules.j2ee.dd.api.common.SecurityRole newSecurityRole();
90
91         
92         //1.4
93
public void setIcon(int index, org.netbeans.modules.j2ee.dd.api.common.Icon value) throws VersionNotSupportedException;
94
95     public org.netbeans.modules.j2ee.dd.api.common.Icon getIcon(int index) throws VersionNotSupportedException;
96
97     public int sizeIcon() throws VersionNotSupportedException;
98
99     public void setIcon(org.netbeans.modules.j2ee.dd.api.common.Icon[] value) throws VersionNotSupportedException;
100
101     //public org.netbeans.modules.j2ee.dd.api.common.Icon[] getIcon() throws VersionNotSupportedException;
102

103     public int addIcon(org.netbeans.modules.j2ee.dd.api.common.Icon value) throws VersionNotSupportedException;
104
105     public int removeIcon(org.netbeans.modules.j2ee.dd.api.common.Icon value) throws VersionNotSupportedException;
106
107     public org.netbeans.modules.j2ee.dd.api.common.Icon newIcon();
108
109 }
110
111
Popular Tags