|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Target(value=METHOD) @Retention(value=RUNTIME) public @interface PropertyStringValueRange
Defines the range of valid string values of a property.
Examples
@PropertySet("myprops") public interface MyProperties { ... @PropertyStringValueRange( value = { "one", "two", "three" }, defaultValue = "three") String stringValueRange(); }
PropertyIntValueRange
Required Element Summary | |
---|---|
String[] |
value The enumeration of valid property values. |
Optional Element Summary | |
---|---|
String[] |
defaultValue The default value to use, if no other value is specified. |
Element Detail |
---|
public abstract String[] value
public abstract String[] defaultValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |