Class VecSegmentLocation

All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, HasCustomProperties<VecCustomProperty>, HasIdentification, HasModifiableIdentification, Visitable, Serializable

public class VecSegmentLocation extends VecLocation implements Serializable, Visitable

Specifies a point on a TopologySegment as a Location.

Java class for SegmentLocation complex type.

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


 <complexType name="SegmentLocation">
   <complexContent>
     <extension base="{http://www.prostep.org/ecad-if/2011/vec}Location">
       <sequence>
         <element name="Offset" type="{http://www.prostep.org/ecad-if/2011/vec}NumericalValue"/>
         <element name="Anchor" type="{http://www.prostep.org/ecad-if/2011/vec}AnchorType"/>
         <element name="ReferencedSegment" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • offset

      protected VecNumericalValue offset

      Specifies the offset / distance of the Location to the anchor of the location.

    • anchor

      protected VecAnchorType anchor
      TopologySegment
    • referencedSegment

      protected VecTopologySegment referencedSegment
  • Constructor Details

    • VecSegmentLocation

      public VecSegmentLocation()
  • Method Details

    • getOffset

      public VecNumericalValue getOffset()
      Gets the value of the offset property.

      Specifies the offset / distance of the Location to the anchor of the location.

      Returns:
      possible object is VecNumericalValue
    • setOffset

      public void setOffset(VecNumericalValue value)
      Sets the value of the offset property.
      Parameters:
      value - allowed object is VecNumericalValue
      See Also:
    • getAnchor

      public VecAnchorType getAnchor()
      Gets the value of the anchor property.

      TopologySegment

      Returns:
      possible object is VecAnchorType
    • setAnchor

      public void setAnchor(VecAnchorType value)
      Sets the value of the anchor property.
      Parameters:
      value - allowed object is VecAnchorType
      See Also:
    • getReferencedSegment

      public VecTopologySegment getReferencedSegment()
      Gets the value of the referencedSegment property.
      Returns:
      possible object is Object
    • setReferencedSegment

      public void setReferencedSegment(VecTopologySegment value)
      Sets the value of the referencedSegment property.
      Parameters:
      value - allowed object is Object
    • accept

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