Class User

    • Constructor Detail

      • User

        public User()
    • Method Detail

      • getPassword

        public String getPassword()
        Returns the value of field 'password'.
        Returns:
        the value of field 'password'.
      • getRoles

        public String getRoles()
        Returns the value of field 'roles'.
        Returns:
        the value of field 'roles'.
      • getUsername

        public String getUsername()
        Returns the value of field 'username'.
        Returns:
        the value of field 'username'.
      • isValid

        public boolean isValid()
      • marshal

        public void marshal​(Writer out)
                     throws org.exolab.castor.xml.MarshalException,
                            org.exolab.castor.xml.ValidationException
        Parameters:
        out -
        Throws:
        org.exolab.castor.xml.MarshalException
        org.exolab.castor.xml.ValidationException
      • marshal

        public void marshal​(ContentHandler handler)
                     throws IOException,
                            org.exolab.castor.xml.MarshalException,
                            org.exolab.castor.xml.ValidationException
        Parameters:
        handler -
        Throws:
        IOException
        org.exolab.castor.xml.MarshalException
        org.exolab.castor.xml.ValidationException
      • setPassword

        public void setPassword​(String password)
        Sets the value of field 'password'.
        Parameters:
        password - the value of field 'password'.
      • setRoles

        public void setRoles​(String roles)
        Sets the value of field 'roles'.
        Parameters:
        roles - the value of field 'roles'.
      • setUsername

        public void setUsername​(String username)
        Sets the value of field 'username'.
        Parameters:
        username - the value of field 'username'.
      • unmarshal

        public static User unmarshal​(Reader reader)
                              throws org.exolab.castor.xml.MarshalException,
                                     org.exolab.castor.xml.ValidationException
        Parameters:
        reader -
        Throws:
        org.exolab.castor.xml.MarshalException
        org.exolab.castor.xml.ValidationException
      • validate

        public void validate()
                      throws org.exolab.castor.xml.ValidationException
        Throws:
        org.exolab.castor.xml.ValidationException