git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@132025 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d1763925cf
commit
50953662fc
|
@ -5,6 +5,7 @@ package org.gcube.accounting.datamodel.basetypes;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
import java.util.SortedSet;
|
||||||
|
|
||||||
import org.gcube.accounting.datamodel.BasicUsageRecord;
|
import org.gcube.accounting.datamodel.BasicUsageRecord;
|
||||||
import org.gcube.documentstore.exception.InvalidValueException;
|
import org.gcube.documentstore.exception.InvalidValueException;
|
||||||
|
@ -65,8 +66,17 @@ public abstract class AbstractServiceUsageRecord extends BasicUsageRecord {
|
||||||
*/
|
*/
|
||||||
@RequiredField @NotEmpty
|
@RequiredField @NotEmpty
|
||||||
public static final String CALLERQUALIFIER = "callerQualifier";
|
public static final String CALLERQUALIFIER = "callerQualifier";
|
||||||
|
/**MODIFICA EFFETTUATA***/
|
||||||
|
@Override
|
||||||
|
public SortedSet<String> getQuerableKeys()
|
||||||
|
throws Exception {
|
||||||
|
SortedSet<String> properties = super.getQuerableKeys();
|
||||||
|
|
||||||
|
properties.remove(CALLERQUALIFIER);
|
||||||
|
|
||||||
|
|
||||||
|
return properties;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public AbstractServiceUsageRecord(){
|
public AbstractServiceUsageRecord(){
|
||||||
|
@ -143,4 +153,5 @@ public abstract class AbstractServiceUsageRecord extends BasicUsageRecord {
|
||||||
setResourceProperty(CALLERQUALIFIER, callerQualifier);
|
setResourceProperty(CALLERQUALIFIER, callerQualifier);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue