Class OutputConnection

  • All Implemented Interfaces:
    IOutputConnection

    public class OutputConnection
    extends java.lang.Object
    implements IOutputConnection
    An instance of this class represents a persistently-stored output connection description. This is the paper object meant for editing and manipulation.
    • Field Detail

      • isNew

        protected boolean isNew
      • name

        protected java.lang.String name
      • description

        protected java.lang.String description
      • className

        protected java.lang.String className
      • maxCount

        protected int maxCount
    • Constructor Detail

      • OutputConnection

        public OutputConnection()
        Constructor.
    • Method Detail

      • duplicate

        public OutputConnection duplicate()
        Clone this object.
        Returns:
        the cloned object.
      • setIsNew

        public void setIsNew​(boolean isnew)
        Set 'isnew' condition.
        Specified by:
        setIsNew in interface IOutputConnection
        Parameters:
        isnew - true if this is a new instance.
      • getIsNew

        public boolean getIsNew()
        Get 'isnew' condition.
        Specified by:
        getIsNew in interface IOutputConnection
        Returns:
        true if this is a new connection, false otherwise.
      • setName

        public void setName​(java.lang.String name)
        Set name.
        Specified by:
        setName in interface IOutputConnection
        Parameters:
        name - is the name.
      • getName

        public java.lang.String getName()
        Get name.
        Specified by:
        getName in interface IOutputConnection
        Returns:
        the name
      • setDescription

        public void setDescription​(java.lang.String description)
        Set description.
        Specified by:
        setDescription in interface IOutputConnection
        Parameters:
        description - is the description.
      • getDescription

        public java.lang.String getDescription()
        Get description.
        Specified by:
        getDescription in interface IOutputConnection
        Returns:
        the description
      • setClassName

        public void setClassName​(java.lang.String className)
        Set the class name.
        Specified by:
        setClassName in interface IOutputConnection
        Parameters:
        className - is the class name.
      • getClassName

        public java.lang.String getClassName()
        Get the class name.
        Specified by:
        getClassName in interface IOutputConnection
        Returns:
        the class name
      • setMaxConnections

        public void setMaxConnections​(int maxCount)
        Set the maximum size of the connection pool.
        Specified by:
        setMaxConnections in interface IOutputConnection
        Parameters:
        maxCount - is the maximum connection count per JVM.
      • getMaxConnections

        public int getMaxConnections()
        Get the maximum size of the connection pool.
        Specified by:
        getMaxConnections in interface IOutputConnection
        Returns:
        the maximum size.