
sbt-scalaxb.opengis.gml.temporal.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geotrellis-server-opengis_2.12 Show documentation
Show all versions of geotrellis-server-opengis_2.12 Show documentation
GeoTrellis Server is a set of components designed to simplify viewing, processing, and serving raster data from arbitrary sources with an emphasis on doing so in a functional style.
The newest version!
// Generated by scalaxb.
package opengis.gml
/** The temporal schema for GML 3.1 provides constructs for handling time-varying spatial data.
This schema reflects a partial implementation of the model described in ISO 19108:2002.
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
*/
/** The abstract supertype for temporal objects.
*/
trait AbstractTimeObjectType extends AbstractGMLType with DomainSetTypableOption {
def standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence
def gmlid: Option[String]
}
/** The abstract supertype for temporal primitives.
*/
trait AbstractTimePrimitiveType extends AbstractTimeObjectType {
def standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence
def relatedTime: Seq[opengis.gml.RelatedTimeType]
def gmlid: Option[String]
}
trait TimePrimitivePropertyTypable {
def timeprimitivepropertytypablesequence1: Option[opengis.gml.TimePrimitivePropertyTypableSequence1]
def xlinktype: xlink.TypeType
def xlinkhref: Option[java.net.URI]
def xlinkrole: Option[java.net.URI]
def xlinkarcrole: Option[java.net.URI]
def xlinktitle: Option[String]
def xlinkshow: Option[xlink.ShowType]
def xlinkactuate: Option[xlink.ActuateType]
def gmlremoteSchema: Option[java.net.URI]
}
case class TimePrimitivePropertyType(timeprimitivepropertytypablesequence1: Option[opengis.gml.TimePrimitivePropertyTypableSequence1] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends TimePrimitivePropertyTypable {
lazy val xlinktype = attributes("@{http://www.w3.org/1999/xlink}type").as[xlink.TypeType]
lazy val xlinkhref = attributes.get("@{http://www.w3.org/1999/xlink}href") map { _.as[java.net.URI]}
lazy val xlinkrole = attributes.get("@{http://www.w3.org/1999/xlink}role") map { _.as[java.net.URI]}
lazy val xlinkarcrole = attributes.get("@{http://www.w3.org/1999/xlink}arcrole") map { _.as[java.net.URI]}
lazy val xlinktitle = attributes.get("@{http://www.w3.org/1999/xlink}title") map { _.as[String]}
lazy val xlinkshow = attributes.get("@{http://www.w3.org/1999/xlink}show") map { _.as[xlink.ShowType]}
lazy val xlinkactuate = attributes.get("@{http://www.w3.org/1999/xlink}actuate") map { _.as[xlink.ActuateType]}
lazy val gmlremoteSchema = attributes.get("@{http://www.opengis.net/gml}remoteSchema") map { _.as[java.net.URI]}
}
case class TimePrimitivePropertyTypableSequence1(_TimePrimitive: scalaxb.DataRecord[Any])
sealed trait RelativePosition
object RelativePosition {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.gml.RelativePosition]): RelativePosition = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: RelativePosition) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[RelativePosition] = Seq(BeforeValue, AfterValue, Begins, Ends, During, Equals, Contains, Overlaps, Meets, OverlappedBy, MetBy, BegunBy, EndedBy)
}
case object BeforeValue extends RelativePosition { override def toString = "Before" }
case object AfterValue extends RelativePosition { override def toString = "After" }
case object Begins extends RelativePosition { override def toString = "Begins" }
case object Ends extends RelativePosition { override def toString = "Ends" }
case object During extends RelativePosition { override def toString = "During" }
case object Equals extends RelativePosition { override def toString = "Equals" }
case object Contains extends RelativePosition { override def toString = "Contains" }
case object Overlaps extends RelativePosition { override def toString = "Overlaps" }
case object Meets extends RelativePosition { override def toString = "Meets" }
case object OverlappedBy extends RelativePosition { override def toString = "OverlappedBy" }
case object MetBy extends RelativePosition { override def toString = "MetBy" }
case object BegunBy extends RelativePosition { override def toString = "BegunBy" }
case object EndedBy extends RelativePosition { override def toString = "EndedBy" }
case class RelatedTimeType(timeprimitivepropertytypablesequence1: Option[opengis.gml.TimePrimitivePropertyTypableSequence1] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends TimePrimitivePropertyTypable {
lazy val xlinktype = attributes("@{http://www.w3.org/1999/xlink}type").as[xlink.TypeType]
lazy val xlinkhref = attributes.get("@{http://www.w3.org/1999/xlink}href") map { _.as[java.net.URI]}
lazy val xlinkrole = attributes.get("@{http://www.w3.org/1999/xlink}role") map { _.as[java.net.URI]}
lazy val xlinkarcrole = attributes.get("@{http://www.w3.org/1999/xlink}arcrole") map { _.as[java.net.URI]}
lazy val xlinktitle = attributes.get("@{http://www.w3.org/1999/xlink}title") map { _.as[String]}
lazy val xlinkshow = attributes.get("@{http://www.w3.org/1999/xlink}show") map { _.as[xlink.ShowType]}
lazy val xlinkactuate = attributes.get("@{http://www.w3.org/1999/xlink}actuate") map { _.as[xlink.ActuateType]}
lazy val gmlremoteSchema = attributes.get("@{http://www.opengis.net/gml}remoteSchema") map { _.as[java.net.URI]}
lazy val relativePosition = attributes.get("@relativePosition") map { _.as[RelativePosition]}
}
/** The abstract supertype for temporal complexes.
*/
trait AbstractTimeComplexType extends AbstractTimeObjectType {
def standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence
def gmlid: Option[String]
}
/** The abstract supertype for temporal geometric primitives.
A temporal geometry must be associated with a temporal reference system via URI.
The Gregorian calendar with UTC is the default reference system, following ISO
8601. Other reference systems in common use include the GPS calendar and the
Julian calendar.
*/
trait AbstractTimeGeometricPrimitiveType extends AbstractTimePrimitiveType {
def standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence
def relatedTime: Seq[opengis.gml.RelatedTimeType]
def gmlid: Option[String]
def frame: java.net.URI
}
case class TimeGeometricPrimitivePropertyType(timegeometricprimitivepropertytypesequence1: Option[opengis.gml.TimeGeometricPrimitivePropertyTypeSequence1] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) {
lazy val xlinktype = attributes("@{http://www.w3.org/1999/xlink}type").as[xlink.TypeType]
lazy val xlinkhref = attributes.get("@{http://www.w3.org/1999/xlink}href") map { _.as[java.net.URI]}
lazy val xlinkrole = attributes.get("@{http://www.w3.org/1999/xlink}role") map { _.as[java.net.URI]}
lazy val xlinkarcrole = attributes.get("@{http://www.w3.org/1999/xlink}arcrole") map { _.as[java.net.URI]}
lazy val xlinktitle = attributes.get("@{http://www.w3.org/1999/xlink}title") map { _.as[String]}
lazy val xlinkshow = attributes.get("@{http://www.w3.org/1999/xlink}show") map { _.as[xlink.ShowType]}
lazy val xlinkactuate = attributes.get("@{http://www.w3.org/1999/xlink}actuate") map { _.as[xlink.ActuateType]}
lazy val gmlremoteSchema = attributes.get("@{http://www.opengis.net/gml}remoteSchema") map { _.as[java.net.URI]}
}
case class TimeGeometricPrimitivePropertyTypeSequence1(_TimeGeometricPrimitive: scalaxb.DataRecord[Any])
/** Omit back-pointers begunBy, endedBy.
*/
case class TimeInstantType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
relatedTime: Seq[opengis.gml.RelatedTimeType] = Nil,
timePosition: opengis.gml.TimePositionType,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends AbstractTimeGeometricPrimitiveType {
lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
lazy val frame = attributes("@frame").as[java.net.URI]
}
case class TimeInstantPropertyType(timeinstantpropertytypesequence1: Option[opengis.gml.TimeInstantPropertyTypeSequence1] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends TimePeriodTypeOption with TimePeriodTypeOption2 with TimeCoordinateSystemTypeOption {
lazy val xlinktype = attributes("@{http://www.w3.org/1999/xlink}type").as[xlink.TypeType]
lazy val xlinkhref = attributes.get("@{http://www.w3.org/1999/xlink}href") map { _.as[java.net.URI]}
lazy val xlinkrole = attributes.get("@{http://www.w3.org/1999/xlink}role") map { _.as[java.net.URI]}
lazy val xlinkarcrole = attributes.get("@{http://www.w3.org/1999/xlink}arcrole") map { _.as[java.net.URI]}
lazy val xlinktitle = attributes.get("@{http://www.w3.org/1999/xlink}title") map { _.as[String]}
lazy val xlinkshow = attributes.get("@{http://www.w3.org/1999/xlink}show") map { _.as[xlink.ShowType]}
lazy val xlinkactuate = attributes.get("@{http://www.w3.org/1999/xlink}actuate") map { _.as[xlink.ActuateType]}
lazy val gmlremoteSchema = attributes.get("@{http://www.opengis.net/gml}remoteSchema") map { _.as[java.net.URI]}
}
case class TimeInstantPropertyTypeSequence1(TimeInstant: opengis.gml.TimeInstantType)
case class TimePeriodType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
relatedTime: Seq[opengis.gml.RelatedTimeType] = Nil,
timeperiodtypeoption: scalaxb.DataRecord[opengis.gml.TimePeriodTypeOption],
timeperiodtypeoption2: scalaxb.DataRecord[opengis.gml.TimePeriodTypeOption2],
timeLengthOption7: Option[scalaxb.DataRecord[Any]] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends AbstractTimeGeometricPrimitiveType {
lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
lazy val frame = attributes("@frame").as[java.net.URI]
}
trait TimePeriodTypeOption2
trait TimePeriodTypeOption
case class TimePeriodPropertyType(timeperiodpropertytypesequence1: Option[opengis.gml.TimePeriodPropertyTypeSequence1] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) {
lazy val xlinktype = attributes("@{http://www.w3.org/1999/xlink}type").as[xlink.TypeType]
lazy val xlinkhref = attributes.get("@{http://www.w3.org/1999/xlink}href") map { _.as[java.net.URI]}
lazy val xlinkrole = attributes.get("@{http://www.w3.org/1999/xlink}role") map { _.as[java.net.URI]}
lazy val xlinkarcrole = attributes.get("@{http://www.w3.org/1999/xlink}arcrole") map { _.as[java.net.URI]}
lazy val xlinktitle = attributes.get("@{http://www.w3.org/1999/xlink}title") map { _.as[String]}
lazy val xlinkshow = attributes.get("@{http://www.w3.org/1999/xlink}show") map { _.as[xlink.ShowType]}
lazy val xlinkactuate = attributes.get("@{http://www.w3.org/1999/xlink}actuate") map { _.as[xlink.ActuateType]}
lazy val gmlremoteSchema = attributes.get("@{http://www.opengis.net/gml}remoteSchema") map { _.as[java.net.URI]}
}
case class TimePeriodPropertyTypeSequence1(TimePeriod: opengis.gml.TimePeriodType)
/** This type extends the built-in xsd:decimal simple type to allow floating-point
values for temporal length. According to the ISO 11404 model you have to use
positiveInteger together with appropriate values for radix and factor. The
resolution of the time interval is to one radix ^(-factor) of the specified
time unit (e.g. unit="second", radix="10", factor="3" specifies a resolution
of milliseconds). It is a subtype of TimeDurationType.
*/
case class TimeIntervalLengthType(value: BigDecimal,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) {
lazy val unit = attributes("@unit").as[String]
lazy val radix = attributes.get("@radix") map { _.as[BigInt]}
lazy val factor = attributes.get("@factor") map { _.as[BigInt]}
}
/** 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).
*/
case class TimePositionType(value: String,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends TimePeriodTypeOption with TimePeriodTypeOption2 with TimeCoordinateSystemTypeOption {
lazy val frame = attributes("@frame").as[java.net.URI]
lazy val calendarEraName = attributes.get("@calendarEraName") map { _.as[String]}
lazy val indeterminatePosition = attributes.get("@indeterminatePosition") map { _.as[TimeIndeterminateValueType]}
}
sealed trait TimeIndeterminateValueType
object TimeIndeterminateValueType {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.gml.TimeIndeterminateValueType]): TimeIndeterminateValueType = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: TimeIndeterminateValueType) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[TimeIndeterminateValueType] = Seq(After, Before, Now, Unknown)
}
case object After extends TimeIndeterminateValueType { override def toString = "after" }
case object Before extends TimeIndeterminateValueType { override def toString = "before" }
case object Now extends TimeIndeterminateValueType { override def toString = "now" }
case object Unknown extends TimeIndeterminateValueType { override def toString = "unknown" }
trait TimeLengthOption
© 2015 - 2025 Weber Informatics LLC | Privacy Policy