1 19 24 25 package org.netbeans.modules.j2ee.sun.dd.api.ejb; 26 27 import org.netbeans.modules.j2ee.sun.dd.api.common.DefaultResourcePrincipal; 28 29 33 public interface CmpResource extends org.netbeans.modules.j2ee.sun.dd.api.CommonDDBean { 34 35 public static final String JNDI_NAME = "JndiName"; public static final String DEFAULT_RESOURCE_PRINCIPAL = "DefaultResourcePrincipal"; public static final String PROPERTY = "PropertyElement"; public static final String CREATE_TABLES_AT_DEPLOY = "CreateTablesAtDeploy"; public static final String DROP_TABLES_AT_UNDEPLOY = "DropTablesAtUndeploy"; public static final String DATABASE_VENDOR_NAME = "DatabaseVendorName"; public static final String SCHEMA_GENERATOR_PROPERTIES = "SchemaGeneratorProperties"; 43 46 public void setJndiName(java.lang.String value); 47 50 public java.lang.String getJndiName(); 51 52 55 public void setDefaultResourcePrincipal(DefaultResourcePrincipal value); 56 59 public DefaultResourcePrincipal getDefaultResourcePrincipal(); 60 61 public DefaultResourcePrincipal newDefaultResourcePrincipal(); 62 63 public PropertyElement[] getPropertyElement(); 64 public PropertyElement getPropertyElement(int index); 65 public void setPropertyElement(PropertyElement[] value); 66 public void setPropertyElement(int index, PropertyElement value); 67 public int addPropertyElement(PropertyElement value); 68 public int removePropertyElement(PropertyElement value); 69 public int sizePropertyElement(); 70 public PropertyElement newPropertyElement(); 71 72 75 public void setCreateTablesAtDeploy(java.lang.String value); 76 79 public java.lang.String getCreateTablesAtDeploy(); 80 81 84 public void setDropTablesAtUndeploy(java.lang.String value); 85 88 public java.lang.String getDropTablesAtUndeploy(); 89 90 93 public void setDatabaseVendorName(java.lang.String value); 94 97 public java.lang.String getDatabaseVendorName(); 98 101 public void setSchemaGeneratorProperties(SchemaGeneratorProperties value); 102 105 public SchemaGeneratorProperties getSchemaGeneratorProperties(); 106 107 public SchemaGeneratorProperties newSchemaGeneratorProperties(); 108 109 } 110 | Popular Tags |