@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD})
public @interface Required
Required annotation defines dependencies between the properties.| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String[] |
elements
A list of the elements that are allowed to activate the current property.
|
java.lang.String |
property
The addressed property.
|
boolean |
value
The boolean value that is necessary to activate the current property.
|
public abstract java.lang.String property
enum type.