1 19 24 25 package org.netbeans.modules.j2ee.sun.dd.api.app; 26 27 import org.netbeans.modules.j2ee.sun.dd.api.common.SecurityRoleMapping; 28 29 public interface SunApplication extends org.netbeans.modules.j2ee.sun.dd.api.RootInterface { 30 31 public static final String VERSION_5_0_0 = "5.00"; public static final String VERSION_1_4_0 = "1.40"; public static final String VERSION_1_3_0 = "1.30"; 35 public static final String WEB = "Web"; public static final String PASS_BY_REFERENCE = "PassByReference"; public static final String UNIQUE_ID = "UniqueId"; public static final String SECURITY_ROLE_MAPPING = "SecurityRoleMapping"; public static final String REALM = "Realm"; 41 public void setWeb(int index, Web value); 42 public Web getWeb(int index); 43 public int sizeWeb(); 44 public void setWeb(Web[] value); 45 public Web[] getWeb(); 46 public int addWeb(org.netbeans.modules.j2ee.sun.dd.api.app.Web value); 47 public int removeWeb(org.netbeans.modules.j2ee.sun.dd.api.app.Web value); 48 public Web newWeb(); 49 50 53 public void setPassByReference(String value); 54 57 public String getPassByReference(); 58 61 public void setUniqueId(String value); 62 65 public String getUniqueId(); 66 67 public void setSecurityRoleMapping(int index, SecurityRoleMapping value); 68 public SecurityRoleMapping getSecurityRoleMapping(int index); 69 public int sizeSecurityRoleMapping(); 70 public void setSecurityRoleMapping(SecurityRoleMapping[] value); 71 public SecurityRoleMapping[] getSecurityRoleMapping(); 72 public int addSecurityRoleMapping(SecurityRoleMapping value); 73 public int removeSecurityRoleMapping(SecurityRoleMapping value); 74 public SecurityRoleMapping newSecurityRoleMapping(); 75 76 79 public void setRealm(String value); 80 83 public String getRealm(); 84 85 } 86 | Popular Tags |