public class RawRecordResource extends AbstractRecordResource<org.gcube.accounting.datamodel.RawUsageRecord>
| Constructor and Description |
|---|
RawRecordResource(String id) |
| Modifier and Type | Method and Description |
|---|---|
protected org.gcube.accounting.datamodel.RawUsageRecord |
createRecord(org.gcube.accounting.datamodel.UsageRecord r) |
protected boolean |
isCorrectType(org.gcube.accounting.datamodel.UsageRecord r) |
protected void |
validate(org.gcube.accounting.datamodel.RawUsageRecord record) |
getRecord, getUserId, setUserIdpublic RawRecordResource(String id)
protected void validate(org.gcube.accounting.datamodel.RawUsageRecord record)
throws org.gcube.accounting.exception.InvalidValueException
validate in class AbstractRecordResource<org.gcube.accounting.datamodel.RawUsageRecord>org.gcube.accounting.exception.InvalidValueExceptionprotected org.gcube.accounting.datamodel.RawUsageRecord createRecord(org.gcube.accounting.datamodel.UsageRecord r)
throws org.gcube.accounting.exception.InvalidValueException
createRecord in class AbstractRecordResource<org.gcube.accounting.datamodel.RawUsageRecord>org.gcube.accounting.exception.InvalidValueExceptionprotected boolean isCorrectType(org.gcube.accounting.datamodel.UsageRecord r)
isCorrectType in class AbstractRecordResource<org.gcube.accounting.datamodel.RawUsageRecord>Copyright © 2014. All Rights Reserved.