Class NotificationConnection

  • All Implemented Interfaces:
    INotificationConnection

    public class NotificationConnection
    extends java.lang.Object
    implements INotificationConnection
    An instance of this class represents a persistently-stored notification 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

      • NotificationConnection

        public NotificationConnection()
        Constructor.
    • Method Detail

      • setIsNew

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

        public boolean getIsNew()
        Get 'isnew' condition.
        Specified by:
        getIsNew in interface INotificationConnection
        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 INotificationConnection
        Parameters:
        name - is the name.
      • setDescription

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

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

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