Class VecValueWithUnit

java.lang.Object
com.foursoft.harness.vec.v113.VecValueWithUnit
All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, Visitable, Serializable
Direct Known Subclasses:
VecNumericalValue, VecValueRange

public abstract class VecValueWithUnit extends Object implements Serializable, Identifiable, ModifiableIdentifiable, Visitable

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>
 
See Also:
  • Field Details

    • unitComponent

      protected VecUnit unitComponent
    • xmlId

      protected String xmlId
  • Constructor Details

    • VecValueWithUnit

      public VecValueWithUnit()
  • Method Details

    • getUnitComponent

      public VecUnit getUnitComponent()
      Gets the value of the unitComponent property.
      Returns:
      possible object is Object
    • setUnitComponent

      public void setUnitComponent(VecUnit value)
      Sets the value of the unitComponent property.
      Parameters:
      value - allowed object is Object
    • getXmlId

      public String getXmlId()
      Gets the value of the xmlId property.
      Specified by:
      getXmlId in interface Identifiable
      Returns:
      possible object is String
    • setXmlId

      public void setXmlId(String value)
      Sets the value of the xmlId property.
      Specified by:
      setXmlId in interface ModifiableIdentifiable
      Parameters:
      value - allowed object is String
    • toString

      public String toString()
      Overrides:
      toString in class Object