org.citygml4j.jaxb.gml._3_1_1
Class TimePositionType

java.lang.Object
  extended by org.citygml4j.jaxb.gml._3_1_1.TimePositionType

public class TimePositionType
extends java.lang.Object

Direct representation of a temporal position. Indeterminate time values are also allowed, as described in ISO 19108. The indeterminatePosition attribute can be used alone or it can qualify a specific value for temporal position (e.g. before 2002-12, after 1019624400). For time values that identify position within a calendar, the calendarEraName attribute provides the name of the calendar era to which the date is referenced (e.g. the Meiji era of the Japanese calendar).

Java class for TimePositionType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="TimePositionType">
   <simpleContent>
     <extension base="<http://www.opengis.net/gml>TimePositionUnion">
       <attribute name="frame" type="{http://www.w3.org/2001/XMLSchema}anyURI" default="#ISO-8601" />
       <attribute name="calendarEraName" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="indeterminatePosition" type="{http://www.opengis.net/gml}TimeIndeterminateValueType" />
     </extension>
   </simpleContent>
 </complexType>
 


Constructor Summary
TimePositionType()
           
 
Method Summary
 java.lang.String getCalendarEraName()
          Gets the value of the calendarEraName property.
 java.lang.String getFrame()
          Gets the value of the frame property.
 TimeIndeterminateValueType getIndeterminatePosition()
          Gets the value of the indeterminatePosition property.
 java.util.List<java.lang.String> getValue()
          The ISO 19108:2002 hierarchy of subtypes for temporal position are collapsed by defining a union of XML Schema simple types for indicating temporal position relative to a specific reference system.
 boolean isSetCalendarEraName()
           
 boolean isSetFrame()
           
 boolean isSetIndeterminatePosition()
           
 boolean isSetValue()
           
 void setCalendarEraName(java.lang.String value)
          Sets the value of the calendarEraName property.
 void setFrame(java.lang.String value)
          Sets the value of the frame property.
 void setIndeterminatePosition(TimeIndeterminateValueType value)
          Sets the value of the indeterminatePosition property.
 void setValue(java.util.List<java.lang.String> value)
          The ISO 19108:2002 hierarchy of subtypes for temporal position are collapsed by defining a union of XML Schema simple types for indicating temporal position relative to a specific reference system.
 void unsetValue()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimePositionType

public TimePositionType()
Method Detail

getValue

public java.util.List<java.lang.String> getValue()
The ISO 19108:2002 hierarchy of subtypes for temporal position are collapsed by defining a union of XML Schema simple types for indicating temporal position relative to a specific reference system. Dates and dateTime may be indicated with varying degrees of precision. dateTime by itself does not allow right-truncation, except for fractions of seconds. When used with non-Gregorian calendars based on years, months, days, the same lexical representation should still be used, with leading zeros added if the year value would otherwise have fewer than four digits. An ordinal position may be referenced via URI identifying the definition of an ordinal era. A time coordinate value is indicated as a decimal (e.g. UNIX time, GPS calendar).Gets the value of the value property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the value property.

For example, to add a new item, do as follows:

    getValue().add(newItem);
 

Objects of the following type(s) are allowed in the list String


isSetValue

public boolean isSetValue()

unsetValue

public void unsetValue()

getFrame

public java.lang.String getFrame()
Gets the value of the frame property.

Returns:
possible object is String

setFrame

public void setFrame(java.lang.String value)
Sets the value of the frame property.

Parameters:
value - allowed object is String

isSetFrame

public boolean isSetFrame()

getCalendarEraName

public java.lang.String getCalendarEraName()
Gets the value of the calendarEraName property.

Returns:
possible object is String

setCalendarEraName

public void setCalendarEraName(java.lang.String value)
Sets the value of the calendarEraName property.

Parameters:
value - allowed object is String

isSetCalendarEraName

public boolean isSetCalendarEraName()

getIndeterminatePosition

public TimeIndeterminateValueType getIndeterminatePosition()
Gets the value of the indeterminatePosition property.

Returns:
possible object is TimeIndeterminateValueType

setIndeterminatePosition

public void setIndeterminatePosition(TimeIndeterminateValueType value)
Sets the value of the indeterminatePosition property.

Parameters:
value - allowed object is TimeIndeterminateValueType

isSetIndeterminatePosition

public boolean isSetIndeterminatePosition()

setValue

public void setValue(java.util.List<java.lang.String> value)
The ISO 19108:2002 hierarchy of subtypes for temporal position are collapsed by defining a union of XML Schema simple types for indicating temporal position relative to a specific reference system. Dates and dateTime may be indicated with varying degrees of precision. dateTime by itself does not allow right-truncation, except for fractions of seconds. When used with non-Gregorian calendars based on years, months, days, the same lexical representation should still be used, with leading zeros added if the year value would otherwise have fewer than four digits. An ordinal position may be referenced via URI identifying the definition of an ordinal era. A time coordinate value is indicated as a decimal (e.g. UNIX time, GPS calendar).

Parameters:
value - allowed object is String