Class VecWireLength

java.lang.Object
com.foursoft.harness.vec.v113.VecExtendableElement
com.foursoft.harness.vec.v113.VecWireLength
All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, HasCustomProperties<VecCustomProperty>, Visitable, Serializable

public class VecWireLength extends VecExtendableElement implements Serializable, Visitable

Defines the length of a WireElementReference. A WireElementReference can have multiple lengths of different types, but must not have more than one length of the same type.

Java class for WireLength complex type.

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


 <complexType name="WireLength">
   <complexContent>
     <extension base="{http://www.prostep.org/ecad-if/2011/vec}ExtendableElement">
       <sequence>
         <element name="LengthType" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="LengthValue" type="{http://www.prostep.org/ecad-if/2011/vec}NumericalValue"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • lengthType

      protected String lengthType

      The type of the length (e.g. DMU, CUT). This should be an enumeration of values defined in a conformance class.

    • lengthValue

      protected VecNumericalValue lengthValue

      The length value for the type.

  • Constructor Details

    • VecWireLength

      public VecWireLength()
  • Method Details

    • getLengthType

      public String getLengthType()
      Gets the value of the lengthType property.

      The type of the length (e.g. DMU, CUT). This should be an enumeration of values defined in a conformance class.

      Returns:
      possible object is String
    • setLengthType

      public void setLengthType(String value)
      Sets the value of the lengthType property.
      Parameters:
      value - allowed object is String
      See Also:
    • getLengthValue

      public VecNumericalValue getLengthValue()
      Gets the value of the lengthValue property.

      The length value for the type.

      Returns:
      possible object is VecNumericalValue
    • setLengthValue

      public void setLengthValue(VecNumericalValue value)
      Sets the value of the lengthValue property.
      Parameters:
      value - allowed object is VecNumericalValue
      See Also:
    • getParentWireElementReference

      public VecWireElementReference getParentWireElementReference()
      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 VecWireElementReference 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.
    • accept

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