net.sf.sail.webapp.domain.sds
Class SdsUser

java.lang.Object
  extended by net.sf.sail.webapp.domain.sds.SdsUser
All Implemented Interfaces:
Serializable, SdsObject

public class SdsUser
extends Object
implements SdsObject

Represents a user from the Sail Data Service (SDS). The object is persisted into the local portal data store because a mapping of the relationship with the portal user needs to be maintained.

Version:
$Id$
Author:
Laurel Williams
See Also:
Serialized Form

Field Summary
static String COLUMN_NAME_FIRST_NAME
           
static String COLUMN_NAME_LAST_NAME
           
static String COLUMN_NAME_USER_ID
           
static String DATA_STORE_NAME
           
 
Constructor Summary
SdsUser()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFirstName()
           
 String getLastName()
           
 Long getSdsObjectId()
           
 int hashCode()
           
 void setFirstName(String firstName)
           
 void setLastName(String lastName)
           
 void setSdsObjectId(Long sdsObjectId)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATA_STORE_NAME

public static final String DATA_STORE_NAME
See Also:
Constant Field Values

COLUMN_NAME_USER_ID

public static final String COLUMN_NAME_USER_ID
See Also:
Constant Field Values

COLUMN_NAME_FIRST_NAME

public static final String COLUMN_NAME_FIRST_NAME
See Also:
Constant Field Values

COLUMN_NAME_LAST_NAME

public static final String COLUMN_NAME_LAST_NAME
See Also:
Constant Field Values
Constructor Detail

SdsUser

public SdsUser()
Method Detail

getSdsObjectId

public Long getSdsObjectId()
Specified by:
getSdsObjectId in interface SdsObject
Returns:
the sdsObjectId

setSdsObjectId

public void setSdsObjectId(Long sdsObjectId)
Specified by:
setSdsObjectId in interface SdsObject
Parameters:
sdsObjectId - the SDS identifier for this object
See Also:
SdsObject.setSdsObjectId(java.lang.Long)

getFirstName

public String getFirstName()
Returns:
the firstName

setFirstName

public void setFirstName(String firstName)
Parameters:
firstName - the firstName to set

getLastName

public String getLastName()
Returns:
the lastName

setLastName

public void setLastName(String lastName)
Parameters:
lastName - the lastName to set

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)


Copyright © 2012. All Rights Reserved.