com.foursoft.harness.kbl.v24.KblExternalReference Maven / Gradle / Ivy
Show all versions of kbl-v24 Show documentation
//
// 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: 2022.07.05 at 05:22:49 PM UTC
//
package com.foursoft.harness.kbl.v24;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.xml.bind.Marshaller;
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.XmlID;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.foursoft.harness.kbl.v24.visitor.Visitable;
import com.foursoft.harness.kbl.v24.visitor.Visitor;
import com.foursoft.jaxb.navext.runtime.ExtendedUnmarshaller;
import com.foursoft.jaxb.navext.runtime.annotations.XmlParent;
import com.foursoft.jaxb.navext.runtime.model.Identifiable;
import com.foursoft.jaxb.navext.runtime.model.ModifiableIdentifiable;
/**
* Java class for External_reference complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="External_reference">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Document_type" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Document_number" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Change_level" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="File_name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Location" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Data_format" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Creating_system" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Processing_information" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Processing_instruction" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "External_reference", namespace = "http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema", propOrder = {
"documentType",
"documentNumber",
"changeLevel",
"fileName",
"location",
"dataFormat",
"creatingSystem",
"processingInformations"
})
public class KblExternalReference implements Serializable, HasProcessingInformation, Visitable, Identifiable, ModifiableIdentifiable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "Document_type", required = true)
protected String documentType;
@XmlElement(name = "Document_number", required = true)
protected String documentNumber;
@XmlElement(name = "Change_level", required = true)
protected String changeLevel;
@XmlElement(name = "File_name")
protected String fileName;
@XmlElement(name = "Location")
protected String location;
@XmlElement(name = "Data_format", required = true)
protected String dataFormat;
@XmlElement(name = "Creating_system")
protected String creatingSystem;
@XmlElement(name = "Processing_information")
protected List processingInformations;
@XmlAttribute(name = "id", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String xmlId;
@XmlTransient
private Set refDefaultDimensionSpecification = new HashSet();
@XmlTransient
private Set refConnection = new HashSet();
@XmlTransient
private Set refPart = new HashSet();
@XmlTransient
@XmlParent
private KBLContainer parentKBLContainer;
/**
* Gets the value of the documentType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocumentType() {
return documentType;
}
/**
* Sets the value of the documentType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocumentType(String value) {
this.documentType = value;
}
/**
* Gets the value of the documentNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocumentNumber() {
return documentNumber;
}
/**
* Sets the value of the documentNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocumentNumber(String value) {
this.documentNumber = value;
}
/**
* Gets the value of the changeLevel property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getChangeLevel() {
return changeLevel;
}
/**
* Sets the value of the changeLevel property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setChangeLevel(String value) {
this.changeLevel = value;
}
/**
* Gets the value of the fileName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFileName() {
return fileName;
}
/**
* Sets the value of the fileName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFileName(String value) {
this.fileName = value;
}
/**
* Gets the value of the location property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLocation() {
return location;
}
/**
* Sets the value of the location property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLocation(String value) {
this.location = value;
}
/**
* Gets the value of the dataFormat property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDataFormat() {
return dataFormat;
}
/**
* Sets the value of the dataFormat property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDataFormat(String value) {
this.dataFormat = value;
}
/**
* Gets the value of the creatingSystem property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCreatingSystem() {
return creatingSystem;
}
/**
* Sets the value of the creatingSystem property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreatingSystem(String value) {
this.creatingSystem = value;
}
/**
* Gets the value of the processingInformations 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 processingInformations property.
*
*
* For example, to add a new item, do as follows:
*
* getProcessingInformations().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblProcessingInstruction }
*
*
*/
public List getProcessingInformations() {
if (processingInformations == null) {
processingInformations = new ArrayList();
}
return this.processingInformations;
}
/**
* Gets the value of the xmlId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getXmlId() {
return xmlId;
}
/**
* Sets the value of the xmlId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setXmlId(String value) {
this.xmlId = value;
}
/**
* Gets a {@link Set } of all {@link KblDefaultDimensionSpecification } that have a outgoing reference to this object.
* Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by the {@link ExtendedUnmarshaller }.
This property is consistent to the state of object model at the time of unmarshalling. It does not reflect any changes done in the object model after the unmarshalling.
* This property has no effect when the object is marshalled to xml.
*
*/
public Set getRefDefaultDimensionSpecification() {
return refDefaultDimensionSpecification;
}
/**
* Gets a {@link Set } of all {@link KblConnection } that have a outgoing reference to this object.
* Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by the {@link ExtendedUnmarshaller }.
This property is consistent to the state of object model at the time of unmarshalling. It does not reflect any changes done in the object model after the unmarshalling.
* This property has no effect when the object is marshalled to xml.
*
*/
public Set getRefConnection() {
return refConnection;
}
/**
* Gets a {@link Set } of all {@link KblPart } that have a outgoing reference to this object.
* Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by the {@link ExtendedUnmarshaller }.
This property is consistent to the state of object model at the time of unmarshalling. It does not reflect any changes done in the object model after the unmarshalling.
* This property has no effect when the object is marshalled to xml.
*
*/
public Set getRefPart() {
return refPart;
}
/**
* Gets a reference to the parent of this object in the XML DOM Tree. If this class can have different parents in DOM, this property is initialized with the parent, if the parent is a {@link KBLContainer } otherwise it will be null
* Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by the {@link ExtendedUnmarshaller }.
This property is consistent to the state of object model at the time of unmarshalling. It does not reflect any changes done in the object model after the unmarshalling.
* This property has no effect when the object is marshalled to xml.
*
*/
public KBLContainer getParentKBLContainer() {
return parentKBLContainer;
}
publicR accept(Visitor aVisitor)
throws E
{
return aVisitor.visitKblExternalReference(this);
}
public boolean beforeMarshal(Marshaller marshaller) {
if ((processingInformations!= null)&&processingInformations.isEmpty()) {
processingInformations = null;
}
return true;
}
@Override
public String toString() {
return this.getClass().getSimpleName() + "[" + this.getXmlId() + "]";
}
}