1 19 20 package org.netbeans.modules.j2ee.persistence.api.metadata.orm; 21 22 public interface Attributes { 23 24 public void setId(int index, Id value); 25 26 public Id getId(int index); 27 28 public int sizeId(); 29 30 public void setId(Id[] value); 31 32 public Id[] getId(); 33 34 public int addId(Id value); 35 36 public int removeId(Id value); 37 38 public Id newId(); 39 40 public void setEmbeddedId(EmbeddedId value); 41 42 public EmbeddedId getEmbeddedId(); 43 44 public EmbeddedId newEmbeddedId(); 45 46 public void setBasic(int index, Basic value); 47 48 public Basic getBasic(int index); 49 50 public int sizeBasic(); 51 52 public void setBasic(Basic[] value); 53 54 public Basic[] getBasic(); 55 56 public int addBasic(Basic value); 57 58 public int removeBasic(Basic value); 59 60 public Basic newBasic(); 61 62 public void setVersion(int index, Version value); 63 64 public Version getVersion(int index); 65 66 public int sizeVersion(); 67 68 public void setVersion(Version[] value); 69 70 public Version[] getVersion(); 71 72 public int addVersion(Version value); 73 74 public int removeVersion(Version value); 75 76 public Version newVersion(); 77 78 public void setManyToOne(int index, ManyToOne value); 79 80 public ManyToOne getManyToOne(int index); 81 82 public int sizeManyToOne(); 83 84 public void setManyToOne(ManyToOne[] value); 85 86 public ManyToOne[] getManyToOne(); 87 88 public int addManyToOne(ManyToOne value); 89 90 public int removeManyToOne(ManyToOne value); 91 92 public ManyToOne newManyToOne(); 93 94 public void setOneToMany(int index, OneToMany value); 95 96 public OneToMany getOneToMany(int index); 97 98 public int sizeOneToMany(); 99 100 public void setOneToMany(OneToMany[] value); 101 102 public OneToMany[] getOneToMany(); 103 104 public int addOneToMany(OneToMany value); 105 106 public int removeOneToMany(OneToMany value); 107 108 public OneToMany newOneToMany(); 109 110 public void setOneToOne(int index, OneToOne value); 111 112 public OneToOne getOneToOne(int index); 113 114 public int sizeOneToOne(); 115 116 public void setOneToOne(OneToOne[] value); 117 118 public OneToOne[] getOneToOne(); 119 120 public int addOneToOne(OneToOne value); 121 122 public int removeOneToOne(OneToOne value); 123 124 public OneToOne newOneToOne(); 125 126 public void setManyToMany(int index, ManyToMany value); 127 128 public ManyToMany getManyToMany(int index); 129 130 public int sizeManyToMany(); 131 132 public void setManyToMany(ManyToMany[] value); 133 134 public ManyToMany[] getManyToMany(); 135 136 public int addManyToMany(ManyToMany value); 137 138 public int removeManyToMany(ManyToMany value); 139 140 public ManyToMany newManyToMany(); 141 142 public void setEmbedded(int index, Embedded value); 143 144 public Embedded getEmbedded(int index); 145 146 public int sizeEmbedded(); 147 148 public void setEmbedded(Embedded[] value); 149 150 public Embedded[] getEmbedded(); 151 152 public int addEmbedded(Embedded value); 153 154 public int removeEmbedded(Embedded value); 155 156 public Embedded newEmbedded(); 157 158 public void setTransient(int index, Transient value); 159 160 public Transient getTransient(int index); 161 162 public int sizeTransient(); 163 164 public void setTransient(Transient[] value); 165 166 public Transient[] getTransient(); 167 168 public int addTransient(Transient value); 169 170 public int removeTransient(Transient value); 171 172 public Transient newTransient(); 173 174 } 175 | Popular Tags |