Class SimpleModelPort.Factory<T extends Serializable>

    • Constructor Detail

      • Factory

        public Factory​(Class<T> modelClass)
        Creates a factory for simple model ports
        Parameters:
        modelClass - the type of the model object
    • Method Detail

      • newPort

        public SimpleModelPort<T> newPort​(LogicalOperator owner,
                                          String name,
                                          LogicalPort.Direction direction,
                                          boolean optional)
        Description copied from class: LogicalPortFactory
        Public only as a matter of implementation; clients should not use this method directly. Clients should create ports via one of the factory methods on AbstractLogicalOperator. For example use newRecordInput to create a record input port.
        Specified by:
        newPort in class LogicalPortFactory<SimpleModelPort<T extends Serializable>>
        Parameters:
        owner - the owner of the port
        name - the name of the port
        direction - the port direction
        optional - whether the port is optional
        Returns:
        a new port
      • getModelClass

        public Class<T> getModelClass()
        Returns the java class of the model
        Returns:
        the java class of the model