1 19 20 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 MODULE = "Module"; public static final String SECURITY_ROLE = "SecurityRole"; 35 public static final String PROPERTY_VERSION="dd_version"; public static final String VERSION_1_3="1.3"; public static final String VERSION_1_4="1.4"; public static final String VERSION_5="5"; 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 PROPERTY_STATUS="dd_status"; 44 48 public java.math.BigDecimal getVersion(); 49 53 public org.xml.sax.SAXParseException getError(); 54 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 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 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 |