org.apache.myfaces.orchestra.dynaForm.annot.ui
Annotation Type Temporal


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface Temporal

Mark this property as representing a date/time.

Properties of type Date are automatically rendered as temporal types by the DynaForm. However in some cases other types (in particular, String properties) also should be rendered as a date. This annotation can be applied to such fields to force the correct visual representation.

TODO: is the above paragraph true?

This works much like javax.persistence.Temporal but permits the use of any date library.


Optional Element Summary
 javax.persistence.TemporalType value
           
 

value

public abstract javax.persistence.TemporalType value
Default:
javax.persistence.TemporalType.TIMESTAMP


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.