|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Target(value=METHOD) @Retention(value=RUNTIME) public @interface PropertyKeyName
Defines a name of a property key.
If not specified, the name defaults to the name of the beans property. The fully qualified key, used to identify the property, is composed of the property set name
and this property key name.
Example
@PropertySet("myprops") public interface MyProperties { ... @PropertyKeyName("key") String name(); }
The name of the fully qualified property in the example is myprops.key
instead of the default myprops.name
.
Required Element Summary | |
---|---|
String |
value The name of the property key. |
Element Detail |
---|
public abstract String value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |