org.eclipse.jpt.eclipselink.core.resource.java
Interface EclipseLinkTimeOfDayAnnotation

All Superinterfaces:
Annotation, JavaResourceNode, Model

public interface EclipseLinkTimeOfDayAnnotation
extends Annotation

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.

Since:
2.1
Version:
2.1

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.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.core.resource.java.Annotation
getAnnotationName, getAstAnnotation, newAnnotation, removeAnnotation
 
Methods inherited from interface org.eclipse.jpt.core.resource.java.JavaResourceNode
getFile, getJavaResourceCompilationUnit, getRoot, getTextRange, initialize, synchronizeWith
 
Methods inherited from interface org.eclipse.jpt.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener
 

Field Detail

ANNOTATION_NAME

static final java.lang.String ANNOTATION_NAME
See Also:
Constant Field Values

HOUR_PROPERTY

static final java.lang.String HOUR_PROPERTY
See Also:
Constant Field Values

MINUTE_PROPERTY

static final java.lang.String MINUTE_PROPERTY
See Also:
Constant Field Values

SECOND_PROPERTY

static final java.lang.String SECOND_PROPERTY
See Also:
Constant Field Values

MILLISECOND_PROPERTY

static final java.lang.String MILLISECOND_PROPERTY
See Also:
Constant Field Values
Method Detail

getHour

java.lang.Integer getHour()
Corresponds to the 'hour' element of the TimeOfDay annotation. Return null if the element does not exist in the annotation.


setHour

void setHour(java.lang.Integer hour)
Corresponds to the 'hour' element of the TimeOfDay annotation. Set to null to remove the element from the annotation


getHourTextRange

TextRange getHourTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the TextRange for the 'hour' element. If the element does not exist return the TextRange for the TimeOfDay annotation.


getMinute

java.lang.Integer getMinute()
Corresponds to the 'minute' element of the TimeOfDay annotation. Return null if the element does not exist in the annotation.


setMinute

void setMinute(java.lang.Integer minute)
Corresponds to the 'minute' element of the TimeOfDay annotation. Set to null to remove the element from the annotation


getMinuteTextRange

TextRange getMinuteTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the TextRange for the 'minute' element. If the element does not exist return the TextRange for the TimeOfDay annotation.


getSecond

java.lang.Integer getSecond()
Corresponds to the 'second' element of the TimeOfDay annotation. Return null if the element does not exist in the annotation.


setSecond

void setSecond(java.lang.Integer second)
Corresponds to the 'second' element of the TimeOfDay annotation. Set to null to remove the element from the annotation


getSecondTextRange

TextRange getSecondTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the TextRange for the 'second' element. If the element does not exist return the TextRange for the TimeOfDay annotation.


getMillisecond

java.lang.Integer getMillisecond()
Corresponds to the 'millisecond' element of the TimeOfDay annotation. Return null if the element does not exist in the annotation.


setMillisecond

void setMillisecond(java.lang.Integer millisecond)
Corresponds to the 'millisecond' element of the TimeOfDay annotation. Set to null to remove the element from the annotation


getMillisecondTextRange

TextRange getMillisecondTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the TextRange for the 'millisecond' element. If the element does not exist return the TextRange for the TimeOfDay annotation.