java.lang.Object
com.foursoft.harness.vec.v113.VecUnit
com.foursoft.harness.vec.v113.VecSIUnit
All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, Visitable, Serializable

public class VecSIUnit extends VecUnit implements Serializable, Visitable

The SIUnit class can define quantities in the terms of the SI-Unit-System by specifying the corresponding SI prefix (optional) and a SI unit name. The usage of SI units must be the preferred way of expressing units, since these units can be easily translated into other SI units.

Java class for SIUnit complex type.

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


 <complexType name="SIUnit">
   <complexContent>
     <extension base="{http://www.prostep.org/ecad-if/2011/vec}Unit">
       <sequence>
         <element name="SiUnitName" type="{http://www.prostep.org/ecad-if/2011/vec}SiUnitName"/>
         <element name="SiPrefix" type="{http://www.prostep.org/ecad-if/2011/vec}SiPrefix" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • siUnitName

      protected VecSiUnitName siUnitName

      Specifies the name of SI unit (e.g. metre, second,...)

    • siPrefix

      protected VecSiPrefix siPrefix

      Specifies the prefix of the SI unit (e.g. milli, centi, mirco,...)

  • Constructor Details

    • VecSIUnit

      public VecSIUnit()
  • Method Details

    • getSiUnitName

      public VecSiUnitName getSiUnitName()
      Gets the value of the siUnitName property.

      Specifies the name of SI unit (e.g. metre, second,...)

      Returns:
      possible object is VecSiUnitName
    • setSiUnitName

      public void setSiUnitName(VecSiUnitName value)
      Sets the value of the siUnitName property.
      Parameters:
      value - allowed object is VecSiUnitName
      See Also:
    • getSiPrefix

      public VecSiPrefix getSiPrefix()
      Gets the value of the siPrefix property.

      Specifies the prefix of the SI unit (e.g. milli, centi, mirco,...)

      Returns:
      possible object is VecSiPrefix
    • setSiPrefix

      public void setSiPrefix(VecSiPrefix value)
      Sets the value of the siPrefix property.
      Parameters:
      value - allowed object is VecSiPrefix
      See Also:
    • accept

      public <R, E extends Throwable> R accept(Visitor<R,E> aVisitor) throws E
      Specified by:
      accept in interface Visitable
      Throws:
      E extends Throwable