@LogicalTypeName

Meta-annotation for a mandatory String property or parameter representing a logical type name of a domain object (as per @ DomainObject#logicalTypeName() or @ Named#value() ) and consorts.

API

LogicalTypeName.java
@interface LogicalTypeName {
  int MAX_LENGTH;
  @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.MANDATORY;
  @AliasFor(annotation = Parameter.class, attribute = "optionality")
Optionality parameterOptionality() default Optionality.MANDATORY;
  @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;
}