Class VecSegmentLength

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

public class VecSegmentLength extends VecExtendableElement implements Serializable, Visitable

Specifies the length of a segment. Attributes of the type SegmentLength normally have the multiplicity [0..*]. This means that such an attribute can have SegmentLength-entries for different classifications. It must not have multiple entries with the same classification.

Java class for SegmentLength complex type.

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


 <complexType name="SegmentLength">
   <complexContent>
     <extension base="{http://www.prostep.org/ecad-if/2011/vec}ExtendableElement">
       <sequence>
         <element name="Length" type="{http://www.prostep.org/ecad-if/2011/vec}NumericalValue"/>
         <element name="Classification" type="{http://www.prostep.org/ecad-if/2011/vec}LengthClassification"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • length

      protected VecNumericalValue length

      Specifies the length of the TopologySegment.

    • classification

      protected String classification

      Specifies the classification of the segment length.

  • Constructor Details

    • VecSegmentLength

      public VecSegmentLength()
  • Method Details

    • getLength

      public VecNumericalValue getLength()
      Gets the value of the length property.

      Specifies the length of the TopologySegment.

      Returns:
      possible object is VecNumericalValue
    • setLength

      public void setLength(VecNumericalValue value)
      Sets the value of the length property.
      Parameters:
      value - allowed object is VecNumericalValue
      See Also:
    • getClassification

      public String getClassification()
      Gets the value of the classification property.

      Specifies the classification of the segment length.

      Returns:
      possible object is String
    • setClassification

      public void setClassification(String value)
      Sets the value of the classification property.
      Parameters:
      value - allowed object is String
      See Also:
    • getParentTopologySegment

      public VecTopologySegment getParentTopologySegment()
      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 VecTopologySegment 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