Interface FmiBuilder.Port<PORT_SCALAR_TYPE,AST>

Enclosing interface:
FmiBuilder<AST,B,E,SETTINGS>

public static interface FmiBuilder.Port<PORT_SCALAR_TYPE,AST>
  • Method Details

    • getQualifiedName

      String getQualifiedName()
      Gets the fully qualified port name including its source reference. Often on the form source.name
      Returns:
    • getOwner

      Get the owner of this port. This is the object that should be used to get/set its values
      Returns:
      the instance owning the port
    • getSourceObject

      PORT_SCALAR_TYPE getSourceObject()
      Gets the underlying objects from which the port is created
      Returns:
    • getName

      String getName()
      Get the port name
      Returns:
    • getPortReferenceValue

      Long getPortReferenceValue()
      Get the port reference value
      Returns:
    • linkTo

      Link the current port to the receiving port. After this the receiving port will resolve its linked value to the value of this port
      Parameters:
      receiver -
      Throws:
      FmiBuilder.Port.PortLinkException
    • breakLink

      void breakLink() throws FmiBuilder.Port.PortLinkException
      Break the source link
      Throws:
      FmiBuilder.Port.PortLinkException
    • isLinked

      boolean isLinked()
      Indicates if the current port is linked
      Returns:
      true if linked
    • isLinkedAsOutputProvider

      boolean isLinkedAsOutputProvider()
      Indicates if this is linked into other @FmiBuilder.Ports
      Returns:
      true if linked
    • isLinkedAsInputConsumer

      boolean isLinkedAsInputConsumer()
      Indicates if another @FmiBuilder.Port is linked into this
      Returns:
      true if linked