public class Session extends Object implements Serializable
Constructor and Description |
---|
Session() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Long |
getDuration()
Returns the value of the Duration property for this object.
|
String |
getId()
Returns the value of the Id property for this object.
|
String |
getStartTimestamp()
Returns the value of the StartTimestamp property for this object.
|
String |
getStopTimestamp()
Returns the value of the StopTimestamp property for this object.
|
int |
hashCode() |
void |
setDuration(Long duration)
Sets the value of the Duration property for this object.
|
void |
setId(String id)
Sets the value of the Id property for this object.
|
void |
setStartTimestamp(String startTimestamp)
Sets the value of the StartTimestamp property for this object.
|
void |
setStopTimestamp(String stopTimestamp)
Sets the value of the StopTimestamp property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Session |
withDuration(Long duration)
Sets the value of the Duration property for this object.
|
Session |
withId(String id)
Sets the value of the Id property for this object.
|
Session |
withStartTimestamp(String startTimestamp)
Sets the value of the StartTimestamp property for this object.
|
Session |
withStopTimestamp(String stopTimestamp)
Sets the value of the StopTimestamp property for this object.
|
public String getId()
Constraints:
Length: 1 - 50
public void setId(String id)
Constraints:
Length: 1 - 50
id
- The new value for the Id property for this object.public Session withId(String id)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 50
id
- The new value for the Id property for this object.public Long getDuration()
public void setDuration(Long duration)
duration
- The new value for the Duration property for this object.public Session withDuration(Long duration)
Returns a reference to this object so that method calls can be chained together.
duration
- The new value for the Duration property for this object.public String getStartTimestamp()
public void setStartTimestamp(String startTimestamp)
startTimestamp
- The new value for the StartTimestamp property for this object.public Session withStartTimestamp(String startTimestamp)
Returns a reference to this object so that method calls can be chained together.
startTimestamp
- The new value for the StartTimestamp property for this object.public String getStopTimestamp()
public void setStopTimestamp(String stopTimestamp)
stopTimestamp
- The new value for the StopTimestamp property for this object.public Session withStopTimestamp(String stopTimestamp)
Returns a reference to this object so that method calls can be chained together.
stopTimestamp
- The new value for the StopTimestamp property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.