1 17 18 package org.sape.carbon.core.util.reflection.test; 19 20 import java.util.Collection ; 21 22 31 public class SimpleTestBean { 32 33 private String simpleString; 34 35 36 private int primitiveInt; 37 38 39 private boolean simpleBoolean; 40 41 46 private boolean incorrectBoolean; 47 48 53 private boolean overlapReadBoolean; 54 55 58 private String readOnlyString; 59 60 64 public String writeOnlyString; 65 66 69 private Collection collection; 70 71 74 public SimpleTestBean() { 75 } 76 77 83 public SimpleTestBean(String readOnlyString) { 84 this.readOnlyString = readOnlyString; 85 } 86 87 92 public void setSimpleString(String simpleString) { 93 this.simpleString = simpleString; 94 } 95 96 101 public String getSimpleString() { 102 return this.simpleString; 103 } 104 105 110 public void setPrimitiveInt(int primitiveInt) { 111 this.primitiveInt = primitiveInt; 112 } 113 114 119 public int getPrimitiveInt() { 120 return this.primitiveInt; 121 } 122 123 128 public String getReadOnlyString() { 129 return this.readOnlyString; 130 } 131 132 137 public void setWriteOnlyString(String writeOnlyString) { 138 this.writeOnlyString = writeOnlyString; 139 } 140 141 146 public void setCollection(Collection collection) { 147 this.collection = collection; 148 } 149 150 155 public Collection getCollection() { 156 return this.collection; 157 } 158 159 164 public void setSimpleBoolean(boolean simpleBoolean) { 165 this.simpleBoolean = simpleBoolean; 166 } 167 168 173 public boolean isSimpleBoolean() { 174 return this.simpleBoolean; 175 } 176 177 182 public void setIncorrectBoolean(boolean incorrectBoolean) { 183 this.incorrectBoolean = incorrectBoolean; 184 } 185 186 191 public boolean getIncorrectBoolean() { 192 return this.incorrectBoolean; 193 } 194 195 201 public void setOverlapReadBoolean(boolean overlapReadBoolean) { 202 this.overlapReadBoolean = overlapReadBoolean; 203 } 204 205 211 public boolean isOverlapReadBoolean() { 212 return this.overlapReadBoolean; 213 } 214 215 222 public boolean getOverlapReadBoolean() { 223 throw new IllegalStateException ( 224 "This method should never be invoked."); 225 } 226 227 } 228 | Popular Tags |