public class RequestData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
long |
endTime |
long |
objectId |
java.lang.String |
objectRef |
MXActivity |
sourceActivity |
long |
startTime |
Constructor and Description |
---|
RequestData(MXActivity act)
Populate the request from the
MXActivity object |
Modifier and Type | Method and Description |
---|---|
RequestData |
copy()
Creates a copy of the request
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
void |
pad(int days)
Applies the padding to the start and end times
|
void |
padEnd(int days)
Pads the end time by adding the number of days to it
|
void |
padStart(int days)
Adjust the start time by padding it by the number of days.
|
java.lang.String |
toString() |
public java.lang.String objectRef
public long objectId
public long startTime
public long endTime
public MXActivity sourceActivity
public RequestData(MXActivity act)
MXActivity
objectact
- public void padStart(int days)
days
- public void padEnd(int days)
days
- public void pad(int days)
days
- public RequestData copy()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object