com.foursoft.harness.kbl.v24.KblHarness 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.List;
import javax.xml.bind.Marshaller;
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.XmlTransient;
import javax.xml.bind.annotation.XmlType;
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;
/**
* Java class for Harness complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Harness">
* <complexContent>
* <extension base="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Part_with_title_block">
* <sequence>
* <element name="Content" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Harness_content"/>
* <element name="Schematic_connection" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Schematic_connection" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Accessory_occurrence" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Accessory_occurrence" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Assembly_part_occurrence" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Assembly_part_occurrence" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Cavity_plug_occurrence" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Cavity_plug_occurrence" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Cavity_seal_occurrence" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Cavity_seal_occurrence" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Co_pack_occurrence" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Co_pack_occurrence" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Component_box_occurrence" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Component_box_occurrence" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Component_occurrence" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Component_occurrence" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Connection" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Connection" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Connector_occurrence" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Connector_occurrence" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Fixing_occurrence" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Fixing_occurrence" maxOccurs="unbounded" minOccurs="0"/>
* <element name="General_wire_occurrence" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}General_wire_occurrence" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Special_terminal_occurrence" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Special_terminal_occurrence" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Terminal_occurrence" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Terminal_occurrence" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Wire_protection_occurrence" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Wire_protection_occurrence" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Wiring_group" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Wiring_group" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Harness_configuration" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Harness_configuration" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Module" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Module" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Module_configuration" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Module_configuration" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Module_families" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Module_family" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Harness", namespace = "http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema", propOrder = {
"content",
"schematicConnections",
"accessoryOccurrences",
"assemblyPartOccurrences",
"cavityPlugOccurrences",
"cavitySealOccurrences",
"coPackOccurrences",
"componentBoxOccurrences",
"componentOccurrences",
"connections",
"connectorOccurrences",
"fixingOccurrences",
"generalWireOccurrences",
"specialTerminalOccurrences",
"terminalOccurrences",
"wireProtectionOccurrences",
"wiringGroups",
"harnessConfigurations",
"modules",
"moduleConfigurations",
"moduleFamilies"
})
public class KblHarness
extends KblPartWithTitleBlock
implements Serializable, HasConnectionOrOccurrences, HasLocatedComponents, Visitable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "Content", required = true)
@XmlSchemaType(name = "string")
protected KblHarnessContent content;
@XmlElement(name = "Schematic_connection")
protected List schematicConnections;
@XmlElement(name = "Accessory_occurrence")
protected List accessoryOccurrences;
@XmlElement(name = "Assembly_part_occurrence")
protected List assemblyPartOccurrences;
@XmlElement(name = "Cavity_plug_occurrence")
protected List cavityPlugOccurrences;
@XmlElement(name = "Cavity_seal_occurrence")
protected List cavitySealOccurrences;
@XmlElement(name = "Co_pack_occurrence")
protected List coPackOccurrences;
@XmlElement(name = "Component_box_occurrence")
protected List componentBoxOccurrences;
@XmlElement(name = "Component_occurrence")
protected List componentOccurrences;
@XmlElement(name = "Connection")
protected List connections;
@XmlElement(name = "Connector_occurrence")
protected List connectorOccurrences;
@XmlElement(name = "Fixing_occurrence")
protected List fixingOccurrences;
@XmlElement(name = "General_wire_occurrence")
protected List generalWireOccurrences;
@XmlElement(name = "Special_terminal_occurrence")
protected List specialTerminalOccurrences;
@XmlElement(name = "Terminal_occurrence")
protected List terminalOccurrences;
@XmlElement(name = "Wire_protection_occurrence")
protected List wireProtectionOccurrences;
@XmlElement(name = "Wiring_group")
protected List wiringGroups;
@XmlElement(name = "Harness_configuration")
protected List harnessConfigurations;
@XmlElement(name = "Module")
protected List modules;
@XmlElement(name = "Module_configuration")
protected List moduleConfigurations;
@XmlElement(name = "Module_families")
protected List moduleFamilies;
@XmlTransient
@XmlParent
private KBLContainer parentKBLContainer;
/**
* Gets the value of the content property.
*
* @return
* possible object is
* {@link KblHarnessContent }
*
*/
public KblHarnessContent getContent() {
return content;
}
/**
* Sets the value of the content property.
*
* @param value
* allowed object is
* {@link KblHarnessContent }
*
*/
public void setContent(KblHarnessContent value) {
this.content = value;
}
/**
* Gets the value of the schematicConnections 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 schematicConnections property.
*
*
* For example, to add a new item, do as follows:
*
* getSchematicConnections().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblSchematicConnection }
*
*
*/
public List getSchematicConnections() {
if (schematicConnections == null) {
schematicConnections = new ArrayList();
}
return this.schematicConnections;
}
/**
* Gets the value of the accessoryOccurrences 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 accessoryOccurrences property.
*
*
* For example, to add a new item, do as follows:
*
* getAccessoryOccurrences().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblAccessoryOccurrence }
*
*
*/
public List getAccessoryOccurrences() {
if (accessoryOccurrences == null) {
accessoryOccurrences = new ArrayList();
}
return this.accessoryOccurrences;
}
/**
* Gets the value of the assemblyPartOccurrences 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 assemblyPartOccurrences property.
*
*
* For example, to add a new item, do as follows:
*
* getAssemblyPartOccurrences().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblAssemblyPartOccurrence }
*
*
*/
public List getAssemblyPartOccurrences() {
if (assemblyPartOccurrences == null) {
assemblyPartOccurrences = new ArrayList();
}
return this.assemblyPartOccurrences;
}
/**
* Gets the value of the cavityPlugOccurrences 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 cavityPlugOccurrences property.
*
*
* For example, to add a new item, do as follows:
*
* getCavityPlugOccurrences().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblCavityPlugOccurrence }
*
*
*/
public List getCavityPlugOccurrences() {
if (cavityPlugOccurrences == null) {
cavityPlugOccurrences = new ArrayList();
}
return this.cavityPlugOccurrences;
}
/**
* Gets the value of the cavitySealOccurrences 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 cavitySealOccurrences property.
*
*
* For example, to add a new item, do as follows:
*
* getCavitySealOccurrences().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblCavitySealOccurrence }
*
*
*/
public List getCavitySealOccurrences() {
if (cavitySealOccurrences == null) {
cavitySealOccurrences = new ArrayList();
}
return this.cavitySealOccurrences;
}
/**
* Gets the value of the coPackOccurrences 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 coPackOccurrences property.
*
*
* For example, to add a new item, do as follows:
*
* getCoPackOccurrences().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblCoPackOccurrence }
*
*
*/
public List getCoPackOccurrences() {
if (coPackOccurrences == null) {
coPackOccurrences = new ArrayList();
}
return this.coPackOccurrences;
}
/**
* Gets the value of the componentBoxOccurrences 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 componentBoxOccurrences property.
*
*
* For example, to add a new item, do as follows:
*
* getComponentBoxOccurrences().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblComponentBoxOccurrence }
*
*
*/
public List getComponentBoxOccurrences() {
if (componentBoxOccurrences == null) {
componentBoxOccurrences = new ArrayList();
}
return this.componentBoxOccurrences;
}
/**
* Gets the value of the componentOccurrences 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 componentOccurrences property.
*
*
* For example, to add a new item, do as follows:
*
* getComponentOccurrences().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblComponentOccurrence }
*
*
*/
public List getComponentOccurrences() {
if (componentOccurrences == null) {
componentOccurrences = new ArrayList();
}
return this.componentOccurrences;
}
/**
* Gets the value of the connections 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 connections property.
*
*
* For example, to add a new item, do as follows:
*
* getConnections().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblConnection }
*
*
*/
public List getConnections() {
if (connections == null) {
connections = new ArrayList();
}
return this.connections;
}
/**
* Gets the value of the connectorOccurrences 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 connectorOccurrences property.
*
*
* For example, to add a new item, do as follows:
*
* getConnectorOccurrences().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblConnectorOccurrence }
*
*
*/
public List getConnectorOccurrences() {
if (connectorOccurrences == null) {
connectorOccurrences = new ArrayList();
}
return this.connectorOccurrences;
}
/**
* Gets the value of the fixingOccurrences 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 fixingOccurrences property.
*
*
* For example, to add a new item, do as follows:
*
* getFixingOccurrences().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblFixingOccurrence }
*
*
*/
public List getFixingOccurrences() {
if (fixingOccurrences == null) {
fixingOccurrences = new ArrayList();
}
return this.fixingOccurrences;
}
/**
* Gets the value of the generalWireOccurrences 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 generalWireOccurrences property.
*
*
* For example, to add a new item, do as follows:
*
* getGeneralWireOccurrences().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblGeneralWireOccurrence }
*
*
*/
public List getGeneralWireOccurrences() {
if (generalWireOccurrences == null) {
generalWireOccurrences = new ArrayList();
}
return this.generalWireOccurrences;
}
/**
* Gets the value of the specialTerminalOccurrences 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 specialTerminalOccurrences property.
*
*
* For example, to add a new item, do as follows:
*
* getSpecialTerminalOccurrences().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblSpecialTerminalOccurrence }
*
*
*/
public List getSpecialTerminalOccurrences() {
if (specialTerminalOccurrences == null) {
specialTerminalOccurrences = new ArrayList();
}
return this.specialTerminalOccurrences;
}
/**
* Gets the value of the terminalOccurrences 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 terminalOccurrences property.
*
*
* For example, to add a new item, do as follows:
*
* getTerminalOccurrences().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblTerminalOccurrence }
*
*
*/
public List getTerminalOccurrences() {
if (terminalOccurrences == null) {
terminalOccurrences = new ArrayList();
}
return this.terminalOccurrences;
}
/**
* Gets the value of the wireProtectionOccurrences 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 wireProtectionOccurrences property.
*
*
* For example, to add a new item, do as follows:
*
* getWireProtectionOccurrences().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblWireProtectionOccurrence }
*
*
*/
public List getWireProtectionOccurrences() {
if (wireProtectionOccurrences == null) {
wireProtectionOccurrences = new ArrayList();
}
return this.wireProtectionOccurrences;
}
/**
* Gets the value of the wiringGroups 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 wiringGroups property.
*
*
* For example, to add a new item, do as follows:
*
* getWiringGroups().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblWiringGroup }
*
*
*/
public List getWiringGroups() {
if (wiringGroups == null) {
wiringGroups = new ArrayList();
}
return this.wiringGroups;
}
/**
* Gets the value of the harnessConfigurations 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 harnessConfigurations property.
*
*
* For example, to add a new item, do as follows:
*
* getHarnessConfigurations().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblHarnessConfiguration }
*
*
*/
public List getHarnessConfigurations() {
if (harnessConfigurations == null) {
harnessConfigurations = new ArrayList();
}
return this.harnessConfigurations;
}
/**
* Gets the value of the modules 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 modules property.
*
*
* For example, to add a new item, do as follows:
*
* getModules().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblModule }
*
*
*/
public List getModules() {
if (modules == null) {
modules = new ArrayList();
}
return this.modules;
}
/**
* Gets the value of the moduleConfigurations 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 moduleConfigurations property.
*
*
* For example, to add a new item, do as follows:
*
* getModuleConfigurations().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblModuleConfiguration }
*
*
*/
public List getModuleConfigurations() {
if (moduleConfigurations == null) {
moduleConfigurations = new ArrayList();
}
return this.moduleConfigurations;
}
/**
* Gets the value of the moduleFamilies 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 moduleFamilies property.
*
*
* For example, to add a new item, do as follows:
*
* getModuleFamilies().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KblModuleFamily }
*
*
*/
public List getModuleFamilies() {
if (moduleFamilies == null) {
moduleFamilies = new ArrayList();
}
return this.moduleFamilies;
}
/**
* 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.visitKblHarness(this);
}
public boolean beforeMarshal(Marshaller marshaller) {
super.beforeMarshal(marshaller);
if ((schematicConnections!= null)&&schematicConnections.isEmpty()) {
schematicConnections = null;
}
if ((accessoryOccurrences!= null)&&accessoryOccurrences.isEmpty()) {
accessoryOccurrences = null;
}
if ((assemblyPartOccurrences!= null)&&assemblyPartOccurrences.isEmpty()) {
assemblyPartOccurrences = null;
}
if ((cavityPlugOccurrences!= null)&&cavityPlugOccurrences.isEmpty()) {
cavityPlugOccurrences = null;
}
if ((cavitySealOccurrences!= null)&&cavitySealOccurrences.isEmpty()) {
cavitySealOccurrences = null;
}
if ((coPackOccurrences!= null)&&coPackOccurrences.isEmpty()) {
coPackOccurrences = null;
}
if ((componentBoxOccurrences!= null)&&componentBoxOccurrences.isEmpty()) {
componentBoxOccurrences = null;
}
if ((componentOccurrences!= null)&&componentOccurrences.isEmpty()) {
componentOccurrences = null;
}
if ((connections!= null)&&connections.isEmpty()) {
connections = null;
}
if ((connectorOccurrences!= null)&&connectorOccurrences.isEmpty()) {
connectorOccurrences = null;
}
if ((fixingOccurrences!= null)&&fixingOccurrences.isEmpty()) {
fixingOccurrences = null;
}
if ((generalWireOccurrences!= null)&&generalWireOccurrences.isEmpty()) {
generalWireOccurrences = null;
}
if ((specialTerminalOccurrences!= null)&&specialTerminalOccurrences.isEmpty()) {
specialTerminalOccurrences = null;
}
if ((terminalOccurrences!= null)&&terminalOccurrences.isEmpty()) {
terminalOccurrences = null;
}
if ((wireProtectionOccurrences!= null)&&wireProtectionOccurrences.isEmpty()) {
wireProtectionOccurrences = null;
}
if ((wiringGroups!= null)&&wiringGroups.isEmpty()) {
wiringGroups = null;
}
if ((harnessConfigurations!= null)&&harnessConfigurations.isEmpty()) {
harnessConfigurations = null;
}
if ((modules!= null)&&modules.isEmpty()) {
modules = null;
}
if ((moduleConfigurations!= null)&&moduleConfigurations.isEmpty()) {
moduleConfigurations = null;
}
if ((moduleFamilies!= null)&&moduleFamilies.isEmpty()) {
moduleFamilies = null;
}
return true;
}
}