|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EclipseLinkTimeOfDayAnnotation
Corresponds to the EclipseLink annotation
org.eclipse.persistence.annotations.TimeOfDay
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.resource.java.JavaResourceNode |
|---|
JavaResourceNode.Root |
| Field Summary | |
|---|---|
static java.lang.String |
ANNOTATION_NAME
|
static java.lang.String |
HOUR_PROPERTY
|
static java.lang.String |
MILLISECOND_PROPERTY
|
static java.lang.String |
MINUTE_PROPERTY
|
static java.lang.String |
SECOND_PROPERTY
|
| Method Summary | |
|---|---|
java.lang.Integer |
getHour()
Corresponds to the 'hour' element of the TimeOfDay annotation. |
TextRange |
getHourTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the TextRange for the 'hour' element. |
java.lang.Integer |
getMillisecond()
Corresponds to the 'millisecond' element of the TimeOfDay annotation. |
TextRange |
getMillisecondTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the TextRange for the 'millisecond' element. |
java.lang.Integer |
getMinute()
Corresponds to the 'minute' element of the TimeOfDay annotation. |
TextRange |
getMinuteTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the TextRange for the 'minute' element. |
java.lang.Integer |
getSecond()
Corresponds to the 'second' element of the TimeOfDay annotation. |
TextRange |
getSecondTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the TextRange for the 'second' element. |
void |
setHour(java.lang.Integer hour)
Corresponds to the 'hour' element of the TimeOfDay annotation. |
void |
setMillisecond(java.lang.Integer millisecond)
Corresponds to the 'millisecond' element of the TimeOfDay annotation. |
void |
setMinute(java.lang.Integer minute)
Corresponds to the 'minute' element of the TimeOfDay annotation. |
void |
setSecond(java.lang.Integer second)
Corresponds to the 'second' element of the TimeOfDay annotation. |
| Methods inherited from interface org.eclipse.jpt.jpa.core.resource.java.Annotation |
|---|
getAnnotationName, getAstAnnotation, isUnset, newAnnotation, removeAnnotation, restoreFrom, storeOn |
| Methods inherited from interface org.eclipse.jpt.jpa.core.resource.java.JavaResourceNode |
|---|
getFile, getJavaResourceCompilationUnit, getParent, getRoot, getTextRange, initialize, synchronizeWith |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener |
| Field Detail |
|---|
static final java.lang.String ANNOTATION_NAME
static final java.lang.String HOUR_PROPERTY
static final java.lang.String MINUTE_PROPERTY
static final java.lang.String SECOND_PROPERTY
static final java.lang.String MILLISECOND_PROPERTY
| Method Detail |
|---|
java.lang.Integer getHour()
void setHour(java.lang.Integer hour)
TextRange getHourTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
TextRange for the 'hour' element. If the element
does not exist return the TextRange for the TimeOfDay annotation.
java.lang.Integer getMinute()
void setMinute(java.lang.Integer minute)
TextRange getMinuteTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
TextRange for the 'minute' element. If the element
does not exist return the TextRange for the TimeOfDay annotation.
java.lang.Integer getSecond()
void setSecond(java.lang.Integer second)
TextRange getSecondTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
TextRange for the 'second' element. If the element
does not exist return the TextRange for the TimeOfDay annotation.
java.lang.Integer getMillisecond()
void setMillisecond(java.lang.Integer millisecond)
TextRange getMillisecondTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
TextRange for the 'millisecond' element. If the element
does not exist return the TextRange for the TimeOfDay annotation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||