public class ProcessQueueEntry extends Object implements Serializable
Constructor and Description |
---|
ProcessQueueEntry() |
ProcessQueueEntry(int entryId,
int objectId,
String objectType,
String processKey,
String data,
String state,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
String |
getData()
Addionial data for the process.
|
int |
getEntryId()
The ID of the entry in its process queue.
|
String |
getId()
The ID of this entry which is unique across the different process
queue tables.
|
int |
getObjectId()
The ID of the object.
|
String |
getObjectType()
The type of the object.
|
String |
getProcessKey()
The process key.
|
String |
getState()
The state of the entry in the process queue.
|
long |
getTimestamp()
The creation timestamp of the entry.
|
void |
setData(String data)
Set process data.
|
void |
setEntryId(int entryId)
Set the ID.
|
void |
setId(String id)
Set the ID.
|
void |
setObjectId(int objectId)
Set the object ID.
|
void |
setObjectType(String objectType)
Set the object type.
|
void |
setProcessKey(String processKey)
Set the process key.
|
void |
setState(String state)
Set the state of the entry.
|
void |
setTimestamp(long timestamp)
Set the timestamp.
|
String |
toString()
Returns a string representation of this object containing
most of its fields.
|
public String getId()
getEntryId()
this ID contains the
type of the object, so the correct process queue table can be identified.
This is expected to be objectType
+ "/" +
entryId
.public void setId(String id)
setEntryId()
this ID contains the
type of the object, so the correct process queue table can be identified.
This is expected to be objectType
+ "/" +
entryId
.id
- The ID of this entry.public int getEntryId()
getId()
this is just the ID of the entry in its
own process queue table.public void setEntryId(int entryId)
getId()
this is just the ID of the entry in its
own process queue table.entryId
- The ID of this entry.public int getObjectId()
public void setObjectId(int objectId)
objectId
- The object ID.public String getObjectType()
public void setObjectType(String objectType)
objectType
- The object type.public String getProcessKey()
public void setProcessKey(String processKey)
processKey
- The process key.public String getData()
public void setData(String data)
data
- The data for the process.public String getState()
public void setState(String state)
state
- The state of the entry.public long getTimestamp()
public void setTimestamp(long timestamp)
timestamp
- The timestamp.Copyright © 2024 Gentics Software. All rights reserved.