Package com.iizix.prop.annotation
Annotation Interface PropRef
Used to define a property reference to a class field or local variable. At compile time, the reference is checked by the PostJavaCompiler. The annotation is not used at Runtime.
- Author:
- Christopher Mindus
Required Element Summary
Optional Element Summary
Element Details
ref
String refThe Full String Reference to the Property.- Returns:
- The Full String Reference to the Property (includes the Module Project and slashes).
type
The Property Type class expected, defaultcom.iizix.prop.GProp.class
meaning no checking as all properties extends from GProp.The class does not need to be an exact match, it can be a subclass of the real class.
Example:
type = com.iizix.prop.PropCnr.class
, ortype = KStringProp.class
.- Returns:
- The expected property class name, including package.
- Default:
- com.iizix.prop.GProp.class
value
Class<?> valueThe Property Value class expected, default means no type validation.The class does not need to be an exact match, it can be a subclass of the real class.
Example:
value = String.class
, orvalue = java.lang.Integer.class
.- Returns:
- The expected property class name, including package.
- Default:
- java.lang.Object.class