Class VecCompositeUnit

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

public class VecCompositeUnit extends VecUnit implements Serializable, Visitable

Defines a unit as a composition of other units. The composition is done by multiplying the different other units. By this way combined units like kg/m can be formed.

Java class for CompositeUnit complex type.

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


 <complexType name="CompositeUnit">
   <complexContent>
     <extension base="{http://www.prostep.org/ecad-if/2011/vec}Unit">
       <sequence>
         <element name="Factors" type="{http://www.w3.org/2001/XMLSchema}IDREFS"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • factors

      protected List<VecUnit> factors

      References theUnitsthat are used as factors to create theCompositeUnit.

  • Constructor Details

    • VecCompositeUnit

      public VecCompositeUnit()
  • Method Details

    • getFactors

      public List<VecUnit> getFactors()
      Gets the value of the factors property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the factors property.

      For example, to add a new item, do as follows:

          getFactors().add(newItem);
       

      Objects of the following type(s) are allowed in the list Object

      References theUnitsthat are used as factors to create theCompositeUnit.

    • accept

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