All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openxava.annotations.StringTime Maven / Gradle / Ivy

package org.openxava.annotations;

import java.lang.annotation.*;

/**
 * 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 */ @Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.FIELD, ElementType.METHOD }) public @interface StringTime { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy