com.hubject.datex.energyinfrastructure.generated.facilities.RightSpecification Maven / Gradle / Ivy
//
// 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.facilities;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import com.hubject.datex.energyinfrastructure.generated.common.ExtensionType;
import com.hubject.datex.energyinfrastructure.generated.common.MultilingualString;
import com.hubject.datex.energyinfrastructure.generated.common.Validity;
/**
* Java class for RightSpecification complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="RightSpecification">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="type" type="{http://datex2.eu/schema/3/facilities}_RightTypeEnum" minOccurs="0"/>
* <element name="description" type="{http://datex2.eu/schema/3/common}MultilingualString" maxOccurs="unbounded" minOccurs="0"/>
* <element name="expiry" type="{http://datex2.eu/schema/3/common}DateTime" minOccurs="0"/>
* <element name="financialReference" type="{http://datex2.eu/schema/3/common}String" minOccurs="0"/>
* <element name="issuer" type="{http://datex2.eu/schema/3/facilities}_OrganisationVersionedReference" minOccurs="0"/>
* <element name="noFeeToUse" type="{http://datex2.eu/schema/3/common}Boolean" minOccurs="0"/>
* <element name="credential" type="{http://datex2.eu/schema/3/facilities}Credential" maxOccurs="unbounded" minOccurs="0"/>
* <element name="validity" type="{http://datex2.eu/schema/3/common}Validity" minOccurs="0"/>
* <element name="_rightSpecificationExtension" type="{http://datex2.eu/schema/3/common}_ExtensionType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RightSpecification", propOrder = {
"type",
"description",
"expiry",
"financialReference",
"issuer",
"noFeeToUse",
"credential",
"validity",
"rightSpecificationExtension"
})
public class RightSpecification {
protected RightTypeEnum type;
protected List description;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar expiry;
protected String financialReference;
protected OrganisationVersionedReference issuer;
protected Boolean noFeeToUse;
protected List credential;
protected Validity validity;
@XmlElement(name = "_rightSpecificationExtension")
protected ExtensionType rightSpecificationExtension;
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link RightTypeEnum }
*
*/
public RightTypeEnum getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link RightTypeEnum }
*
*/
public void setType(RightTypeEnum value) {
this.type = value;
}
/**
* Gets the value of the description 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 description property.
*
*
* For example, to add a new item, do as follows:
*
* getDescription().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MultilingualString }
*
*
*/
public List getDescription() {
if (description == null) {
description = new ArrayList();
}
return this.description;
}
/**
* Gets the value of the expiry property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getExpiry() {
return expiry;
}
/**
* Sets the value of the expiry property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setExpiry(XMLGregorianCalendar value) {
this.expiry = value;
}
/**
* Gets the value of the financialReference property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFinancialReference() {
return financialReference;
}
/**
* Sets the value of the financialReference property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFinancialReference(String value) {
this.financialReference = value;
}
/**
* Gets the value of the issuer property.
*
* @return
* possible object is
* {@link OrganisationVersionedReference }
*
*/
public OrganisationVersionedReference getIssuer() {
return issuer;
}
/**
* Sets the value of the issuer property.
*
* @param value
* allowed object is
* {@link OrganisationVersionedReference }
*
*/
public void setIssuer(OrganisationVersionedReference value) {
this.issuer = value;
}
/**
* Gets the value of the noFeeToUse property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isNoFeeToUse() {
return noFeeToUse;
}
/**
* Sets the value of the noFeeToUse property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setNoFeeToUse(Boolean value) {
this.noFeeToUse = value;
}
/**
* Gets the value of the credential 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 credential property.
*
*
* For example, to add a new item, do as follows:
*
* getCredential().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Credential }
*
*
*/
public List getCredential() {
if (credential == null) {
credential = new ArrayList();
}
return this.credential;
}
/**
* Gets the value of the validity property.
*
* @return
* possible object is
* {@link Validity }
*
*/
public Validity getValidity() {
return validity;
}
/**
* Sets the value of the validity property.
*
* @param value
* allowed object is
* {@link Validity }
*
*/
public void setValidity(Validity value) {
this.validity = value;
}
/**
* Gets the value of the rightSpecificationExtension property.
*
* @return
* possible object is
* {@link ExtensionType }
*
*/
public ExtensionType getRightSpecificationExtension() {
return rightSpecificationExtension;
}
/**
* Sets the value of the rightSpecificationExtension property.
*
* @param value
* allowed object is
* {@link ExtensionType }
*
*/
public void setRightSpecificationExtension(ExtensionType value) {
this.rightSpecificationExtension = value;
}
}