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
FieldsModifier and TypeFieldDescriptionstatic final StringThe "Completed" status constant.static final StringThe "Expired" status constant.static final StringThe "Ready" status constant.static final StringThe "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_PROPERTYFields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTYFields inherited from class org.apache.cayenne.CayenneDataObject
valuesFields inherited from class org.apache.cayenne.BaseDataObject
snapshotVersionFields inherited from class org.apache.cayenne.PersistentObject
objectContext, objectId, persistenceStateFields inherited from interface org.apache.cayenne.DataObject
DEFAULT_VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanMethods 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, setTimeRespondedMethods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toStringMethods inherited from class org.apache.cayenne.CayenneDataObject
makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeStateMethods 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, writeSerializedMethods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
-