Interface EncapsulatedClassifier

    • Method Detail

      • createOwnedPort

        Port createOwnedPort​(String name,
                             Type type)
        Creates a new Port, with the specified 'Name', and 'Type', and appends it to the 'Owned Port' reference list.
        Parameters:
        name - The 'Name' for the new Port, or null.
        type - The 'Type' for the new Port, or null.
        Returns:
        The new Port.
        See Also:
        getOwnedPorts()
      • getOwnedPort

        Port getOwnedPort​(String name,
                          Type type)
        Retrieves the first Port with the specified 'Name', and 'Type' from the 'Owned Port' reference list.
        Parameters:
        name - The 'Name' of the Port to retrieve, or null.
        type - The 'Type' of the Port to retrieve, or null.
        Returns:
        The first Port with the specified 'Name', and 'Type', or null.
        See Also:
        getOwnedPorts()
      • getOwnedPort

        Port getOwnedPort​(String name,
                          Type type,
                          boolean ignoreCase,
                          boolean createOnDemand)
        Retrieves the first Port with the specified 'Name', and 'Type' from the 'Owned Port' reference list.
        Parameters:
        name - The 'Name' of the Port to retrieve, or null.
        type - The 'Type' of the Port to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        createOnDemand - Whether to create a Port on demand if not found.
        Returns:
        The first Port with the specified 'Name', and 'Type', or null.
        See Also:
        getOwnedPorts()