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

com.foursoft.vecmodel.vec113.VecValueWithUnit 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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlIDREF;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.foursoft.vecmodel.vec113.visitor.Visitable;
import com.foursoft.xml.annotations.XmlBackReference;
import com.foursoft.xml.model.Identifiable;
import com.foursoft.xml.model.ModifiableIdentifiable;


/**
 * 

Abstract class either for a single numerical measure or a range of numerical measures with upper, lower, or upper and lower bounds.

* *

Java class for ValueWithUnit complex type. * *

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

 * <complexType name="ValueWithUnit">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="UnitComponent" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
 *       </sequence>
 *       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ValueWithUnit", propOrder = { "unitComponent" }) @XmlSeeAlso({ VecNumericalValue.class, VecValueRange.class }) public abstract class VecValueWithUnit implements Serializable, Visitable, Identifiable, ModifiableIdentifiable { private final static long serialVersionUID = 1L; @XmlElement(name = "UnitComponent", required = true, type = java.lang.Object.class) @XmlIDREF @XmlSchemaType(name = "IDREF") @XmlBackReference(destinationField = "refValueWithUnit") protected VecUnit unitComponent; @XmlAttribute(name = "id", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String xmlId; /** * Gets the value of the unitComponent property. * * @return * possible object is * {@link Object } * */ public VecUnit getUnitComponent() { return unitComponent; } /** * Sets the value of the unitComponent property. * * @param value * allowed object is * {@link Object } * */ public void setUnitComponent(VecUnit value) { this.unitComponent = value; } /** * 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; } @Override public String toString() { return this.getClass().getSimpleName() + "[" + this.getXmlId() + "]"; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy