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

com.foursoft.harness.kbl.v24.KBLContainer Maven / Gradle / Ivy

There is a newer version: 5.2.0
Show newest version
//
// 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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
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.model.Identifiable;
import com.foursoft.jaxb.navext.runtime.model.ModifiableIdentifiable;


/**
 * 

Java class for KBL_container complex type. * *

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

 * <complexType name="KBL_container">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Accessory" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Accessory" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Approval" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Approval" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Assembly_part" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Assembly_part" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Cartesian_point" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Cartesian_point" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Cavity_plug" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Cavity_plug" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Cavity_seal" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Cavity_seal" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Change_descriptions" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Change_description" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Co_pack_part" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Co_pack_part" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Component" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Component" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Component_box" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Component_box" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Connector_housing" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Connector_housing" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Creation" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Creation" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Default_dimension_specification" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Default_dimension_specification" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Dimension_specification" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Dimension_specification" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="External_reference" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}External_reference" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Fixing" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Fixing" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="General_terminal" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}General_terminal" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="General_wire" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}General_wire" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Harness" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Harness" minOccurs="0"/>
 *         <element name="Node" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Node" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Routing" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Routing" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Segment" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Segment" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Unit" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Unit" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Wire_protection" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Wire_protection" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
 *       <attribute name="version_id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "KBL_container", namespace = "http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema", propOrder = { "accessories", "approvals", "assemblyParts", "cartesianPoints", "cavityPlugs", "cavitySeals", "changeDescriptions", "coPackParts", "components", "componentBoxes", "connectorHousings", "creations", "defaultDimensionSpecifications", "dimensionSpecifications", "externalReferences", "fixings", "generalTerminals", "generalWires", "harness", "nodes", "routings", "segments", "units", "wireProtections" }) @XmlRootElement(name = "KBL_container", namespace = "http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema") public class KBLContainer implements Serializable, HasParts, Visitable, Identifiable, ModifiableIdentifiable { private final static long serialVersionUID = 1L; @XmlElement(name = "Accessory") protected List accessories; @XmlElement(name = "Approval") protected List approvals; @XmlElement(name = "Assembly_part") protected List assemblyParts; @XmlElement(name = "Cartesian_point") protected List cartesianPoints; @XmlElement(name = "Cavity_plug") protected List cavityPlugs; @XmlElement(name = "Cavity_seal") protected List cavitySeals; @XmlElement(name = "Change_descriptions") protected List changeDescriptions; @XmlElement(name = "Co_pack_part") protected List coPackParts; @XmlElement(name = "Component") protected List components; @XmlElement(name = "Component_box") protected List componentBoxes; @XmlElement(name = "Connector_housing") protected List connectorHousings; @XmlElement(name = "Creation") protected List creations; @XmlElement(name = "Default_dimension_specification") protected List defaultDimensionSpecifications; @XmlElement(name = "Dimension_specification") protected List dimensionSpecifications; @XmlElement(name = "External_reference") protected List externalReferences; @XmlElement(name = "Fixing") protected List fixings; @XmlElement(name = "General_terminal") protected List generalTerminals; @XmlElement(name = "General_wire") protected List generalWires; @XmlElement(name = "Harness") protected KblHarness harness; @XmlElement(name = "Node") protected List nodes; @XmlElement(name = "Routing") protected List routings; @XmlElement(name = "Segment") protected List segments; @XmlElement(name = "Unit") protected List units; @XmlElement(name = "Wire_protection") protected List wireProtections; @XmlAttribute(name = "id", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String xmlId; @XmlAttribute(name = "version_id", required = true) protected String versionId; /** * Gets the value of the accessories 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 accessories property. * *

* For example, to add a new item, do as follows: *

     *    getAccessories().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblAccessory } * * */ public List getAccessories() { if (accessories == null) { accessories = new ArrayList(); } return this.accessories; } /** * Gets the value of the approvals 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 approvals property. * *

* For example, to add a new item, do as follows: *

     *    getApprovals().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblApproval } * * */ public List getApprovals() { if (approvals == null) { approvals = new ArrayList(); } return this.approvals; } /** * Gets the value of the assemblyParts 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 assemblyParts property. * *

* For example, to add a new item, do as follows: *

     *    getAssemblyParts().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblAssemblyPart } * * */ public List getAssemblyParts() { if (assemblyParts == null) { assemblyParts = new ArrayList(); } return this.assemblyParts; } /** * Gets the value of the cartesianPoints 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 cartesianPoints property. * *

* For example, to add a new item, do as follows: *

     *    getCartesianPoints().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblCartesianPoint } * * */ public List getCartesianPoints() { if (cartesianPoints == null) { cartesianPoints = new ArrayList(); } return this.cartesianPoints; } /** * Gets the value of the cavityPlugs 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 cavityPlugs property. * *

* For example, to add a new item, do as follows: *

     *    getCavityPlugs().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblCavityPlug } * * */ public List getCavityPlugs() { if (cavityPlugs == null) { cavityPlugs = new ArrayList(); } return this.cavityPlugs; } /** * Gets the value of the cavitySeals 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 cavitySeals property. * *

* For example, to add a new item, do as follows: *

     *    getCavitySeals().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblCavitySeal } * * */ public List getCavitySeals() { if (cavitySeals == null) { cavitySeals = new ArrayList(); } return this.cavitySeals; } /** * Gets the value of the changeDescriptions 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 changeDescriptions property. * *

* For example, to add a new item, do as follows: *

     *    getChangeDescriptions().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblChangeDescription } * * */ public List getChangeDescriptions() { if (changeDescriptions == null) { changeDescriptions = new ArrayList(); } return this.changeDescriptions; } /** * Gets the value of the coPackParts 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 coPackParts property. * *

* For example, to add a new item, do as follows: *

     *    getCoPackParts().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblCoPackPart } * * */ public List getCoPackParts() { if (coPackParts == null) { coPackParts = new ArrayList(); } return this.coPackParts; } /** * Gets the value of the components 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 components property. * *

* For example, to add a new item, do as follows: *

     *    getComponents().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblComponent } * * */ public List getComponents() { if (components == null) { components = new ArrayList(); } return this.components; } /** * Gets the value of the componentBoxes 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 componentBoxes property. * *

* For example, to add a new item, do as follows: *

     *    getComponentBoxes().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblComponentBox } * * */ public List getComponentBoxes() { if (componentBoxes == null) { componentBoxes = new ArrayList(); } return this.componentBoxes; } /** * Gets the value of the connectorHousings 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 connectorHousings property. * *

* For example, to add a new item, do as follows: *

     *    getConnectorHousings().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblConnectorHousing } * * */ public List getConnectorHousings() { if (connectorHousings == null) { connectorHousings = new ArrayList(); } return this.connectorHousings; } /** * Gets the value of the creations 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 creations property. * *

* For example, to add a new item, do as follows: *

     *    getCreations().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblCreation } * * */ public List getCreations() { if (creations == null) { creations = new ArrayList(); } return this.creations; } /** * Gets the value of the defaultDimensionSpecifications 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 defaultDimensionSpecifications property. * *

* For example, to add a new item, do as follows: *

     *    getDefaultDimensionSpecifications().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblDefaultDimensionSpecification } * * */ public List getDefaultDimensionSpecifications() { if (defaultDimensionSpecifications == null) { defaultDimensionSpecifications = new ArrayList(); } return this.defaultDimensionSpecifications; } /** * Gets the value of the dimensionSpecifications 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 dimensionSpecifications property. * *

* For example, to add a new item, do as follows: *

     *    getDimensionSpecifications().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblDimensionSpecification } * * */ public List getDimensionSpecifications() { if (dimensionSpecifications == null) { dimensionSpecifications = new ArrayList(); } return this.dimensionSpecifications; } /** * Gets the value of the externalReferences 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 externalReferences property. * *

* For example, to add a new item, do as follows: *

     *    getExternalReferences().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblExternalReference } * * */ public List getExternalReferences() { if (externalReferences == null) { externalReferences = new ArrayList(); } return this.externalReferences; } /** * Gets the value of the fixings 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 fixings property. * *

* For example, to add a new item, do as follows: *

     *    getFixings().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblFixing } * * */ public List getFixings() { if (fixings == null) { fixings = new ArrayList(); } return this.fixings; } /** * Gets the value of the generalTerminals 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 generalTerminals property. * *

* For example, to add a new item, do as follows: *

     *    getGeneralTerminals().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblGeneralTerminal } * * */ public List getGeneralTerminals() { if (generalTerminals == null) { generalTerminals = new ArrayList(); } return this.generalTerminals; } /** * Gets the value of the generalWires 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 generalWires property. * *

* For example, to add a new item, do as follows: *

     *    getGeneralWires().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblGeneralWire } * * */ public List getGeneralWires() { if (generalWires == null) { generalWires = new ArrayList(); } return this.generalWires; } /** * Gets the value of the harness property. * * @return * possible object is * {@link KblHarness } * */ public KblHarness getHarness() { return harness; } /** * Sets the value of the harness property. * * @param value * allowed object is * {@link KblHarness } * */ public void setHarness(KblHarness value) { this.harness = value; } /** * Gets the value of the nodes 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 nodes property. * *

* For example, to add a new item, do as follows: *

     *    getNodes().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblNode } * * */ public List getNodes() { if (nodes == null) { nodes = new ArrayList(); } return this.nodes; } /** * Gets the value of the routings 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 routings property. * *

* For example, to add a new item, do as follows: *

     *    getRoutings().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblRouting } * * */ public List getRoutings() { if (routings == null) { routings = new ArrayList(); } return this.routings; } /** * Gets the value of the segments 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 segments property. * *

* For example, to add a new item, do as follows: *

     *    getSegments().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblSegment } * * */ public List getSegments() { if (segments == null) { segments = new ArrayList(); } return this.segments; } /** * Gets the value of the units 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 units property. * *

* For example, to add a new item, do as follows: *

     *    getUnits().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblUnit } * * */ public List getUnits() { if (units == null) { units = new ArrayList(); } return this.units; } /** * Gets the value of the wireProtections 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 wireProtections property. * *

* For example, to add a new item, do as follows: *

     *    getWireProtections().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblWireProtection } * * */ public List getWireProtections() { if (wireProtections == null) { wireProtections = new ArrayList(); } return this.wireProtections; } /** * 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 the value of the versionId property. * * @return * possible object is * {@link String } * */ public String getVersionId() { return versionId; } /** * Sets the value of the versionId property. * * @param value * allowed object is * {@link String } * */ public void setVersionId(String value) { this.versionId = value; } publicR accept(Visitor aVisitor) throws E { return aVisitor.visitKBLContainer(this); } public boolean beforeMarshal(Marshaller marshaller) { if ((accessories!= null)&&accessories.isEmpty()) { accessories = null; } if ((approvals!= null)&&approvals.isEmpty()) { approvals = null; } if ((assemblyParts!= null)&&assemblyParts.isEmpty()) { assemblyParts = null; } if ((cartesianPoints!= null)&&cartesianPoints.isEmpty()) { cartesianPoints = null; } if ((cavityPlugs!= null)&&cavityPlugs.isEmpty()) { cavityPlugs = null; } if ((cavitySeals!= null)&&cavitySeals.isEmpty()) { cavitySeals = null; } if ((changeDescriptions!= null)&&changeDescriptions.isEmpty()) { changeDescriptions = null; } if ((coPackParts!= null)&&coPackParts.isEmpty()) { coPackParts = null; } if ((components!= null)&&components.isEmpty()) { components = null; } if ((componentBoxes!= null)&&componentBoxes.isEmpty()) { componentBoxes = null; } if ((connectorHousings!= null)&&connectorHousings.isEmpty()) { connectorHousings = null; } if ((creations!= null)&&creations.isEmpty()) { creations = null; } if ((defaultDimensionSpecifications!= null)&&defaultDimensionSpecifications.isEmpty()) { defaultDimensionSpecifications = null; } if ((dimensionSpecifications!= null)&&dimensionSpecifications.isEmpty()) { dimensionSpecifications = null; } if ((externalReferences!= null)&&externalReferences.isEmpty()) { externalReferences = null; } if ((fixings!= null)&&fixings.isEmpty()) { fixings = null; } if ((generalTerminals!= null)&&generalTerminals.isEmpty()) { generalTerminals = null; } if ((generalWires!= null)&&generalWires.isEmpty()) { generalWires = null; } if ((nodes!= null)&&nodes.isEmpty()) { nodes = null; } if ((routings!= null)&&routings.isEmpty()) { routings = null; } if ((segments!= null)&&segments.isEmpty()) { segments = null; } if ((units!= null)&&units.isEmpty()) { units = null; } if ((wireProtections!= null)&&wireProtections.isEmpty()) { wireProtections = null; } return true; } @Override public String toString() { return this.getClass().getSimpleName() + "[" + this.getXmlId() + "]"; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy