All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.omg.space.xtce.RelativeTimeDataType Maven / Gradle / Ivy

Go to download

This project contains software to support the Object Management Group (OMG) Space Domain Task Force (SDTF) maintained XML Telemetry and Command Exchange (XTCE) specification.

There is a newer version: 1.1.6
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2019.03.16 at 05:52:46 PM MST 
//


package org.omg.space.xtce;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.Duration;


/**
 * Used to contain a relative time value.  Used to describe a relative time.  Normally used for time offsets.  A Relative time is expressed as PnYn MnDTnH nMnS, where nY represents the number of years, nM the number of months, nD the number of days, 'T' is the date/time separator, nH the number of hours, nM the number of minutes and nS the number of seconds. The number of seconds can include decimal digits to arbitrary precision.  For example, to indicate a duration of 1 year, 2 months, 3 days, 10 hours, and 30 minutes, one would write: P1Y2M3DT10H30M. One could also indicate a duration of minus 120 days as: -P120D.  An extension of Schema duration type. 
 * 
 * 

Java class for RelativeTimeDataType complex type. * *

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

 * <complexType name="RelativeTimeDataType">
 *   <complexContent>
 *     <extension base="{http://www.omg.org/space/xtce}BaseTimeDataType">
 *       <attribute name="initialValue" type="{http://www.w3.org/2001/XMLSchema}duration" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "RelativeTimeDataType") @XmlSeeAlso({ org.omg.space.xtce.ParameterTypeSetType.RelativeTimeParameterType.class }) public class RelativeTimeDataType extends BaseTimeDataType { @XmlAttribute(name = "initialValue") protected Duration initialValue; /** * Gets the value of the initialValue property. * * @return * possible object is * {@link Duration } * */ public Duration getInitialValue() { return initialValue; } /** * Sets the value of the initialValue property. * * @param value * allowed object is * {@link Duration } * */ public void setInitialValue(Duration value) { this.initialValue = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy