net.stepniak.api.auth.entity
Class UserEntity

java.lang.Object
  extended by net.stepniak.api.auth.entity.BaseAuthEntity<Long>
      extended by net.stepniak.api.auth.entity.UserEntity
All Implemented Interfaces:
net.stepniak.api.entities.Pojo

@Entity
public class UserEntity
extends BaseAuthEntity<Long>
implements net.stepniak.api.entities.Pojo


Field Summary
 char accountType
           
 String email
           
 String userName
           
 
Constructor Summary
UserEntity()
           
UserEntity(String userName, String email, net.stepniak.common.user.AccountType accountType)
           
 
Method Summary
 char getAccountType()
           
 String getEmail()
           
 Long getId()
           
 String getName()
           
 net.stepniak.common.pojos.auth.v1.User getPojos()
           
 Date getUpdateDate()
           
 void setId(Long id)
           
 void setUpdateDate(Date date)
           
 
Methods inherited from class net.stepniak.api.auth.entity.BaseAuthEntity
equals, getCreationDate, hashCode, setCreationDate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userName

public String userName

email

public String email

accountType

public char accountType
Constructor Detail

UserEntity

public UserEntity()

UserEntity

public UserEntity(String userName,
                  String email,
                  net.stepniak.common.user.AccountType accountType)
Method Detail

getName

public String getName()

getEmail

public String getEmail()

getAccountType

public char getAccountType()

getPojos

public net.stepniak.common.pojos.auth.v1.User getPojos()
Specified by:
getPojos in interface net.stepniak.api.entities.Pojo

getUpdateDate

public Date getUpdateDate()

setUpdateDate

public void setUpdateDate(Date date)

getId

public Long getId()
Specified by:
getId in class BaseAuthEntity<Long>

setId

public void setId(Long id)
Specified by:
setId in class BaseAuthEntity<Long>


Copyright © 2013. All Rights Reserved.