baseturbineuser.java

来自「jetspeed源代码」· Java 代码 · 共 1,125 行 · 第 1/3 页

JAVA
1,125
字号
package org.apache.jetspeed.om.security.turbine;import java.math.BigDecimal;import java.sql.Connection;import java.util.ArrayList;import java.util.Collections;import java.util.Date;import java.util.List;import org.apache.commons.lang.ObjectUtils;import org.apache.torque.TorqueException;import org.apache.torque.om.BaseObject;import org.apache.torque.om.ComboKey;import org.apache.torque.om.DateKey;import org.apache.torque.om.NumberKey;import org.apache.torque.om.ObjectKey;import org.apache.torque.om.SimpleKey;import org.apache.torque.om.StringKey;import org.apache.torque.om.Persistent;import org.apache.torque.util.Criteria;import org.apache.torque.util.Transaction;/** * This class was autogenerated by Torque on: * * [Thu Apr 22 15:30:48 PDT 2004] * * You should not use this class directly.  It should not even be * extended all references should be to TurbineUser */public abstract class BaseTurbineUser extends BaseObject{    /** The Peer class */    private static final TurbineUserPeer peer =        new TurbineUserPeer();          /** The value for the userId field */    private int userId;          /** The value for the loginName field */    private String loginName;          /** The value for the passwordValue field */    private String passwordValue;          /** The value for the firstName field */    private String firstName;          /** The value for the lastName field */    private String lastName;          /** The value for the email field */    private String email;          /** The value for the confirmValue field */    private String confirmValue;          /** The value for the modified field */    private Date modified;          /** The value for the created field */    private Date created;          /** The value for the lastLogin field */    private Date lastLogin;          /** The value for the disabled field */    private String disabled;          /** The value for the objectdata field */    private byte[] objectdata;          /** The value for the passwordChanged field */    private Date passwordChanged;        /**     * Get the UserId     * @return int     */    public int getUserId()    {        return userId;    }                                                  /**     * Set the value of UserId     */    public void setUserId(int v ) throws TorqueException    {                      if (this.userId != v)              {            this.userId = v;            setModified(true);        }                                                        // update associated TurbineUserGroupRole        if (collTurbineUserGroupRoles != null )        {            for (int i = 0; i < collTurbineUserGroupRoles.size(); i++)            {                ((TurbineUserGroupRole)collTurbineUserGroupRoles.get(i))                        .setUserId(v);            }        }                      }      /**     * Get the LoginName     * @return String     */    public String getLoginName()    {        return loginName;    }                            /**     * Set the value of LoginName     */    public void setLoginName(String v )     {                      if (!ObjectUtils.equals(this.loginName, v))              {            this.loginName = v;            setModified(true);        }                            }      /**     * Get the PasswordValue     * @return String     */    public String getPasswordValue()    {        return passwordValue;    }                            /**     * Set the value of PasswordValue     */    public void setPasswordValue(String v )     {                      if (!ObjectUtils.equals(this.passwordValue, v))              {            this.passwordValue = v;            setModified(true);        }                            }      /**     * Get the FirstName     * @return String     */    public String getFirstName()    {        return firstName;    }                            /**     * Set the value of FirstName     */    public void setFirstName(String v )     {                      if (!ObjectUtils.equals(this.firstName, v))              {            this.firstName = v;            setModified(true);        }                            }      /**     * Get the LastName     * @return String     */    public String getLastName()    {        return lastName;    }                            /**     * Set the value of LastName     */    public void setLastName(String v )     {                      if (!ObjectUtils.equals(this.lastName, v))              {            this.lastName = v;            setModified(true);        }                            }      /**     * Get the Email     * @return String     */    public String getEmail()    {        return email;    }                            /**     * Set the value of Email     */    public void setEmail(String v )     {                      if (!ObjectUtils.equals(this.email, v))              {            this.email = v;            setModified(true);        }                            }      /**     * Get the ConfirmValue     * @return String     */    public String getConfirmValue()    {        return confirmValue;    }                            /**     * Set the value of ConfirmValue     */    public void setConfirmValue(String v )     {                      if (!ObjectUtils.equals(this.confirmValue, v))              {            this.confirmValue = v;            setModified(true);        }                            }      /**     * Get the Modified     * @return Date     */    public Date getModified()    {        return modified;    }                            /**     * Set the value of Modified     */    public void setModified(Date v )     {                      if (!ObjectUtils.equals(this.modified, v))              {            this.modified = v;            setModified(true);        }                            }      /**     * Get the Created     * @return Date     */    public Date getCreated()    {        return created;    }                            /**     * Set the value of Created     */    public void setCreated(Date v )     {                      if (!ObjectUtils.equals(this.created, v))              {            this.created = v;            setModified(true);        }                            }      /**     * Get the LastLogin     * @return Date     */    public Date getLastLogin()    {        return lastLogin;    }                            /**     * Set the value of LastLogin     */    public void setLastLogin(Date v )     {                      if (!ObjectUtils.equals(this.lastLogin, v))              {            this.lastLogin = v;            setModified(true);        }                            }      /**     * Get the Disabled     * @return String     */    public String getDisabled()    {        return disabled;    }                            /**     * Set the value of Disabled     */    public void setDisabled(String v )     {                      if (!ObjectUtils.equals(this.disabled, v))              {            this.disabled = v;            setModified(true);        }                            }  

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?