changed the record_type from original to source
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/grsf-publisher-ws@139782 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
e69ba794f1
commit
878a39cd57
|
@ -169,7 +169,7 @@ public class GrsfPublisherFisheryService {
|
|||
record.setRecordType(Record_Type.AGGREGATED);
|
||||
CommonServiceUtils.validateAggregatedRecord(record);
|
||||
}else
|
||||
record.setRecordType(Record_Type.ORIGINAL);
|
||||
record.setRecordType(Record_Type.SOURCE);
|
||||
}
|
||||
|
||||
// set the type
|
||||
|
|
|
@ -164,7 +164,7 @@ public class GrsfPublisherStockService {
|
|||
record.setRecordType(Record_Type.AGGREGATED);
|
||||
CommonServiceUtils.validateAggregatedRecord(record);
|
||||
}else
|
||||
record.setRecordType(Record_Type.ORIGINAL);
|
||||
record.setRecordType(Record_Type.SOURCE);
|
||||
}
|
||||
|
||||
// set the type
|
||||
|
|
|
@ -8,7 +8,7 @@ package org.gcube.data_catalogue.grsf_publish_ws.utils.groups;
|
|||
public enum Record_Type {
|
||||
|
||||
AGGREGATED("Aggregated"),
|
||||
ORIGINAL("Original");
|
||||
SOURCE("Source");
|
||||
|
||||
private String name;
|
||||
|
||||
|
|
Loading…
Reference in New Issue