Package net.opengis.gml311
Interface TimeCalendarEraType
-
- All Superinterfaces:
AbstractGMLType
,DefinitionType
,EObject
,Notifier
- All Known Implementing Classes:
TimeCalendarEraTypeImpl
public interface TimeCalendarEraType extends DefinitionType
A representation of the model object 'Time Calendar Era Type'. In every calendar, years are numbered relative to the date of a reference event that defines a calendar era. In this implementation, we omit the back-pointer "datingSystem".The following features are supported:
- See Also:
Gml311Package.getTimeCalendarEraType()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimePeriodPropertyType
getEpochOfUse()
Returns the value of the 'Epoch Of Use' containment reference.BigDecimal
getJulianReference()
Returns the value of the 'Julian Reference' attribute.XMLGregorianCalendar
getReferenceDate()
Returns the value of the 'Reference Date' attribute.StringOrRefType
getReferenceEvent()
Returns the value of the 'Reference Event' containment reference.boolean
isSetReferenceDate()
Returns whether the value of the 'Reference Date
' attribute is set.void
setEpochOfUse(TimePeriodPropertyType value)
Sets the value of the 'Epoch Of Use
' containment reference.void
setJulianReference(BigDecimal value)
Sets the value of the 'Julian Reference
' attribute.void
setReferenceDate(XMLGregorianCalendar value)
Sets the value of the 'Reference Date
' attribute.void
setReferenceEvent(StringOrRefType value)
Sets the value of the 'Reference Event
' containment reference.void
unsetReferenceDate()
Unsets the value of the 'Reference Date
' attribute.-
Methods inherited from interface AbstractGMLType
getDescription, getId, getMetaDataProperty, getName, getNameGroup, setDescription, setId
-
-
-
-
Method Detail
-
getReferenceEvent
StringOrRefType getReferenceEvent()
Returns the value of the 'Reference Event' containment reference. Name or description of a mythical or historic event which fixes the position of the base scale of the calendar era.- Returns:
- the value of the 'Reference Event' containment reference.
- See Also:
setReferenceEvent(StringOrRefType)
,Gml311Package.getTimeCalendarEraType_ReferenceEvent()
-
setReferenceEvent
void setReferenceEvent(StringOrRefType value)
Sets the value of the 'Reference Event
' containment reference.- Parameters:
value
- the new value of the 'Reference Event' containment reference.- See Also:
getReferenceEvent()
-
getReferenceDate
XMLGregorianCalendar getReferenceDate()
Returns the value of the 'Reference Date' attribute. The default value is"0001-01-01"
. Date of the referenceEvent expressed as a date in the given calendar. In most calendars, this date is the origin (i.e., the first day) of the scale, but this is not always true.- Returns:
- the value of the 'Reference Date' attribute.
- See Also:
isSetReferenceDate()
,unsetReferenceDate()
,setReferenceDate(XMLGregorianCalendar)
,Gml311Package.getTimeCalendarEraType_ReferenceDate()
-
setReferenceDate
void setReferenceDate(XMLGregorianCalendar value)
Sets the value of the 'Reference Date
' attribute.- Parameters:
value
- the new value of the 'Reference Date' attribute.- See Also:
isSetReferenceDate()
,unsetReferenceDate()
,getReferenceDate()
-
unsetReferenceDate
void unsetReferenceDate()
Unsets the value of the 'Reference Date
' attribute.
-
isSetReferenceDate
boolean isSetReferenceDate()
Returns whether the value of the 'Reference Date
' attribute is set.- Returns:
- whether the value of the 'Reference Date' attribute is set.
- See Also:
unsetReferenceDate()
,getReferenceDate()
,setReferenceDate(XMLGregorianCalendar)
-
getJulianReference
BigDecimal getJulianReference()
Returns the value of the 'Julian Reference' attribute. Julian date that corresponds to the reference date. The Julian day numbering system is a temporal coordinate system that has an origin earlier than any known calendar, at noon on 1 January 4713 BC in the Julian proleptic calendar. The Julian day number is an integer value; the Julian date is a decimal value that allows greater resolution. Transforming calendar dates to and from Julian dates provides a relatively simple basis for transforming dates from one calendar to another.- Returns:
- the value of the 'Julian Reference' attribute.
- See Also:
setJulianReference(BigDecimal)
,Gml311Package.getTimeCalendarEraType_JulianReference()
-
setJulianReference
void setJulianReference(BigDecimal value)
Sets the value of the 'Julian Reference
' attribute.- Parameters:
value
- the new value of the 'Julian Reference' attribute.- See Also:
getJulianReference()
-
getEpochOfUse
TimePeriodPropertyType getEpochOfUse()
Returns the value of the 'Epoch Of Use' containment reference. Period for which the calendar era was used as a basis for dating.- Returns:
- the value of the 'Epoch Of Use' containment reference.
- See Also:
setEpochOfUse(TimePeriodPropertyType)
,Gml311Package.getTimeCalendarEraType_EpochOfUse()
-
setEpochOfUse
void setEpochOfUse(TimePeriodPropertyType value)
Sets the value of the 'Epoch Of Use
' containment reference.- Parameters:
value
- the new value of the 'Epoch Of Use' containment reference.- See Also:
getEpochOfUse()
-
-