|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={SUPERPACKAGE,TYPE}) @Retention(value=RUNTIME) public @interface ResourceTargetConstraint
Indicates the version constraint of the target module definition that this
resource module definition requires. The version constraint is either a
version, a version range, or a combination of both, following the format
described in the VersionConstraint
class. This metadata
annotation is applied to the development module, i.e. the superpackage
construct.
For example,
// // The version of the target module (i.e. org.foo.xml) that can use this // resource module is 1.0 <= x < 2.0. // @ResourceTargetConstraint("[1.0, 2.0)") superpackage org.foo.xml_fr { ... }
VersionConstraint
Optional Element Summary | |
---|---|
String |
value
Version constraint of the target module definition. |
public abstract String value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |