All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.marketcetera.admin.UserDescriptor Maven / Gradle / Ivy

The newest version!
package org.marketcetera.admin;

/* $License$ */

/**
 * Describes a user object.
 *
 * @author Colin DuPlantis
 * @version $Id$
 * @since 1.0.1
 */
public class UserDescriptor
        extends AbstractNamedDescriptor
{
    /**
     * Get the password value.
     *
     * @return a String value
     */
    public String getPassword()
    {
        return password;
    }
    /**
     * Sets the password value.
     *
     * @param inPassword a String value
     */
    public void setPassword(String inPassword)
    {
        password = inPassword;
    }
    /**
     * Get the isActive value.
     *
     * @return a boolean value
     */
    public boolean getIsActive()
    {
        return isActive;
    }
    /**
     * Sets the isActive value.
     *
     * @param inIsActive a boolean value
     */
    public void setIsActive(boolean inIsActive)
    {
        isActive = inIsActive;
    }
    /**
     * Get the isSuperuser value.
     *
     * @return a boolean value
     */
    public boolean getIsSuperuser()
    {
        return isSuperuser;
    }
    /**
     * Sets the isSuperuser value.
     *
     * @param inIsSuperuser a boolean value
     */
    public void setIsSuperuser(boolean inIsSuperuser)
    {
        isSuperuser = inIsSuperuser;
    }
    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString()
    {
        StringBuilder builder = new StringBuilder();
        builder.append("UserDescriptor [password=********").append(", isActive=").append(isActive)
                .append(", isSuperuser=").append(isSuperuser).append(", getDescription()=").append(getDescription())
                .append(", getName()=").append(getName()).append("]");
        return builder.toString();
    }
    /**
     * password value
     */
    private String password;
    /**
     * is active value
     */
    private boolean isActive;
    /**
     * is superuser value
     */
    private boolean isSuperuser;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy