Class AbstractJobUsageRecord

java.lang.Object
org.gcube.documentstore.records.implementation.AbstractRecord
org.gcube.accounting.datamodel.BasicUsageRecord
org.gcube.accounting.datamodel.basetypes.AbstractJobUsageRecord
All Implemented Interfaces:
Serializable, Comparable<org.gcube.documentstore.records.Record>, UsageRecord, org.gcube.documentstore.records.Record
Direct Known Subclasses:
AggregatedJobUsageRecord, JobUsageRecord

public abstract class AbstractJobUsageRecord extends BasicUsageRecord
Author:
Luca Frosini (ISTI - CNR)
See Also:
  • Field Details

  • Constructor Details

    • AbstractJobUsageRecord

      public AbstractJobUsageRecord()
    • AbstractJobUsageRecord

      public AbstractJobUsageRecord(Map<String,? extends Serializable> properties) throws org.gcube.documentstore.exception.InvalidValueException
      Throws:
      org.gcube.documentstore.exception.InvalidValueException
  • Method Details

    • getRecordType

      public String getRecordType()
      Specified by:
      getRecordType in interface org.gcube.documentstore.records.Record
      Overrides:
      getRecordType in class BasicUsageRecord
    • getJobName

      public String getJobName()
    • setJobName

      public void setJobName(String jobName) throws org.gcube.documentstore.exception.InvalidValueException
      Throws:
      org.gcube.documentstore.exception.InvalidValueException
    • getHost

      public String getHost()
    • setHost

      public void setHost(String host) throws org.gcube.documentstore.exception.InvalidValueException
      Throws:
      org.gcube.documentstore.exception.InvalidValueException
    • getServiceClass

      public String getServiceClass()
    • setServiceClass

      public void setServiceClass(String serviceClass) throws org.gcube.documentstore.exception.InvalidValueException
      Throws:
      org.gcube.documentstore.exception.InvalidValueException
    • getServiceName

      public String getServiceName()
    • setServiceName

      public void setServiceName(String serviceName) throws org.gcube.documentstore.exception.InvalidValueException
      Throws:
      org.gcube.documentstore.exception.InvalidValueException
    • getDuration

      public Long getDuration()
    • setDuration

      public void setDuration(Long duration) throws org.gcube.documentstore.exception.InvalidValueException
      Throws:
      org.gcube.documentstore.exception.InvalidValueException
    • getCallerQualifier

      public String getCallerQualifier()
    • setCallerQualifier

      public void setCallerQualifier(String callerQualifier) throws org.gcube.documentstore.exception.InvalidValueException
      Throws:
      org.gcube.documentstore.exception.InvalidValueException