Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.eclipselink.core.resource.java
Interface TimeOfDayAnnotation

All Superinterfaces:
Annotation, JavaResourceModel, Model

public interface TimeOfDayAnnotation
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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceModel
JavaResourceModel.FileTransformer, JavaResourceModel.Root
 
Field Summary
static String ANNOTATION_NAME
           
static String HOUR_PROPERTY
           
static String MILLISECOND_PROPERTY
           
static String MINUTE_PROPERTY
           
static String SECOND_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceModel
FILE_TRANSFORMER
 
Method Summary
 Integer getHour()
          Corresponds to the 'hour' element of the TimeOfDay annotation.
 TextRange getHourTextRange()
          Return the TextRange for the 'hour' element.
 Integer getMillisecond()
          Corresponds to the 'millisecond' element of the TimeOfDay annotation.
 TextRange getMillisecondTextRange()
          Return the TextRange for the 'millisecond' element.
 Integer getMinute()
          Corresponds to the 'minute' element of the TimeOfDay annotation.
 TextRange getMinuteTextRange()
          Return the TextRange for the 'minute' element.
 Integer getSecond()
          Corresponds to the 'second' element of the TimeOfDay annotation.
 TextRange getSecondTextRange()
          Return the TextRange for the 'second' element.
 void setHour(Integer hour)
          Corresponds to the 'hour' element of the TimeOfDay annotation.
 void setMillisecond(Integer millisecond)
          Corresponds to the 'millisecond' element of the TimeOfDay annotation.
 void setMinute(Integer minute)
          Corresponds to the 'minute' element of the TimeOfDay annotation.
 void setSecond(Integer second)
          Corresponds to the 'second' element of the TimeOfDay annotation.
 
Methods inherited from interface org.eclipse.jpt.common.core.resource.java.Annotation
getAnnotationName, getAstAnnotation, initialize, initialize, isUnset, newAnnotation, removeAnnotation, synchronizeWith, synchronizeWith
 
Methods inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceModel
getFile, getJavaResourceCompilationUnit, getParent, getRoot, getTextRange
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener
 

Field Detail

ANNOTATION_NAME

static final String ANNOTATION_NAME
See Also:
Constant Field Values

HOUR_PROPERTY

static final String HOUR_PROPERTY
See Also:
Constant Field Values

MINUTE_PROPERTY

static final String MINUTE_PROPERTY
See Also:
Constant Field Values

SECOND_PROPERTY

static final String SECOND_PROPERTY
See Also:
Constant Field Values

MILLISECOND_PROPERTY

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

getHour

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(Integer hour)
Corresponds to the 'hour' element of the TimeOfDay annotation. Set to null to remove the element from the annotation


getHourTextRange

TextRange getHourTextRange()
Return the TextRange for the 'hour' element. If the element does not exist return the TextRange for the TimeOfDay annotation.


getMinute

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(Integer minute)
Corresponds to the 'minute' element of the TimeOfDay annotation. Set to null to remove the element from the annotation


getMinuteTextRange

TextRange getMinuteTextRange()
Return the TextRange for the 'minute' element. If the element does not exist return the TextRange for the TimeOfDay annotation.


getSecond

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(Integer second)
Corresponds to the 'second' element of the TimeOfDay annotation. Set to null to remove the element from the annotation


getSecondTextRange

TextRange getSecondTextRange()
Return the TextRange for the 'second' element. If the element does not exist return the TextRange for the TimeOfDay annotation.


getMillisecond

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(Integer millisecond)
Corresponds to the 'millisecond' element of the TimeOfDay annotation. Set to null to remove the element from the annotation


getMillisecondTextRange

TextRange getMillisecondTextRange()
Return the TextRange for the 'millisecond' element. If the element does not exist return the TextRange for the TimeOfDay annotation.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.