1 19 20 package org.netbeans.modules.j2ee.persistence.api.metadata.orm; 21 22 public interface EntityMappings { 23 24 public void setVersion(String value); 25 26 public String getVersion(); 27 28 public void setDescription(String value); 29 30 public String getDescription(); 31 32 public void setPersistenceUnitMetadata(PersistenceUnitMetadata value); 33 34 public PersistenceUnitMetadata getPersistenceUnitMetadata(); 35 36 public PersistenceUnitMetadata newPersistenceUnitMetadata(); 37 38 public void setPackage(String value); 39 40 public String getPackage(); 41 42 public void setSchema(String value); 43 44 public String getSchema(); 45 46 public void setCatalog(String value); 47 48 public String getCatalog(); 49 50 public void setAccess(String value); 51 52 public String getAccess(); 53 54 public void setSequenceGenerator(int index, SequenceGenerator value); 55 56 public SequenceGenerator getSequenceGenerator(int index); 57 58 public int sizeSequenceGenerator(); 59 60 public void setSequenceGenerator(SequenceGenerator[] value); 61 62 public SequenceGenerator[] getSequenceGenerator(); 63 64 public int addSequenceGenerator(SequenceGenerator value); 65 66 public int removeSequenceGenerator(SequenceGenerator value); 67 68 public SequenceGenerator newSequenceGenerator(); 69 70 public void setTableGenerator(int index, TableGenerator value); 71 72 public TableGenerator getTableGenerator(int index); 73 74 public int sizeTableGenerator(); 75 76 public void setTableGenerator(TableGenerator[] value); 77 78 public TableGenerator[] getTableGenerator(); 79 80 public int addTableGenerator(TableGenerator value); 81 82 public int removeTableGenerator(TableGenerator value); 83 84 public TableGenerator newTableGenerator(); 85 86 public void setNamedQuery(int index, NamedQuery value); 87 88 public NamedQuery getNamedQuery(int index); 89 90 public int sizeNamedQuery(); 91 92 public void setNamedQuery(NamedQuery[] value); 93 94 public NamedQuery[] getNamedQuery(); 95 96 public int addNamedQuery(NamedQuery value); 97 98 public int removeNamedQuery(NamedQuery value); 99 100 public NamedQuery newNamedQuery(); 101 102 public void setNamedNativeQuery(int index, NamedNativeQuery value); 103 104 public NamedNativeQuery getNamedNativeQuery(int index); 105 106 public int sizeNamedNativeQuery(); 107 108 public void setNamedNativeQuery(NamedNativeQuery[] value); 109 110 public NamedNativeQuery[] getNamedNativeQuery(); 111 112 public int addNamedNativeQuery(NamedNativeQuery value); 113 114 public int removeNamedNativeQuery(NamedNativeQuery value); 115 116 public NamedNativeQuery newNamedNativeQuery(); 117 118 public void setSqlResultSetMapping(int index, SqlResultSetMapping value); 119 120 public SqlResultSetMapping getSqlResultSetMapping(int index); 121 122 public int sizeSqlResultSetMapping(); 123 124 public void setSqlResultSetMapping(SqlResultSetMapping[] value); 125 126 public SqlResultSetMapping[] getSqlResultSetMapping(); 127 128 public int addSqlResultSetMapping(SqlResultSetMapping value); 129 130 public int removeSqlResultSetMapping(SqlResultSetMapping value); 131 132 public SqlResultSetMapping newSqlResultSetMapping(); 133 134 public void setMappedSuperclass(int index, MappedSuperclass value); 135 136 public MappedSuperclass getMappedSuperclass(int index); 137 138 public int sizeMappedSuperclass(); 139 140 public void setMappedSuperclass(MappedSuperclass[] value); 141 142 public MappedSuperclass[] getMappedSuperclass(); 143 144 public int addMappedSuperclass(MappedSuperclass value); 145 146 public int removeMappedSuperclass(MappedSuperclass value); 147 148 public MappedSuperclass newMappedSuperclass(); 149 150 public void setEntity(int index, Entity value); 151 152 public Entity getEntity(int index); 153 154 public int sizeEntity(); 155 156 public void setEntity(Entity[] value); 157 158 public Entity[] getEntity(); 159 160 public int addEntity(Entity value); 161 162 public int removeEntity(Entity value); 163 164 public Entity newEntity(); 165 166 public void setEmbeddable(int index, Embeddable value); 167 168 public Embeddable getEmbeddable(int index); 169 170 public int sizeEmbeddable(); 171 172 public void setEmbeddable(Embeddable[] value); 173 174 public Embeddable[] getEmbeddable(); 175 176 public int addEmbeddable(Embeddable value); 177 178 public int removeEmbeddable(Embeddable value); 179 180 public Embeddable newEmbeddable(); 181 182 } 183 | Popular Tags |