org.azzyzt.jee.runtime.annotation
Annotation Type CreateTimestamp


@Documented
@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface CreateTimestamp

This annotation can be added to entity fields of the types java.util.Calendar, java.util.Date or java.lang.String. It marks the field as a create timestamp. Create timestamps are automatically set by the runtime and they contain a timestamp indicating when a record was created.

See Also:
CreateUser, ModificationTimestamp, ModificationUser, java.text.SimpleDateFormat

Optional Element Summary
 java.lang.String format
           
 

format

public abstract java.lang.String format
Returns:
a format string as required by java.text.SimpleDateFormat. Formats are needed and can only be used for fields of type java.lang.String.
Default:
""