public class TemporaryUserEntry extends Object implements Serializable
Constructor and Description |
---|
TemporaryUserEntry()
Constructor.
|
TemporaryUserEntry(String userId,
Calendar beginAvailableDateTime,
Calendar endAvailableDateTime)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object value) |
Calendar |
getBeginAvailableDateTime()
Returns the usage start date and time.
|
Calendar |
getEndAvailableDateTime()
Returns the usage end date and time.
|
String |
getUserId()
Gets temporary user ID.
|
int |
hashCode() |
void |
setBeginAvailableDateTime(Calendar beginAvailableDateTime)
Sets the usage start date and time.
|
void |
setEndAvailableDateTime(Calendar endAvailableDateTime)
Sets the usage end date and time.
|
void |
setUserId(String userId)
Sets temporary user ID.
|
String |
toString() |
public String getUserId()
public void setUserId(String userId)
userId
- Temporary user IDpublic Calendar getBeginAvailableDateTime()
public void setBeginAvailableDateTime(Calendar beginAvailableDateTime)
beginAvailableDateTime
- Starting date and time of usagepublic Calendar getEndAvailableDateTime()
public void setEndAvailableDateTime(Calendar endAvailableDateTime)
endAvailableDateTime
- Ending date and time of usage