made variable public
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@126040 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
1485749a35
commit
bee51230d8
|
@ -11,6 +11,7 @@ import org.gcube.accounting.datamodel.validations.annotations.ValidOperationResu
|
|||
import org.gcube.accounting.datamodel.validations.validators.ValidOperationResultValidator;
|
||||
import org.gcube.common.scope.api.ScopeProvider;
|
||||
import org.gcube.documentstore.exception.InvalidValueException;
|
||||
import org.gcube.documentstore.records.Record;
|
||||
import org.gcube.documentstore.records.implementation.AbstractRecord;
|
||||
import org.gcube.documentstore.records.implementation.RequiredField;
|
||||
import org.gcube.documentstore.records.implementation.validations.annotations.NotEmpty;
|
||||
|
@ -30,8 +31,12 @@ public abstract class BasicUsageRecord extends AbstractRecord implements UsageRe
|
|||
|
||||
private static Logger logger = LoggerFactory.getLogger(BasicUsageRecord.class);
|
||||
|
||||
/**
|
||||
* Moved to {@link Record#RECORD_TYPE}. This filed should not be set
|
||||
* explicitly because it is automatically calculated
|
||||
*/
|
||||
@Deprecated @MoveToRecordType
|
||||
private static final String USAGE_RECORD_TYPE = "usageRecordType";
|
||||
public static final String USAGE_RECORD_TYPE = "usageRecordType";
|
||||
|
||||
@RequiredField @NotEmpty
|
||||
public static final String CONSUMER_ID = UsageRecord.CONSUMER_ID;
|
||||
|
|
Loading…
Reference in New Issue