FaxQueue Data Type

Created with IntelliJ IDEA. User: kstauffe Date: 9/20/13 Time: 11:04 AM To change this template use File | Settings | File Templates.

Properties
name data type constraints description
timestamp number  
start number  
end number  
faxNumber string required
recipientName string  
subject string  
text string  
documents array of FaxDocument  
faxTransId number  
faxError FaxError  
status FaxStatus  
Properties inherited from BaseHibernateEntity
id number   The unique internal ID of the object.
version number   For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions.
Properties inherited from BaseEntity
violations array of SimpleViolation   A list of constraint violations, if any, that this object has.

Example

{
  "timestamp" : 12345,
  "start" : 12345,
  "end" : 12345,
  "faxNumber" : "...",
  "recipientName" : "...",
  "subject" : "...",
  "text" : "...",
  "documents" : [ {
    "documentPath" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  }, {
    "documentPath" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  } ],
  "faxTransId" : 12345,
  "faxError" : {
    "code" : 12345,
    "error" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "status" : {
    "code" : 12345,
    "status" : "...",
    "shortStatus" : "...",
    "retryOnFail" : true,
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}