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

com.foursoft.harness.kbl.v24.KblFuseOccurrence 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.XmlElement;
import javax.xml.bind.annotation.XmlType;
import com.foursoft.harness.kbl.v24.visitor.Visitable;
import com.foursoft.harness.kbl.v24.visitor.Visitor;


/**
 * 

Java class for Fuse_occurrence complex type. * *

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

 * <complexType name="Fuse_occurrence">
 *   <complexContent>
 *     <extension base="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Component_occurrence">
 *       <sequence>
 *         <element name="Designed_operating_current" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Numerical_value" minOccurs="0"/>
 *         <element name="Maximum_operating_current" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Numerical_value" minOccurs="0"/>
 *         <element name="AttachedConsumers" type="{http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema}Consumers" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Fuse_occurrence", namespace = "http://www.prostep.org/Car_electric_container/KBL2.3/KBLSchema", propOrder = { "designedOperatingCurrent", "maximumOperatingCurrent", "attachedConsumers" }) public class KblFuseOccurrence extends KblComponentOccurrence implements Serializable, Visitable { private final static long serialVersionUID = 1L; @XmlElement(name = "Designed_operating_current") protected KblNumericalValue designedOperatingCurrent; @XmlElement(name = "Maximum_operating_current") protected KblNumericalValue maximumOperatingCurrent; @XmlElement(name = "AttachedConsumers") protected List attachedConsumers; /** * Gets the value of the designedOperatingCurrent property. * * @return * possible object is * {@link KblNumericalValue } * */ public KblNumericalValue getDesignedOperatingCurrent() { return designedOperatingCurrent; } /** * Sets the value of the designedOperatingCurrent property. * * @param value * allowed object is * {@link KblNumericalValue } * */ public void setDesignedOperatingCurrent(KblNumericalValue value) { this.designedOperatingCurrent = value; } /** * Gets the value of the maximumOperatingCurrent property. * * @return * possible object is * {@link KblNumericalValue } * */ public KblNumericalValue getMaximumOperatingCurrent() { return maximumOperatingCurrent; } /** * Sets the value of the maximumOperatingCurrent property. * * @param value * allowed object is * {@link KblNumericalValue } * */ public void setMaximumOperatingCurrent(KblNumericalValue value) { this.maximumOperatingCurrent = value; } /** * Gets the value of the attachedConsumers 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 attachedConsumers property. * *

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

     *    getAttachedConsumers().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KblConsumers } * * */ public List getAttachedConsumers() { if (attachedConsumers == null) { attachedConsumers = new ArrayList(); } return this.attachedConsumers; } publicR accept(Visitor aVisitor) throws E { return aVisitor.visitKblFuseOccurrence(this); } public boolean beforeMarshal(Marshaller marshaller) { super.beforeMarshal(marshaller); if ((attachedConsumers!= null)&&attachedConsumers.isEmpty()) { attachedConsumers = null; } return true; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy