Author: jsong
Date: Tue Dec 14 19:36:50 2004
New Revision: 111929

URL: http://svn.apache.org/viewcvs?view=rev&rev=111929
Log:
Adding the missed external declared propertySet.

Added:
   
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/BoundExtPropertySet.java

Added: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/BoundExtPropertySet.java
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/BoundExtPropertySet.java?view=auto&rev=111929
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/BoundExtPropertySet.java
      Tue Dec 14 19:36:50 2004
@@ -0,0 +1,28 @@
+package org.apache.beehive.controls.test.controls.property;
+
+import java.lang.annotation.Annotation;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+import org.apache.beehive.controls.api.bean.ControlInterface;
+import org.apache.beehive.controls.api.properties.PropertySet;
+import org.apache.beehive.controls.api.packaging.PropertyInfo;
+
+/**
+ * An externally defined property set.
+ */
[EMAIL PROTECTED]
[EMAIL PROTECTED](RetentionPolicy.RUNTIME)
[EMAIL PROTECTED]( {ElementType.TYPE, ElementType.FIELD, ElementType.METHOD} )
+public @interface BoundExtPropertySet
+{
+    public static final int AGE_DEFAULT = 5;
+
+    @PropertyInfo(bound=true)
+    public int age() default AGE_DEFAULT;
+
+    @PropertyInfo(constrained=true)
+    public float height() default 0.0f;
+}

Reply via email to