Annotation Interface StringTime


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface StringTime
A time stored as an String.

The time is in the format HH:mm, like "13:46" for example. The data type is String with a length of 5. Applies to properties.

Example:

  @StringTime
  @Column(length=5)
  private String startTime;
 
It's synonymous of @Stereotype("TIME").
Since:
6.6
Author:
Javier Paniza