uk.org.ifopt.siri21.VersionedObjectStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of siri-java-model Show documentation
Show all versions of siri-java-model Show documentation
Java objects based on the public SIRI XSDs
The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2025.01.07 at 02:19:41 PM UTC
//
package uk.org.ifopt.siri21;
import java.io.Serializable;
import java.math.BigInteger;
import java.time.ZonedDateTime;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.w3._2001.xmlschema.Adapter1;
/**
* Abstract Type for a versioned object.
*
* Java class for VersionedObjectStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VersionedObjectStructure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attGroup ref="{http://www.ifopt.org.uk/ifopt}RequiredModificationDetailsGroup"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VersionedObjectStructure")
@XmlSeeAlso({
DataManagedObjectStructure.class
})
public abstract class VersionedObjectStructure
implements Serializable
{
@XmlAttribute(name = "created", required = true)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected ZonedDateTime created;
@XmlAttribute(name = "lastUpdated", required = true)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected ZonedDateTime lastUpdated;
@XmlAttribute(name = "modification")
protected ModificationEnumeration modification;
@XmlAttribute(name = "version")
protected BigInteger version;
@XmlAttribute(name = "status")
protected StatusEnumeration status;
/**
* Gets the value of the created property.
*
* @return
* possible object is
* {@link String }
*
*/
public ZonedDateTime getCreated() {
return created;
}
/**
* Sets the value of the created property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreated(ZonedDateTime value) {
this.created = value;
}
/**
* Gets the value of the lastUpdated property.
*
* @return
* possible object is
* {@link String }
*
*/
public ZonedDateTime getLastUpdated() {
return lastUpdated;
}
/**
* Sets the value of the lastUpdated property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLastUpdated(ZonedDateTime value) {
this.lastUpdated = value;
}
/**
* Gets the value of the modification property.
*
* @return
* possible object is
* {@link ModificationEnumeration }
*
*/
public ModificationEnumeration getModification() {
if (modification == null) {
return ModificationEnumeration.NEW;
} else {
return modification;
}
}
/**
* Sets the value of the modification property.
*
* @param value
* allowed object is
* {@link ModificationEnumeration }
*
*/
public void setModification(ModificationEnumeration value) {
this.modification = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setVersion(BigInteger value) {
this.version = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link StatusEnumeration }
*
*/
public StatusEnumeration getStatus() {
if (status == null) {
return StatusEnumeration.ACTIVE;
} else {
return status;
}
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link StatusEnumeration }
*
*/
public void setStatus(StatusEnumeration value) {
this.status = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy