com.google.code.ssm.test.entity
Class AppUser
java.lang.Object
com.google.code.ssm.test.entity.AppUser
- All Implemented Interfaces:
- Externalizable, Serializable
public class AppUser
- extends Object
- implements Externalizable
- Author:
- Jakub BiaĆek
- See Also:
- Serialized Form
AppUser
public AppUser()
AppUser
public AppUser(int userId,
int applicationId)
AppUser
public AppUser(AppUserPK pk)
getUserId
public int getUserId()
setUserId
public void setUserId(int userId)
getApplicationId
public int getApplicationId()
setApplicationId
public void setApplicationId(int applicationId)
isEnabled
public boolean isEnabled()
setEnabled
public void setEnabled(boolean enabled)
getVersion
public int getVersion()
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
cacheKey
public String cacheKey()
getPK
public AppUserPK getPK()
Copyright © 2014. All rights reserved.