Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 16 17 18 package org.apache.commons.beanutils; 19 20 21 27 28 public class BenchBean { 29 30 31 33 34 37 private boolean booleanProperty = true; 38 39 public boolean getBooleanProperty() { 40 return (booleanProperty); 41 } 42 43 public void setBooleanProperty(boolean booleanProperty) { 44 this.booleanProperty = booleanProperty; 45 } 46 47 48 51 private byte byteProperty = (byte) 121; 52 53 public byte getByteProperty() { 54 return (this.byteProperty); 55 } 56 57 public void setByteProperty(byte byteProperty) { 58 this.byteProperty = byteProperty; 59 } 60 61 62 65 private double doubleProperty = 321.0; 66 67 public double getDoubleProperty() { 68 return (this.doubleProperty); 69 } 70 71 public void setDoubleProperty(double doubleProperty) { 72 this.doubleProperty = doubleProperty; 73 } 74 75 76 79 private float floatProperty = (float) 123.0; 80 81 public float getFloatProperty() { 82 return (this.floatProperty); 83 } 84 85 public void setFloatProperty(float floatProperty) { 86 this.floatProperty = floatProperty; 87 } 88 89 90 93 private int intProperty = 123; 94 95 public int getIntProperty() { 96 return (this.intProperty); 97 } 98 99 public void setIntProperty(int intProperty) { 100 this.intProperty = intProperty; 101 } 102 103 104 107 private long longProperty = 321; 108 109 public long getLongProperty() { 110 return (this.longProperty); 111 } 112 113 public void setLongProperty(long longProperty) { 114 this.longProperty = longProperty; 115 } 116 117 118 121 private short shortProperty = (short) 987; 122 123 public short getShortProperty() { 124 return (this.shortProperty); 125 } 126 127 public void setShortProperty(short shortProperty) { 128 this.shortProperty = shortProperty; 129 } 130 131 132 135 private String stringProperty = "This is a string"; 136 137 public String getStringProperty() { 138 return (this.stringProperty); 139 } 140 141 public void setStringProperty(String stringProperty) { 142 this.stringProperty = stringProperty; 143 } 144 145 146 } 147
| Popular Tags
|