org.springframework.roo.classpath.operations.jsr303
Class DateField
java.lang.Object
org.springframework.roo.classpath.operations.jsr303.FieldDetails
org.springframework.roo.classpath.operations.jsr303.DateField
public class DateField
- extends FieldDetails
This field can optionally provide the mandatory JSR 220 temporal annotation.
- Since:
- 1.0
- Author:
- Ben Alex
Fields inherited from class org.springframework.roo.classpath.operations.jsr303.FieldDetails |
comment |
Constructor Summary |
DateField(String physicalTypeIdentifier,
org.springframework.roo.model.JavaType fieldType,
org.springframework.roo.model.JavaSymbolName fieldName)
|
Methods inherited from class org.springframework.roo.classpath.operations.jsr303.FieldDetails |
getColumn, getComment, getFieldName, getFieldType, getPhysicalTypeIdentifier, isNotNull, isNullRequired, setColumn, setComment, setNotNull, setNullRequired |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateField
public DateField(String physicalTypeIdentifier,
org.springframework.roo.model.JavaType fieldType,
org.springframework.roo.model.JavaSymbolName fieldName)
decorateAnnotationsList
public void decorateAnnotationsList(List<AnnotationMetadata> annotations)
- Overrides:
decorateAnnotationsList
in class FieldDetails
isPast
public boolean isPast()
setPast
public void setPast(boolean past)
isFuture
public boolean isFuture()
setFuture
public void setFuture(boolean future)
getPersistenceType
public DateFieldPersistenceType getPersistenceType()
setPersistenceType
public void setPersistenceType(DateFieldPersistenceType persistenceType)
getDateFormat
public DateTime getDateFormat()
setDateFormat
public void setDateFormat(DateTime dateFormat)
getTimeFormat
public DateTime getTimeFormat()
setTimeFormat
public void setTimeFormat(DateTime timeFormat)
Copyright © 2009-2010 VMware, Inc. All Rights Reserved.