@Reference

Meta-annotation for a mandatory String property or parameter representing A unique reference code of some sort, restricted to capitals, numbers and '_', '/' and '-'.

API

Reference.java
@interface Reference {
  int MAX_LENGTH;
  String REGEX_PATTERN;
  String REGEX_PATTERN_REPLACEMENT;
  @AliasFor(annotation = Property.class, attribute = "maxLength")
int propertyMaxLength() default MAX_LENGTH;
  @AliasFor(annotation = Parameter.class, attribute = "maxLength")
int parameterMaxLength() default MAX_LENGTH;
  @AliasFor(annotation = Property.class, attribute = "optionality")
Optionality propertyOptionality() default Optionality.OPTIONAL;
  @AliasFor(annotation = Parameter.class, attribute = "optionality")
Optionality parameterOptionality() default Optionality.OPTIONAL;
  @AliasFor(annotation = Property.class, attribute = "regexPattern")
String propertyRegexPattern() default REGEX_PATTERN;
  @AliasFor(annotation = Parameter.class, attribute = "regexPattern")
String parameterRegexPattern() default REGEX_PATTERN;
  @AliasFor(annotation = Property.class, attribute = "regexPatternReplacement")
String propertyRegexPatternReplacement() default REGEX_PATTERN_REPLACEMENT;
  @AliasFor(annotation = Parameter.class, attribute = "regexPatternReplacement")
String parameterRegexPatternReplacement() default REGEX_PATTERN_REPLACEMENT;
  @AliasFor(annotation = javax.jdo.annotations.Column.class, attribute = "allowsNull")
String columnAllowsNull() default "false";
  @AliasFor(annotation = javax.jdo.annotations.Column.class, attribute = "length")
int columnLength() default MAX_LENGTH;
}