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

com.foursoft.harness.kbl.v24.KblAssemblyPart 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.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.XmlElement;
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 Assembly_part complex type. * *

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

 * <complexType name="Assembly_part">
 *   <complexContent>
 *     <extension base="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Part">
 *       <sequence>
 *         <element name="Part_type" type="{http://www.w3.org/2001/XMLSchema}string" 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"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Assembly_part", namespace = "http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema", propOrder = { "partType", "accessoryOccurrences", "assemblyPartOccurrences", "cavityPlugOccurrences", "cavitySealOccurrences", "coPackOccurrences", "componentBoxOccurrences", "componentOccurrences", "connections", "connectorOccurrences", "fixingOccurrences", "generalWireOccurrences", "specialTerminalOccurrences", "terminalOccurrences", "wireProtectionOccurrences", "wiringGroups" }) public class KblAssemblyPart extends KblPart implements Serializable, Visitable { private final static long serialVersionUID = 1L; @XmlElement(name = "Part_type") protected String partType; @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; @XmlTransient private Set refAssemblyPartOccurrence = new HashSet(); @XmlTransient @XmlParent private KBLContainer parentKBLContainer; /** * Gets the value of the partType property. * * @return * possible object is * {@link String } * */ public String getPartType() { return partType; } /** * Sets the value of the partType property. * * @param value * allowed object is * {@link String } * */ public void setPartType(String value) { this.partType = value; } /** * 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 a {@link Set } of all {@link KblAssemblyPartOccurrence } 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 getRefAssemblyPartOccurrence() { return refAssemblyPartOccurrence; } /** * 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.visitKblAssemblyPart(this); } public boolean beforeMarshal(Marshaller marshaller) { super.beforeMarshal(marshaller); 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; } return true; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy