1 19 20 package org.netbeans.modules.j2ee.persistence.api.metadata.orm; 21 22 public interface Entity { 23 24 public void setName(String value); 25 26 public String getName(); 27 28 public void setClass2(String value); 29 30 public String getClass2(); 31 32 public void setAccess(String value); 33 34 public String getAccess(); 35 36 public void setMetadataComplete(boolean value); 37 38 public boolean isMetadataComplete(); 39 40 public void setDescription(String value); 41 42 public String getDescription(); 43 44 public void setTable(Table value); 45 46 public Table getTable(); 47 48 public Table newTable(); 49 50 public void setSecondaryTable(int index, SecondaryTable value); 51 52 public SecondaryTable getSecondaryTable(int index); 53 54 public int sizeSecondaryTable(); 55 56 public void setSecondaryTable(SecondaryTable[] value); 57 58 public SecondaryTable[] getSecondaryTable(); 59 60 public int addSecondaryTable(SecondaryTable value); 61 62 public int removeSecondaryTable(SecondaryTable value); 63 64 public SecondaryTable newSecondaryTable(); 65 66 public void setPrimaryKeyJoinColumn(int index, PrimaryKeyJoinColumn value); 67 68 public PrimaryKeyJoinColumn getPrimaryKeyJoinColumn(int index); 69 70 public int sizePrimaryKeyJoinColumn(); 71 72 public void setPrimaryKeyJoinColumn(PrimaryKeyJoinColumn[] value); 73 74 public PrimaryKeyJoinColumn[] getPrimaryKeyJoinColumn(); 75 76 public int addPrimaryKeyJoinColumn(PrimaryKeyJoinColumn value); 77 78 public int removePrimaryKeyJoinColumn(PrimaryKeyJoinColumn value); 79 80 public PrimaryKeyJoinColumn newPrimaryKeyJoinColumn(); 81 82 public void setIdClass(IdClass value); 83 84 public IdClass getIdClass(); 85 86 public IdClass newIdClass(); 87 88 public void setInheritance(Inheritance value); 89 90 public Inheritance getInheritance(); 91 92 public Inheritance newInheritance(); 93 94 public void setDiscriminatorValue(String value); 95 96 public String getDiscriminatorValue(); 97 98 public void setDiscriminatorColumn(DiscriminatorColumn value); 99 100 public DiscriminatorColumn getDiscriminatorColumn(); 101 102 public DiscriminatorColumn newDiscriminatorColumn(); 103 104 public void setSequenceGenerator(SequenceGenerator value); 105 106 public SequenceGenerator getSequenceGenerator(); 107 108 public SequenceGenerator newSequenceGenerator(); 109 110 public void setTableGenerator(TableGenerator value); 111 112 public TableGenerator getTableGenerator(); 113 114 public TableGenerator newTableGenerator(); 115 116 public void setNamedQuery(int index, NamedQuery value); 117 118 public NamedQuery getNamedQuery(int index); 119 120 public int sizeNamedQuery(); 121 122 public void setNamedQuery(NamedQuery[] value); 123 124 public NamedQuery[] getNamedQuery(); 125 126 public int addNamedQuery(NamedQuery value); 127 128 public int removeNamedQuery(NamedQuery value); 129 130 public NamedQuery newNamedQuery(); 131 132 public void setNamedNativeQuery(int index, NamedNativeQuery value); 133 134 public NamedNativeQuery getNamedNativeQuery(int index); 135 136 public int sizeNamedNativeQuery(); 137 138 public void setNamedNativeQuery(NamedNativeQuery[] value); 139 140 public NamedNativeQuery[] getNamedNativeQuery(); 141 142 public int addNamedNativeQuery(NamedNativeQuery value); 143 144 public int removeNamedNativeQuery(NamedNativeQuery value); 145 146 public NamedNativeQuery newNamedNativeQuery(); 147 148 public void setSqlResultSetMapping(int index, SqlResultSetMapping value); 149 150 public SqlResultSetMapping getSqlResultSetMapping(int index); 151 152 public int sizeSqlResultSetMapping(); 153 154 public void setSqlResultSetMapping(SqlResultSetMapping[] value); 155 156 public SqlResultSetMapping[] getSqlResultSetMapping(); 157 158 public int addSqlResultSetMapping(SqlResultSetMapping value); 159 160 public int removeSqlResultSetMapping(SqlResultSetMapping value); 161 162 public SqlResultSetMapping newSqlResultSetMapping(); 163 164 public void setExcludeDefaultListeners(EmptyType value); 165 166 public EmptyType getExcludeDefaultListeners(); 167 168 public EmptyType newEmptyType(); 169 170 public void setExcludeSuperclassListeners(EmptyType value); 171 172 public EmptyType getExcludeSuperclassListeners(); 173 174 public void setEntityListeners(EntityListeners value); 175 176 public EntityListeners getEntityListeners(); 177 178 public EntityListeners newEntityListeners(); 179 180 public void setPrePersist(PrePersist value); 181 182 public PrePersist getPrePersist(); 183 184 public PrePersist newPrePersist(); 185 186 public void setPostPersist(PostPersist value); 187 188 public PostPersist getPostPersist(); 189 190 public PostPersist newPostPersist(); 191 192 public void setPreRemove(PreRemove value); 193 194 public PreRemove getPreRemove(); 195 196 public PreRemove newPreRemove(); 197 198 public void setPostRemove(PostRemove value); 199 200 public PostRemove getPostRemove(); 201 202 public PostRemove newPostRemove(); 203 204 public void setPreUpdate(PreUpdate value); 205 206 public PreUpdate getPreUpdate(); 207 208 public PreUpdate newPreUpdate(); 209 210 public void setPostUpdate(PostUpdate value); 211 212 public PostUpdate getPostUpdate(); 213 214 public PostUpdate newPostUpdate(); 215 216 public void setPostLoad(PostLoad value); 217 218 public PostLoad getPostLoad(); 219 220 public PostLoad newPostLoad(); 221 222 public void setAttributeOverride(int index, AttributeOverride value); 223 224 public AttributeOverride getAttributeOverride(int index); 225 226 public int sizeAttributeOverride(); 227 228 public void setAttributeOverride(AttributeOverride[] value); 229 230 public AttributeOverride[] getAttributeOverride(); 231 232 public int addAttributeOverride(AttributeOverride value); 233 234 public int removeAttributeOverride(AttributeOverride value); 235 236 public AttributeOverride newAttributeOverride(); 237 238 public void setAssociationOverride(int index, AssociationOverride value); 239 240 public AssociationOverride getAssociationOverride(int index); 241 242 public int sizeAssociationOverride(); 243 244 public void setAssociationOverride(AssociationOverride[] value); 245 246 public AssociationOverride[] getAssociationOverride(); 247 248 public int addAssociationOverride(AssociationOverride value); 249 250 public int removeAssociationOverride(AssociationOverride value); 251 252 public AssociationOverride newAssociationOverride(); 253 254 public void setAttributes(Attributes value); 255 256 public Attributes getAttributes(); 257 258 public Attributes newAttributes(); 259 260 } 261 | Popular Tags |