This commit is contained in:
Alessandro Pieve 2016-09-29 08:37:39 +00:00
parent d1763925cf
commit 50953662fc
1 changed files with 13 additions and 2 deletions

View File

@ -5,6 +5,7 @@ package org.gcube.accounting.datamodel.basetypes;
import java.io.Serializable;
import java.util.Map;
import java.util.SortedSet;
import org.gcube.accounting.datamodel.BasicUsageRecord;
import org.gcube.documentstore.exception.InvalidValueException;
@ -65,8 +66,17 @@ public abstract class AbstractServiceUsageRecord extends BasicUsageRecord {
*/
@RequiredField @NotEmpty
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(){
@ -143,4 +153,5 @@ public abstract class AbstractServiceUsageRecord extends BasicUsageRecord {
setResourceProperty(CALLERQUALIFIER, callerQualifier);
}
}