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
Provides an submission asynchronous message entity.
- Since:
- 4.3.2
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The "Completed" status constant.static final String
The "Expired" status constant.static final String
The "Ready" status constant.static final String
The "Received" status constant.static final String[]
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
Fields inherited from class org.apache.cayenne.CayenneDataObject
values
Fields inherited from class org.apache.cayenne.BaseDataObject
snapshotVersion
Fields inherited from class org.apache.cayenne.PersistentObject
objectContext, objectId, persistenceState
Fields inherited from interface org.apache.cayenne.DataObject
DEFAULT_VERSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.cayenne.Persistent
getObjectContext, getObjectId, getPersistenceState, setObjectContext, setObjectId, setPersistenceState
-
Field Details
-
STATUS_Ready
The "Ready" status constant.- See Also:
-
STATUS_Received
The "Received" status constant.- See Also:
-
STATUS_Completed
The "Completed" status constant.- See Also:
-
STATUS_Expired
The "Expired" status constant.- See Also:
-
STATUS_VALUES
The list of valid status values.
-
-
Constructor Details
-
SubmissionAsyncMsg
public SubmissionAsyncMsg()
-
-
Method Details
-
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
-