Class SessionImplementation

    • Constructor Detail

      • SessionImplementation

        public SessionImplementation()
        Empty constructor for specification of requirements while validating sessions
      • SessionImplementation

        public SessionImplementation​(ImplementationID newimplementationID,
                                     NamespaceID newnamespaceID,
                                     AccountID newrespAccountID)
        SessionImplementation Constructor
        Parameters:
        newimplementationID - ID of the implementation
        newnamespaceID - ID of the namespace of the implementation
        newrespAccountID - ID of the responsible of the namespace of the implementation
    • Method Detail

      • getImplementationID

        public ImplementationID getImplementationID()
        Get the SessionImplementation::implementationID
        Returns:
        the implementationID
      • setImplementationID

        public void setImplementationID​(ImplementationID newimplementationID)
        Set the SessionImplementation::implementationID
        Parameters:
        newimplementationID - the implementationID to set
      • getNamespaceID

        public NamespaceID getNamespaceID()
        Get the SessionImplementation::namespaceID
        Returns:
        the namespaceID
      • setNamespaceID

        public void setNamespaceID​(NamespaceID newnamespaceID)
        Set the SessionImplementation::namespaceID
        Parameters:
        newnamespaceID - the namespaceID to set
      • getRespAccountID

        public AccountID getRespAccountID()
        Get the SessionImplementation::respAccountID
        Returns:
        the respAccountID
      • setRespAccountID

        public void setRespAccountID​(AccountID newrespAccountID)
        Set the SessionImplementation::respAccountID
        Parameters:
        newrespAccountID - the respAccountID to set
      • equals

        public boolean equals​(Object t)
        This operation allows to compare this object with other object.
        Overrides:
        equals in class Object
        Parameters:
        t - Object to compare
        Returns:
        If the object is the same, returns TRUE. FALSE, otherwise.
      • hashCode

        public int hashCode()
        This operation allows to compare with other Object by setting its Java default Hashcode to a constant. It is necessary to override the equality function.
        Overrides:
        hashCode in class Object
        Returns:
        the hashcode
        See Also:
        equals(java.lang.Object)
      • getId

        public UUID getId()
        get id
        Returns:
        id
      • setId

        public void setId​(UUID newid)
        Set id
        Parameters:
        newid - the id