@Retention(value=RUNTIME)
@Target(value=TYPE)
@Documented
public @interface Max
Represents: upper bound of a collection
Usage:
See the documentation of Collection
.
Example:
@Min(1)
@Max(10)
class OneToTen <E> extends Collection <E, OneToTen<E> {}
See the documentation of Model
for an overview on modeling in
JtxtUML.Modifier and Type | Required Element and Description |
---|---|
int |
value
The upper bound of the collection this annotation is used on.
|