java.lang.Object
com.foursoft.harness.vec.v113.VecUnit
All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, Visitable, Serializable
Direct Known Subclasses:
VecCompositeUnit, VecCustomUnit, VecIECUnit, VecImperialUnit, VecOtherUnit, VecSIUnit, VecUSUnit

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

A precisely specified quantity in terms of which the magnitudes of other quantities of the same kind can be stated. The different systems to define units are represented by the subclasses of this class (e.g. SIUnit, ImperialUnit).

Java class for Unit complex type.

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


 <complexType name="Unit">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Exponent" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • exponent

      protected BigInteger exponent

      Defines the exponent with which this unit instance should be used. In order to define square meters for example, the SIUnit "metre" with an exponent of 2 will be used. If no exponent is defined it is equivalent to the value 1.

    • xmlId

      protected String xmlId
  • Constructor Details

    • VecUnit

      public VecUnit()
  • Method Details

    • getExponent

      public BigInteger getExponent()
      Gets the value of the exponent property.

      Defines the exponent with which this unit instance should be used. In order to define square meters for example, the SIUnit "metre" with an exponent of 2 will be used. If no exponent is defined it is equivalent to the value 1.

      Returns:
      possible object is BigInteger
    • setExponent

      public void setExponent(BigInteger value)
      Sets the value of the exponent property.
      Parameters:
      value - allowed object is BigInteger
      See Also:
    • 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
    • getRefBuildingBlockSpecification2D

      public Set<VecBuildingBlockSpecification2D> getRefBuildingBlockSpecification2D()
      Gets a Set of all VecBuildingBlockSpecification2D that have a outgoing reference to this object.
      Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by the ExtendedUnmarshaller.
      This property is consistent to the state of object model at the time of unmarshalling. It does not reflect any changes done in the object model after the unmarshalling.
      This property has no effect when the object is marshalled to xml.
    • getRefBuildingBlockSpecification3D

      public Set<VecBuildingBlockSpecification3D> getRefBuildingBlockSpecification3D()
      Gets a Set of all VecBuildingBlockSpecification3D that have a outgoing reference to this object.
      Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by the ExtendedUnmarshaller.
      This property is consistent to the state of object model at the time of unmarshalling. It does not reflect any changes done in the object model after the unmarshalling.
      This property has no effect when the object is marshalled to xml.
    • getRefCompositeUnit

      public Set<VecCompositeUnit> getRefCompositeUnit()
      Gets a Set of all VecCompositeUnit that have a outgoing reference to this object.
      Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by the ExtendedUnmarshaller.
      This property is consistent to the state of object model at the time of unmarshalling. It does not reflect any changes done in the object model after the unmarshalling.
      This property has no effect when the object is marshalled to xml.
    • getRefDimension

      public Set<VecDimension> getRefDimension()
      Gets a Set of all VecDimension that have a outgoing reference to this object.
      Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by the ExtendedUnmarshaller.
      This property is consistent to the state of object model at the time of unmarshalling. It does not reflect any changes done in the object model after the unmarshalling.
      This property has no effect when the object is marshalled to xml.
    • getRefValueWithUnit

      public Set<VecValueWithUnit> getRefValueWithUnit()
      Gets a Set of all VecValueWithUnit that have a outgoing reference to this object.
      Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by the ExtendedUnmarshaller.
      This property is consistent to the state of object model at the time of unmarshalling. It does not reflect any changes done in the object model after the unmarshalling.
      This property has no effect when the object is marshalled to xml.
    • getParentVecContent

      public VecContent getParentVecContent()
      Gets a reference to the parent of this object in the XML DOM Tree. If this class can have different parents in DOM, this property is initialized with the parent, if the parent is a VecContent otherwise it will be null.
      Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by the ExtendedUnmarshaller.
      This property is consistent to the state of object model at the time of unmarshalling. It does not reflect any changes done in the object model after the unmarshalling.
      This property has no effect when the object is marshalled to xml.
    • toString

      public String toString()
      Overrides:
      toString in class Object