Class AbstractServiceUsageRecord

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

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

  • Constructor Details

    • AbstractServiceUsageRecord

      public AbstractServiceUsageRecord()
    • AbstractServiceUsageRecord

      public AbstractServiceUsageRecord(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
    • getCallerHost

      public String getCallerHost()
    • setCallerHost

      public void setCallerHost(String callerHost) 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
    • getCalledMethod

      public String getCalledMethod()
    • setCalledMethod

      public void setCalledMethod(String calledMethod) 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