Class RootImplementation


  • @Entity
    public class RootImplementation
    extends java.lang.Object
    Class to persist root user with HIBERNATE.
    • Method Summary

      Modifier and Type Method Description
      java.lang.String getAddress()  
      protected int getId()
      Getter for the field id.
      protected java.lang.String getName()
      Getter for the field name.
      protected java.lang.String getType()
      Getter for the field type.
      java.lang.String getUuid()  
      boolean isValidated()  
      void setAddress​(java.lang.String address)  
      protected void setId​(int id)
      Setter for the field id.
      protected void setName​(java.lang.String name)
      Setter for the field name.
      protected void setType​(java.lang.String type)
      Setter for the field type.
      void setUuid​(java.lang.String uuid)  
      void setValidated​(boolean validated)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RootImplementation

        protected RootImplementation()
        Default constructor for RootImplementation is necessary for PojoInstantiator of HIBERNATE.
      • RootImplementation

        protected RootImplementation​(java.lang.String name,
                                     java.lang.String type)
        Constructor for RootImplementation.
        Parameters:
        name - principal name.
        type - principal type.
      • RootImplementation

        protected RootImplementation​(java.lang.String name,
                                     java.lang.String type,
                                     javax.mail.internet.InternetAddress address)
        Constructor for RootImplementation.
        Parameters:
        name - principal name.
        type - principal type.
        address - the email address of the root user.
      • RootImplementation

        protected RootImplementation​(java.lang.String name,
                                     java.lang.String type,
                                     javax.mail.internet.InternetAddress address,
                                     java.lang.String uuid)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getAddress

        public java.lang.String getAddress()
        Returns:
        the address
      • getId

        protected int getId()
        Getter for the field id.
        Returns:
        the id
      • getName

        protected java.lang.String getName()
        Getter for the field name.
        Returns:
        the name
      • getType

        protected java.lang.String getType()
        Getter for the field type.
        Returns:
        the type
      • setAddress

        public void setAddress​(java.lang.String address)
        Parameters:
        address - the address to set
      • setId

        protected void setId​(int id)
        Setter for the field id.
        Parameters:
        id - the id to set
      • setName

        protected void setName​(java.lang.String name)
        Setter for the field name.
        Parameters:
        name - the name to set
      • setType

        protected void setType​(java.lang.String type)
        Setter for the field type.
        Parameters:
        type - the type to set
      • isValidated

        public boolean isValidated()
        Returns:
        the validated
      • setValidated

        public void setValidated​(boolean validated)
        Parameters:
        validated - the validated to set
      • getUuid

        public java.lang.String getUuid()
        Returns:
        the uuid
      • setUuid

        public void setUuid​(java.lang.String uuid)
        Parameters:
        uuid - the uuid to set