com.foursoft.vecmodel.vec113.VecIECUnit Maven / Gradle / Ivy
//
// 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: 2021.08.10 at 09:49:21 AM UTC
//
package com.foursoft.vecmodel.vec113;
import java.io.Serializable;
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.XmlType;
import com.foursoft.vecmodel.vec113.visitor.Visitable;
import com.foursoft.vecmodel.vec113.visitor.Visitor;
/**
* The IECUnit class can define quantities in the terms of the IEC-Unit-System by specifying the corresponding IEC prefix (optional) and an IEC unit name.
*
* Java class for IECUnit complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="IECUnit">
* <complexContent>
* <extension base="{http://www.prostep.org/ecad-if/2011/vec}Unit">
* <sequence>
* <element name="IecUnitName" type="{http://www.prostep.org/ecad-if/2011/vec}IECUnitName"/>
* <element name="IecPrefix" type="{http://www.prostep.org/ecad-if/2011/vec}IECPrefix" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "IECUnit", propOrder = {
"iecUnitName",
"iecPrefix"
})
public class VecIECUnit
extends VecUnit
implements Serializable, Visitable
{
private final static long serialVersionUID = 1L;
/**
* Specifies the name of the IEC unit.
*
*/
@XmlElement(name = "IecUnitName", required = true)
@XmlSchemaType(name = "string")
protected VecIECUnitName iecUnitName;
/**
* Specifies the prefix of the IEC unit.
*
*/
@XmlElement(name = "IecPrefix")
@XmlSchemaType(name = "string")
protected VecIECPrefix iecPrefix;
/**
* Gets the value of the iecUnitName property.
*
*
Specifies the name of the IEC unit.
*
* @return
* possible object is
* {@link VecIECUnitName }
*
*/
public VecIECUnitName getIecUnitName() {
return iecUnitName;
}
/**
* Sets the value of the iecUnitName property.
*
* @param value
* allowed object is
* {@link VecIECUnitName }
*
* @see #getIecUnitName()
*/
public void setIecUnitName(VecIECUnitName value) {
this.iecUnitName = value;
}
/**
* Gets the value of the iecPrefix property.
*
*
Specifies the prefix of the IEC unit.
*
* @return
* possible object is
* {@link VecIECPrefix }
*
*/
public VecIECPrefix getIecPrefix() {
return iecPrefix;
}
/**
* Sets the value of the iecPrefix property.
*
* @param value
* allowed object is
* {@link VecIECPrefix }
*
* @see #getIecPrefix()
*/
public void setIecPrefix(VecIECPrefix value) {
this.iecPrefix = value;
}
publicR accept(Visitor aVisitor)
throws E
{
return aVisitor.visitVecIECUnit(this);
}
}