Package com.avoka.fc.core.entity
Class SubmissionAsyncMsg
- java.lang.Object
-
- org.apache.cayenne.PersistentObject
-
- org.apache.cayenne.BaseDataObject
-
- org.apache.cayenne.CayenneDataObject
-
- com.avoka.core.entity.BaseEntity
-
- com.avoka.fc.core.entity.auto._SubmissionAsyncMsg
-
- com.avoka.fc.core.entity.SubmissionAsyncMsg
-
- All Implemented Interfaces:
IEntity
,Serializable
,org.apache.cayenne.DataObject
,org.apache.cayenne.Persistent
,org.apache.cayenne.Validating
public class SubmissionAsyncMsg extends _SubmissionAsyncMsg
Provides an submission asynchronous message entity.- Since:
- 4.3.2
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
STATUS_Completed
The "Completed" status constant.static String
STATUS_Expired
The "Expired" status constant.static String
STATUS_Ready
The "Ready" status constant.static String
STATUS_Received
The "Received" status constant.static String[]
STATUS_VALUES
The list of valid status values.-
Fields inherited from class com.avoka.fc.core.entity.auto._SubmissionAsyncMsg
IP_ADDRESS_REQUESTER, IP_ADDRESS_REQUESTER_PROPERTY, IP_ADDRESS_RESPONDER, IP_ADDRESS_RESPONDER_PROPERTY, MSG_BODY, MSG_BODY_PROPERTY, MSG_KEY, MSG_KEY_PROPERTY, MSG_STATUS, MSG_STATUS_PROPERTY, MSG_TOPIC, MSG_TOPIC_PROPERTY, SUB_ASYNC_MSG_OID_PK_COLUMN, SUBMISSION, SUBMISSION_PROPERTY, TIME_CREATED, TIME_CREATED_PROPERTY, TIME_EXPIRY, TIME_EXPIRY_PROPERTY, TIME_RECEIVED, TIME_RECEIVED_PROPERTY, TIME_RESPONDED, TIME_RESPONDED_PROPERTY
-
Fields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description SubmissionAsyncMsg()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isMsgCompleted()
boolean
isMsgExpired()
boolean
isMsgReady()
boolean
isMsgReceived()
-
Methods inherited from class com.avoka.fc.core.entity.auto._SubmissionAsyncMsg
getIpAddressRequester, getIpAddressResponder, getMsgBody, getMsgKey, getMsgStatus, getMsgTopic, getSubmission, getTimeCreated, getTimeExpiry, getTimeReceived, getTimeResponded, setIpAddressRequester, setIpAddressResponder, setMsgBody, setMsgKey, setMsgStatus, setMsgTopic, setSubmission, setTimeCreated, setTimeExpiry, setTimeReceived, setTimeResponded
-
Methods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toString
-
Methods inherited from class org.apache.cayenne.CayenneDataObject
makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeState
-
Methods inherited from class org.apache.cayenne.BaseDataObject
addToManyTarget, beforePropertyRead, beforePropertyWrite, getSnapshotVersion, readNestedProperty, readProperty, readSerialized, removeToManyTarget, setObjectContext, setReverseRelationship, setSnapshotVersion, setToManyTarget, setToOneTarget, toStringBuffer, unsetReverseRelationship, validateForDelete, validateForInsert, validateForSave, validateForUpdate, willConnect, writeProperty, writeSerialized
-
Methods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectId
-
-
-
-
Field Detail
-
STATUS_Ready
public static final String STATUS_Ready
The "Ready" status constant.- See Also:
- Constant Field Values
-
STATUS_Received
public static final String STATUS_Received
The "Received" status constant.- See Also:
- Constant Field Values
-
STATUS_Completed
public static final String STATUS_Completed
The "Completed" status constant.- See Also:
- Constant Field Values
-
STATUS_Expired
public static final String STATUS_Expired
The "Expired" status constant.- See Also:
- Constant Field Values
-
STATUS_VALUES
public static final String[] STATUS_VALUES
The list of valid status values.
-
-
Method Detail
-
isMsgReady
public boolean isMsgReady()
- Returns:
- true if the message is Ready
-
isMsgReceived
public boolean isMsgReceived()
- Returns:
- true if the message is Received
-
isMsgCompleted
public boolean isMsgCompleted()
- Returns:
- true if the message is Completed
-
isMsgExpired
public boolean isMsgExpired()
- Returns:
- true if the message has Expired
-
-