Class AbstractStorageStatusRecord

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

public abstract class AbstractStorageStatusRecord extends BasicUsageRecord
Author:
Alessandro Pieve (ISTI - CNR) alessandro.pieve@isti.cnr.it, Luca Frosini (ISTI - CNR)
See Also:
  • Field Details

  • Constructor Details

    • AbstractStorageStatusRecord

      public AbstractStorageStatusRecord()
    • AbstractStorageStatusRecord

      public AbstractStorageStatusRecord(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
    • getDataVolume

      public long getDataVolume()
    • setDataVolume

      public void setDataVolume(long dataVolume) throws org.gcube.documentstore.exception.InvalidValueException
      Throws:
      org.gcube.documentstore.exception.InvalidValueException
    • getDataType

    • setDataType

      public void setDataType(AbstractStorageUsageRecord.DataType dataType) throws org.gcube.documentstore.exception.InvalidValueException
      Throws:
      org.gcube.documentstore.exception.InvalidValueException
    • getDataCount

      public long getDataCount()
    • setDataCount

      public void setDataCount(long dataCount) throws org.gcube.documentstore.exception.InvalidValueException
      Throws:
      org.gcube.documentstore.exception.InvalidValueException
    • getDataServiceClass

      @Deprecated public String getDataServiceClass()
      Deprecated.
    • setDataServiceClass

      @Deprecated public void setDataServiceClass(String dataServiceClass) throws org.gcube.documentstore.exception.InvalidValueException
      Deprecated.
      Throws:
      org.gcube.documentstore.exception.InvalidValueException
    • getDataServiceName

      @Deprecated public String getDataServiceName()
      Deprecated.
    • setDataServiceName

      @Deprecated public void setDataServiceName(String dataServiceName) throws org.gcube.documentstore.exception.InvalidValueException
      Deprecated.
      Throws:
      org.gcube.documentstore.exception.InvalidValueException
    • getDataServiceId

      @Deprecated public String getDataServiceId()
      Deprecated.
    • setDataServiceId

      @Deprecated public void setDataServiceId(String dataServiceId) throws org.gcube.documentstore.exception.InvalidValueException
      Deprecated.
      Throws:
      org.gcube.documentstore.exception.InvalidValueException
    • getProviderId

      @Deprecated public URI getProviderId()
      Deprecated.
    • setProviderId

      @Deprecated public void setProviderId(URI provideId) throws org.gcube.documentstore.exception.InvalidValueException
      Deprecated.
      Throws:
      org.gcube.documentstore.exception.InvalidValueException
    • getProviderURI

      public URI getProviderURI()
    • setProviderURI

      public void setProviderURI(URI provideURI) throws org.gcube.documentstore.exception.InvalidValueException
      Throws:
      org.gcube.documentstore.exception.InvalidValueException