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

com.hubject.datex.energyinfrastructure.generated.common.PayloadPublication Maven / Gradle / Ivy

Go to download

Use converters from com.hubject.datex.convert.converters package to convert from the OICP formats to DATEX II TablePublication and StatusPublication.

There is a newer version: 1.0.2
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2022.10.06 at 11:44:34 AM CEST 
//


package com.hubject.datex.energyinfrastructure.generated.common;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.XMLGregorianCalendar;
import com.hubject.datex.energyinfrastructure.generated.infrastructure.EnergyInfrastructureStatusPublication;
import com.hubject.datex.energyinfrastructure.generated.infrastructure.EnergyInfrastructureTablePublication;


/**
 * 

Java class for PayloadPublication complex type. * *

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

 * <complexType name="PayloadPublication">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="publicationTime" type="{http://datex2.eu/schema/3/common}DateTime"/>
 *         <element name="publicationCreator" type="{http://datex2.eu/schema/3/common}InternationalIdentifier"/>
 *         <element name="_payloadPublicationExtension" type="{http://datex2.eu/schema/3/common}_ExtensionType" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="lang" use="required" type="{http://datex2.eu/schema/3/common}Language" />
 *       <attribute name="modelBaseVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="3" />
 *       <attribute name="extensionName" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="extensionVersion" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="profileName" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="profileVersion" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PayloadPublication", propOrder = { "publicationTime", "publicationCreator", "payloadPublicationExtension" }) @XmlSeeAlso({ EnergyInfrastructureStatusPublication.class, EnergyInfrastructureTablePublication.class }) public abstract class PayloadPublication { @XmlElement(required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar publicationTime; @XmlElement(required = true) protected InternationalIdentifier publicationCreator; @XmlElement(name = "_payloadPublicationExtension") protected ExtensionType payloadPublicationExtension; @XmlAttribute(name = "lang", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String lang; @XmlAttribute(name = "modelBaseVersion", required = true) protected String modelBaseVersion; @XmlAttribute(name = "extensionName") protected String extensionName; @XmlAttribute(name = "extensionVersion") protected String extensionVersion; @XmlAttribute(name = "profileName") protected String profileName; @XmlAttribute(name = "profileVersion") protected String profileVersion; /** * Gets the value of the publicationTime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getPublicationTime() { return publicationTime; } /** * Sets the value of the publicationTime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setPublicationTime(XMLGregorianCalendar value) { this.publicationTime = value; } /** * Gets the value of the publicationCreator property. * * @return * possible object is * {@link InternationalIdentifier } * */ public InternationalIdentifier getPublicationCreator() { return publicationCreator; } /** * Sets the value of the publicationCreator property. * * @param value * allowed object is * {@link InternationalIdentifier } * */ public void setPublicationCreator(InternationalIdentifier value) { this.publicationCreator = value; } /** * Gets the value of the payloadPublicationExtension property. * * @return * possible object is * {@link ExtensionType } * */ public ExtensionType getPayloadPublicationExtension() { return payloadPublicationExtension; } /** * Sets the value of the payloadPublicationExtension property. * * @param value * allowed object is * {@link ExtensionType } * */ public void setPayloadPublicationExtension(ExtensionType value) { this.payloadPublicationExtension = value; } /** * Gets the value of the lang property. * * @return * possible object is * {@link String } * */ public String getLang() { return lang; } /** * Sets the value of the lang property. * * @param value * allowed object is * {@link String } * */ public void setLang(String value) { this.lang = value; } /** * Gets the value of the modelBaseVersion property. * * @return * possible object is * {@link String } * */ public String getModelBaseVersion() { if (modelBaseVersion == null) { return "3"; } else { return modelBaseVersion; } } /** * Sets the value of the modelBaseVersion property. * * @param value * allowed object is * {@link String } * */ public void setModelBaseVersion(String value) { this.modelBaseVersion = value; } /** * Gets the value of the extensionName property. * * @return * possible object is * {@link String } * */ public String getExtensionName() { return extensionName; } /** * Sets the value of the extensionName property. * * @param value * allowed object is * {@link String } * */ public void setExtensionName(String value) { this.extensionName = value; } /** * Gets the value of the extensionVersion property. * * @return * possible object is * {@link String } * */ public String getExtensionVersion() { return extensionVersion; } /** * Sets the value of the extensionVersion property. * * @param value * allowed object is * {@link String } * */ public void setExtensionVersion(String value) { this.extensionVersion = value; } /** * Gets the value of the profileName property. * * @return * possible object is * {@link String } * */ public String getProfileName() { return profileName; } /** * Sets the value of the profileName property. * * @param value * allowed object is * {@link String } * */ public void setProfileName(String value) { this.profileName = value; } /** * Gets the value of the profileVersion property. * * @return * possible object is * {@link String } * */ public String getProfileVersion() { return profileVersion; } /** * Sets the value of the profileVersion property. * * @param value * allowed object is * {@link String } * */ public void setProfileVersion(String value) { this.profileVersion = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy