diff options
Diffstat (limited to 'sandbox/bdaniel/propertyTest/src/main/java/testing/ABComponentImpl.java')
-rw-r--r-- | sandbox/bdaniel/propertyTest/src/main/java/testing/ABComponentImpl.java | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/sandbox/bdaniel/propertyTest/src/main/java/testing/ABComponentImpl.java b/sandbox/bdaniel/propertyTest/src/main/java/testing/ABComponentImpl.java new file mode 100644 index 0000000000..8a0de56400 --- /dev/null +++ b/sandbox/bdaniel/propertyTest/src/main/java/testing/ABComponentImpl.java @@ -0,0 +1,63 @@ +package testing;
+
+import org.osoa.sca.annotations.Property;
+
+public class ABComponentImpl implements ABComponent {
+
+ private String aProperty;
+ private String bProperty;
+ private int intValue;
+ // private Collection manyProp;
+ private String zProperty;
+ private String fProperty;
+
+ @Property(name="xpath")
+ public void setZProperty(final String value) {
+ this.zProperty = value;
+ }
+
+// @Property(name="foobar")
+// public void setCollectionProperty(final Collection value) {
+// this.manyProp = value;
+// }
+
+ @Property
+ public void setA(final String A) {
+ this.aProperty = A;
+ }
+
+ @Property
+ public void setB(final String B) {
+ this.bProperty = B;
+ }
+
+ @Property
+ public void setF(final String F) {
+ this.fProperty = F;
+ }
+
+ @Property
+ public void setOne(final int value) {
+ this.intValue = value;
+ }
+
+ public String getA() {
+ return this.aProperty;
+ }
+
+ public String getB() {
+ return this.bProperty;
+ }
+
+ public int getIntValue() {
+ return this.intValue;
+ }
+
+ public String getZ() {
+ return this.zProperty;
+ }
+
+ public String getF() {
+ return this.fProperty;
+ }
+}
|