public abstract class AbstractStorageStatusRecord extends BasicUsageRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractStorageStatusRecord.DataType |
UsageRecord.OperationResult| Modifier and Type | Field and Description |
|---|---|
static String |
DATA_COUNT
KEY for : data Count number of objects
|
static String |
DATA_SERVICECLASS
KEY for : data service class identifier
|
static String |
DATA_SERVICEID
KEY for : data service name id
|
static String |
DATA_SERVICENAME
KEY for : data service name identifier
|
static String |
DATA_TYPE
KEY for : type of data accessed.
|
static String |
DATA_VOLUME
KEY for : Quantity of data in terms of KB
|
static String |
PROVIDER_ID
KEY for : providerId the identifier of the provider which is the target of a read/write operation
|
CONSUMER_ID, OPERATION_RESULT, SCOPE, USAGE_RECORD_TYPE| Constructor and Description |
|---|
AbstractStorageStatusRecord() |
AbstractStorageStatusRecord(Map<String,? extends Serializable> properties) |
| Modifier and Type | Method and Description |
|---|---|
long |
getDataCount() |
String |
getDataServiceClass() |
String |
getDataServiceId() |
String |
getDataServiceName() |
AbstractStorageStatusRecord.DataType |
getDataType() |
long |
getDataVolume() |
URI |
getProviderId() |
protected String |
giveMeRecordType() |
void |
setDataCount(long dataCount) |
void |
setDataServiceClass(String dataServiceClass) |
void |
setDataServiceId(String dataServiceId) |
void |
setDataServiceName(String dataServiceName) |
void |
setDataType(AbstractStorageStatusRecord.DataType dataType) |
void |
setDataVolume(long dataVolume) |
void |
setProviderId(URI provideId) |
getConsumerId, getOperationResult, getQuerableKeys, getScope, getScopeFromToken, init, setConsumerId, setOperationResult, setScopecleanExtraFields, compareTo, computeField, getAggregate, getAggregatedFields, getAllFields, getComputedFields, getCreationTime, getEndTimeAsCalendar, getEndTimeInMillis, getId, getOperationCount, getRecordType, getRequiredFields, getResourceProperties, getResourceProperty, getStartTimeAsCalendar, getStartTimeInMillis, initializeValidation, setAggregate, setCreationTime, setEndTime, setId, setOperationCount, setRecordType, setResourceProperties, setResourceProperty, setStartTime, timestampToCalendar, toString, validate, validateField, validatePropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComputedFields, getCreationTime, getId, getRecordType, getRequiredFields, getResourceProperties, getResourceProperty, setCreationTime, setId, setResourceProperties, setResourceProperty, validatecompareTopublic static final String DATA_VOLUME
public static final String DATA_TYPE
#StorageStatusRecord.DataTypepublic static final String DATA_COUNT
public static final String DATA_SERVICECLASS
public static final String DATA_SERVICENAME
public static final String DATA_SERVICEID
public static final String PROVIDER_ID
public AbstractStorageStatusRecord()
public AbstractStorageStatusRecord(Map<String,? extends Serializable> properties) throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionprotected String giveMeRecordType()
giveMeRecordType in class BasicUsageRecordpublic long getDataVolume()
public void setDataVolume(long dataVolume)
throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionpublic AbstractStorageStatusRecord.DataType getDataType()
public void setDataType(AbstractStorageStatusRecord.DataType dataType) throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionpublic long getDataCount()
public void setDataCount(long dataCount)
throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionpublic String getDataServiceClass()
public void setDataServiceClass(String dataServiceClass) throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionpublic String getDataServiceName()
public void setDataServiceName(String dataServiceName) throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionpublic String getDataServiceId()
public void setDataServiceId(String dataServiceId) throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionpublic URI getProviderId()
public void setProviderId(URI provideId) throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionCopyright © 2017. All Rights Reserved.