Class OperationRepresentation

All Implemented Interfaces:
ResourceRepresentation, org.svenson.DynamicProperties

public class OperationRepresentation extends AbstractExtensibleRepresentation
  • Constructor Details

    • OperationRepresentation

      public OperationRepresentation()
  • Method Details

    • getId

      @JSONConverter(type=IDTypeConverter.class) @JSONProperty(ignoreIfNull=true) public GId getId()
    • setId

      public void setId(GId id)
    • getDeviceId

      @JSONConverter(type=IDTypeConverter.class) @JSONProperty(ignoreIfNull=true) public GId getDeviceId()
    • setDeviceId

      public void setDeviceId(GId deviceId)
    • getDeviceName

      @JSONProperty(ignoreIfNull=true) public String getDeviceName()
    • setDeviceName

      public void setDeviceName(String deviceName)
    • getStatus

      @JSONProperty(ignoreIfNull=true) public String getStatus()
    • setStatus

      public void setStatus(String status)
    • getFailureReason

      @JSONProperty(ignoreIfNull=true) public String getFailureReason()
    • setFailureReason

      public void setFailureReason(String failureReason)
    • getCreationTime

      @JSONProperty(value="deprecated_CreationTime", ignore=true) @Deprecated public Date getCreationTime()
      Deprecated.
    • setCreationTime

      @Deprecated public void setCreationTime(Date creationTime)
      Deprecated.
    • getCreationDateTime

      @JSONProperty(value="creationTime", ignoreIfNull=true) @JSONConverter(type=DateTimeConverter.class) public org.joda.time.DateTime getCreationDateTime()
    • setCreationDateTime

      public void setCreationDateTime(org.joda.time.DateTime creationTime)
    • getDeviceExternalIDs

      @JSONProperty(ignoreIfNull=true) public ExternalIDCollectionRepresentation getDeviceExternalIDs()
    • setDeviceExternalIDs

      public void setDeviceExternalIDs(ExternalIDCollectionRepresentation deviceExternalIDs)
    • getBulkOperationId

      @JSONProperty(ignoreIfNull=true) public Long getBulkOperationId()
    • setBulkOperationId

      public void setBulkOperationId(Long bulkOperationId)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • aOperation

    • getDelivery

      @JSONProperty(ignoreIfNull=true) public DeliveryRepresentation getDelivery()
    • setDelivery

      public void setDelivery(DeliveryRepresentation delivery)
    • getConnector

      @JSONProperty(ignoreIfNull=true) public ConnectorReferenceRepresentation getConnector()
    • setConnector

      public void setConnector(ConnectorReferenceRepresentation connector)