Class SessionEntity

  • Direct Known Subclasses:
    SessionEntityImpl

    public abstract class SessionEntity
    extends Object
    Entity SessionEntity
    • Constructor Detail

      • SessionEntity

        public SessionEntity()
    • Method Detail

      • getId

        public Long getId()
        Gets value for attribute id
      • setId

        public void setId​(Long id)
        Sets value for attribute id
      • getPort

        public Long getPort()
        Gets value for attribute port
      • setPort

        public void setPort​(Long port)
        Sets value for attribute port
      • getUser

        public UserEntity getUser()
        Gets value for attribute user
      • setUser

        public void setUser​(UserEntity user)
        Sets value for attribute user
      • getAccount

        public AccountEntity getAccount()
        Gets value for attribute account
      • setAccount

        public void setAccount​(AccountEntity account)
        Sets value for attribute account
      • getClientHost

        public HostEntity getClientHost()
        Gets value for attribute clientHost
      • setClientHost

        public void setClientHost​(HostEntity clientHost)
        Sets value for attribute clientHost
      • getHost

        public HostEntity getHost()
        Gets value for attribute host
      • setHost

        public void setHost​(HostEntity host)
        Sets value for attribute host
      • getStartDate

        public Date getStartDate()
        Gets value for attribute startDate
      • setStartDate

        public void setStartDate​(Date startDate)
        Sets value for attribute startDate
      • getKeepAliveDate

        public Date getKeepAliveDate()
        Gets value for attribute keepAliveDate
      • setKeepAliveDate

        public void setKeepAliveDate​(Date keepAliveDate)
        Sets value for attribute keepAliveDate
      • getExternalClientIp

        public String getExternalClientIp()
        Gets value for attribute externalClientIp
      • setExternalClientIp

        public void setExternalClientIp​(String externalClientIp)
        Sets value for attribute externalClientIp
      • getNewKey

        public String getNewKey()
        Gets value for attribute newKey
      • setNewKey

        public void setNewKey​(String newKey)
        Sets value for attribute newKey
      • getType

        public es.caib.seycon.ng.comu.TipusSessio getType()
        Gets value for attribute type
      • setType

        public void setType​(es.caib.seycon.ng.comu.TipusSessio type)
        Sets value for attribute type
      • getWebHandler

        public String getWebHandler()
        Gets value for attribute webHandler
      • setWebHandler

        public void setWebHandler​(String webHandler)
        Sets value for attribute webHandler
      • getKey

        public String getKey()
        Gets value for attribute key
      • setKey

        public void setKey​(String key)
        Sets value for attribute key
      • getLoginLogInfo

        public AccessLogEntity getLoginLogInfo()
        Gets value for attribute loginLogInfo
      • setLoginLogInfo

        public void setLoginLogInfo​(AccessLogEntity loginLogInfo)
        Sets value for attribute loginLogInfo
      • getClientAddress

        public String getClientAddress()
        Gets value for attribute clientAddress
      • setClientAddress

        public void setClientAddress​(String clientAddress)
        Sets value for attribute clientAddress
      • getClientHostName

        public String getClientHostName()
        Gets value for attribute clientHostName
      • setClientHostName

        public void setClientHostName​(String clientHostName)
        Sets value for attribute clientHostName
      • getHostName

        public String getHostName()
        Gets value for attribute hostName
      • setHostName

        public void setHostName​(String hostName)
        Sets value for attribute hostName
      • getHostAddress

        public String getHostAddress()
        Gets value for attribute hostAddress
      • setHostAddress

        public void setHostAddress​(String hostAddress)
        Sets value for attribute hostAddress
      • getAuthenticationMethod

        public String getAuthenticationMethod()
        Gets value for attribute authenticationMethod
      • setAuthenticationMethod

        public void setAuthenticationMethod​(String authenticationMethod)
        Sets value for attribute authenticationMethod
      • getMonitorUrl

        public String getMonitorUrl()
        Gets value for attribute monitorUrl
      • setMonitorUrl

        public void setMonitorUrl​(String monitorUrl)
        Sets value for attribute monitorUrl
      • isAllowed

        public abstract boolean isAllowed​(String permission)
        Operation isAllowed Returns true if the permission on this object is granted
        Parameters:
        permission -
        Returns:
      • equals

        public boolean equals​(Object object)
        Returns true if the argument is an SessionEntity instance and all identifiers for this entity equal the identifiers of the argument entity. Returns false otherwise.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Returns a hash code based on this entity's identifiers.
        Overrides:
        hashCode in class Object