Class DexpiTopologyResolver.TopologyEdge

java.lang.Object
neqsim.process.processmodel.dexpi.DexpiTopologyResolver.TopologyEdge
All Implemented Interfaces:
Serializable
Enclosing class:
DexpiTopologyResolver

public static class DexpiTopologyResolver.TopologyEdge extends Object implements Serializable
Represents a directed edge between two DEXPI elements in the process topology.
Version:
1.0
Author:
NeqSim
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • sourceEquipmentId

      private final String sourceEquipmentId
    • targetEquipmentId

      private final String targetEquipmentId
    • sourceNozzleId

      private final String sourceNozzleId
    • targetNozzleId

      private final String targetNozzleId
    • pipingSegmentId

      private final String pipingSegmentId
  • Constructor Details

    • TopologyEdge

      public TopologyEdge(String sourceEquipmentId, String targetEquipmentId, String sourceNozzleId, String targetNozzleId, String pipingSegmentId)
      Creates a new topology edge.
      Parameters:
      sourceEquipmentId - the ID of the source equipment
      targetEquipmentId - the ID of the target equipment
      sourceNozzleId - the ID of the source nozzle (may be null)
      targetNozzleId - the ID of the target nozzle (may be null)
      pipingSegmentId - the piping segment ID carrying this connection (may be null)
  • Method Details

    • getSourceEquipmentId

      public String getSourceEquipmentId()
      Gets the source equipment ID.
      Returns:
      source equipment ID
    • getTargetEquipmentId

      public String getTargetEquipmentId()
      Gets the target equipment ID.
      Returns:
      target equipment ID
    • getSourceNozzleId

      public String getSourceNozzleId()
      Gets the source nozzle ID.
      Returns:
      source nozzle ID, or null
    • getTargetNozzleId

      public String getTargetNozzleId()
      Gets the target nozzle ID.
      Returns:
      target nozzle ID, or null
    • getPipingSegmentId

      public String getPipingSegmentId()
      Gets the piping segment ID.
      Returns:
      piping segment ID, or null
    • toString

      public String toString()
      Overrides:
      toString in class Object