parent
2debbccf2a
commit
ce689042d7
33
pom.xml
33
pom.xml
|
@ -6,7 +6,7 @@
|
|||
|
||||
<groupId>eu.dnetlib</groupId>
|
||||
<artifactId>openaire-usage-stats-sushilite-r5</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
|
||||
<!--
|
||||
<parent>
|
||||
|
@ -28,7 +28,36 @@
|
|||
</dependency>
|
||||
</dependencies>
|
||||
-->
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>3.0.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>jar-no-fork</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
|
|
|
@ -28,4 +28,11 @@ public class Alert {
|
|||
return alert;
|
||||
}
|
||||
|
||||
public void setAlert(String alert) {
|
||||
this.alert = alert;
|
||||
}
|
||||
|
||||
public void setDateTime(String dateTime) {
|
||||
this.dateTime = dateTime;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,6 @@ public class COUNTER_Dataset_Attributes {
|
|||
this.type = type;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@JsonProperty("Type")
|
||||
public String getType() {
|
||||
return type;
|
||||
|
@ -26,4 +25,12 @@ public class COUNTER_Dataset_Attributes {
|
|||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,9 @@ public class COUNTER_Dataset_Contributors {
|
|||
private String name = null;
|
||||
private String identifier = null;
|
||||
|
||||
public COUNTER_Dataset_Contributors() {
|
||||
}
|
||||
|
||||
public COUNTER_Dataset_Contributors(String type, String name, String identifier) {
|
||||
this.type = type;
|
||||
this.name = name;
|
||||
|
@ -32,4 +35,15 @@ public class COUNTER_Dataset_Contributors {
|
|||
return identifier;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setIdentifier(String identifier) {
|
||||
this.identifier = identifier;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,4 +26,12 @@ public class COUNTER_Dataset_Dates {
|
|||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,6 +10,9 @@ public class COUNTER_Dataset_Identifiers {
|
|||
private String type = null;
|
||||
private String value = null;
|
||||
|
||||
public COUNTER_Dataset_Identifiers() {
|
||||
}
|
||||
|
||||
public COUNTER_Dataset_Identifiers(String type, String value) {
|
||||
this.type = type;
|
||||
this.value = value;
|
||||
|
@ -24,4 +27,12 @@ public class COUNTER_Dataset_Identifiers {
|
|||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -138,12 +138,16 @@ public class COUNTER_Dataset_Performance {
|
|||
return period;
|
||||
}
|
||||
|
||||
// @JsonProperty("Category")
|
||||
// public String getCategory() {
|
||||
// return "Requests";
|
||||
// }
|
||||
@JsonProperty("Instance")
|
||||
public List<Instance> getInstance() {
|
||||
return instances;
|
||||
}
|
||||
|
||||
public void setPeriod(Period period) {
|
||||
this.period = period;
|
||||
}
|
||||
|
||||
public void setInstances(List<Instance> instances) {
|
||||
this.instances = instances;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,6 +25,9 @@ public class COUNTER_Dataset_Report {
|
|||
private List<COUNTER_Dataset_Usage> reportDatasets = new ArrayList();
|
||||
final String createdBy="OpenAIRE UsageCounts Service";
|
||||
|
||||
public COUNTER_Dataset_Report(){
|
||||
|
||||
}
|
||||
|
||||
public COUNTER_Dataset_Report(String created,String customerID, String reportID, String reportName, String insitutionName, List<SUSHI_Org_Identifiers> institutionID, List<SUSHI_Error_Model> exceptions,
|
||||
List<Filter> reportFilters,List<COUNTER_Dataset_Usage> reportDatasets) {
|
||||
|
@ -53,7 +56,15 @@ public class COUNTER_Dataset_Report {
|
|||
return reportDatasets;
|
||||
}
|
||||
|
||||
public void setReportPR(SUSHI_Report_Header_DSR reportHeader) {
|
||||
public void setReportPR(SUSHI_Report_Header_DSR reportHeader) {
|
||||
this.reportHeader = reportHeader;
|
||||
}
|
||||
}
|
||||
|
||||
public void setReportHeader(SUSHI_Report_Header_DSR reportHeader) {
|
||||
this.reportHeader = reportHeader;
|
||||
}
|
||||
|
||||
public void setReportDatasets(List<COUNTER_Dataset_Usage> reportDatasets) {
|
||||
this.reportDatasets = reportDatasets;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -170,4 +170,59 @@ public class COUNTER_Dataset_Usage {
|
|||
datasetPerformances.add(datasetPerformance);
|
||||
}
|
||||
|
||||
public void setDatasetTitle(String datasetTitle) {
|
||||
this.datasetTitle = datasetTitle;
|
||||
}
|
||||
|
||||
public void setDatasetIdentifiers(List<COUNTER_Dataset_Identifiers> datasetIdentifiers) {
|
||||
this.datasetIdentifiers = datasetIdentifiers;
|
||||
}
|
||||
|
||||
public void setDatasetContributors(List<COUNTER_Dataset_Contributors> datasetContributors) {
|
||||
this.datasetContributors = datasetContributors;
|
||||
}
|
||||
|
||||
public void setDatasetDates(List<COUNTER_Dataset_Dates> datasetDates) {
|
||||
this.datasetDates = datasetDates;
|
||||
}
|
||||
|
||||
public void setDatasetAttributes(List<COUNTER_Dataset_Attributes> datasetAttributes) {
|
||||
this.datasetAttributes = datasetAttributes;
|
||||
}
|
||||
|
||||
public void setPlatform(String platform) {
|
||||
this.platform = platform;
|
||||
}
|
||||
|
||||
public void setPublisher(String publisher) {
|
||||
this.publisher = publisher;
|
||||
}
|
||||
|
||||
public void setPublisherIdentifiers(List<COUNTER_Publisher_Identifiers> publisherIdentifiers) {
|
||||
this.publisherIdentifiers = publisherIdentifiers;
|
||||
}
|
||||
|
||||
public void setItemParent(COUNTER_Item_Parent itemParent) {
|
||||
this.itemParent = itemParent;
|
||||
}
|
||||
|
||||
public void setItemComponents(List<COUNTER_Item_Component> itemComponents) {
|
||||
this.itemComponents = itemComponents;
|
||||
}
|
||||
|
||||
public void setDataType(String dataType) {
|
||||
this.dataType = dataType;
|
||||
}
|
||||
|
||||
public void setYop(String yop) {
|
||||
this.yop = yop;
|
||||
}
|
||||
|
||||
public void setAccessMethod(String accessMethod) {
|
||||
this.accessMethod = accessMethod;
|
||||
}
|
||||
|
||||
public void setDatasetPerformances(List<COUNTER_Dataset_Performance> datasetPerformances) {
|
||||
this.datasetPerformances = datasetPerformances;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,4 +26,12 @@ public class COUNTER_Item_Attributes {
|
|||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -38,8 +38,35 @@ public class COUNTER_Item_Component {
|
|||
return dataType;
|
||||
}
|
||||
|
||||
|
||||
public void addIdentifier(COUNTER_Item_Identifiers itemIdentifier) {
|
||||
itemIdentifiers.add(itemIdentifier);
|
||||
}
|
||||
|
||||
public void setItemName(String itemName) {
|
||||
this.itemName = itemName;
|
||||
}
|
||||
|
||||
public void setItemIdentifiers(List<COUNTER_Item_Identifiers> itemIdentifiers) {
|
||||
this.itemIdentifiers = itemIdentifiers;
|
||||
}
|
||||
|
||||
public void setItemContributors(List<COUNTER_Item_Contributors> itemContributors) {
|
||||
this.itemContributors = itemContributors;
|
||||
}
|
||||
|
||||
public void setItemDates(List<COUNTER_Item_Dates> itemDates) {
|
||||
this.itemDates = itemDates;
|
||||
}
|
||||
|
||||
public void setItemAttributes(List<COUNTER_Item_Attributes> itemAttributes) {
|
||||
this.itemAttributes = itemAttributes;
|
||||
}
|
||||
|
||||
public void setDataType(String dataType) {
|
||||
this.dataType = dataType;
|
||||
}
|
||||
|
||||
public void setItemPerformance(List<COUNTER_Item_Performance> itemPerformance) {
|
||||
this.itemPerformance = itemPerformance;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,9 @@ public class COUNTER_Item_Contributors {
|
|||
private String name = null;
|
||||
private String identifier = null;
|
||||
|
||||
public COUNTER_Item_Contributors(){
|
||||
|
||||
}
|
||||
public COUNTER_Item_Contributors(String type, String name, String identifier) {
|
||||
this.type = type;
|
||||
this.name = name;
|
||||
|
@ -32,4 +35,15 @@ public class COUNTER_Item_Contributors {
|
|||
return identifier;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setIdentifier(String identifier) {
|
||||
this.identifier = identifier;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,4 +26,12 @@ public class COUNTER_Item_Dates {
|
|||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,6 +10,9 @@ public class COUNTER_Item_Identifiers {
|
|||
private String type = null;
|
||||
private String value = null;
|
||||
|
||||
public COUNTER_Item_Identifiers(){
|
||||
|
||||
}
|
||||
public COUNTER_Item_Identifiers(String type, String value) {
|
||||
this.type = type;
|
||||
this.value = value;
|
||||
|
@ -24,4 +27,12 @@ public class COUNTER_Item_Identifiers {
|
|||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,8 +37,31 @@ public class COUNTER_Item_Parent {
|
|||
return dataType;
|
||||
}
|
||||
|
||||
|
||||
public void addIdentifier(COUNTER_Item_Identifiers itemIdentifier) {
|
||||
itemIdentifiers.add(itemIdentifier);
|
||||
}
|
||||
|
||||
public void setItemName(String itemName) {
|
||||
this.itemName = itemName;
|
||||
}
|
||||
|
||||
public void setItemIdentifiers(List<COUNTER_Item_Identifiers> itemIdentifiers) {
|
||||
this.itemIdentifiers = itemIdentifiers;
|
||||
}
|
||||
|
||||
public void setItemContributors(List<COUNTER_Item_Contributors> itemContributors) {
|
||||
this.itemContributors = itemContributors;
|
||||
}
|
||||
|
||||
public void setItemDates(List<COUNTER_Item_Dates> itemDates) {
|
||||
this.itemDates = itemDates;
|
||||
}
|
||||
|
||||
public void setItemAttributes(List<COUNTER_Item_Attributes> itemAttributes) {
|
||||
this.itemAttributes = itemAttributes;
|
||||
}
|
||||
|
||||
public void setDataType(String dataType) {
|
||||
this.dataType = dataType;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -133,17 +133,22 @@ public class COUNTER_Item_Performance {
|
|||
}
|
||||
}
|
||||
|
||||
public void setPeriod(Period period) {
|
||||
this.period = period;
|
||||
}
|
||||
|
||||
public void setInstances(List<Instance> instances) {
|
||||
this.instances = instances;
|
||||
}
|
||||
|
||||
@JsonProperty("Period")
|
||||
public Period getPeriod() {
|
||||
return period;
|
||||
}
|
||||
|
||||
// @JsonProperty("Category")
|
||||
// public String getCategory() {
|
||||
// return "Requests";
|
||||
// }
|
||||
@JsonProperty("Instance")
|
||||
public List<Instance> getInstance() {
|
||||
return instances;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
package eu.dnetlib.usagestats.sushilite.domain;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author dpie
|
||||
*/
|
||||
|
||||
|
@ -23,37 +22,49 @@ public class COUNTER_Item_Report {
|
|||
|
||||
private SUSHI_Report_Header reportHeader;
|
||||
private List<COUNTER_Item_Usage> reportItems = new ArrayList();
|
||||
final String createdBy="OpenAIRE UsageCounts Service";
|
||||
final String createdBy = "OpenAIRE UsageCounts Service";
|
||||
|
||||
public COUNTER_Item_Report() {
|
||||
|
||||
}
|
||||
|
||||
public COUNTER_Item_Report(String created, String customerID, String reportID, String reportName, String insitutionName, List<SUSHI_Org_Identifiers> institutionID, List<SUSHI_Error_Model> exceptions,
|
||||
List<Filter> reportFilters, List<COUNTER_Item_Usage> reportItems) {
|
||||
|
||||
public COUNTER_Item_Report(String created,String customerID, String reportID, String reportName, String insitutionName, List<SUSHI_Org_Identifiers> institutionID, List<SUSHI_Error_Model> exceptions,
|
||||
List<Filter> reportFilters,List<COUNTER_Item_Usage> reportItems) {
|
||||
|
||||
|
||||
this.reportHeader = new SUSHI_Report_Header(createdBy, customerID, reportID, "5", reportName, insitutionName, institutionID);
|
||||
this.reportItems = reportItems;
|
||||
|
||||
List<ReportAttribute> reportAttributes=new ArrayList();
|
||||
reportAttributes.add(new ReportAttribute("Attributes_To_Show",("Data_Type|Access_Method" )));
|
||||
List<ReportAttribute> reportAttributes = new ArrayList();
|
||||
reportAttributes.add(new ReportAttribute("Attributes_To_Show", ("Data_Type|Access_Method")));
|
||||
|
||||
reportHeader.setExceptions(exceptions);
|
||||
reportHeader.setCreated(created);
|
||||
reportHeader.setReportFiters(reportFilters);
|
||||
reportHeader.setReportAttributes(reportAttributes);
|
||||
reportHeader.setExceptions(exceptions);
|
||||
|
||||
|
||||
}
|
||||
|
||||
@JsonProperty("Report_Header")
|
||||
public SUSHI_Report_Header getReportHeader() {
|
||||
return reportHeader;
|
||||
}
|
||||
|
||||
@JsonProperty("Report_Items")
|
||||
public List<COUNTER_Item_Usage> getReportItems() {
|
||||
return reportItems;
|
||||
}
|
||||
|
||||
public void setReportPR(SUSHI_Report_Header reportHeader) {
|
||||
public void setReportPR(SUSHI_Report_Header reportHeader) {
|
||||
this.reportHeader = reportHeader;
|
||||
}
|
||||
}
|
||||
|
||||
public void setReportHeader(SUSHI_Report_Header reportHeader) {
|
||||
this.reportHeader = reportHeader;
|
||||
}
|
||||
|
||||
public void setReportItems(List<COUNTER_Item_Usage> reportItems) {
|
||||
this.reportItems = reportItems;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -171,6 +171,64 @@ public class COUNTER_Item_Usage {
|
|||
public void addPerformance(COUNTER_Item_Performance itemPerformance) {
|
||||
itemPerformances.add(itemPerformance);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setItem(String item) {
|
||||
this.item = item;
|
||||
}
|
||||
|
||||
public void setItemIdentifiers(List<COUNTER_Item_Identifiers> itemIdentifiers) {
|
||||
this.itemIdentifiers = itemIdentifiers;
|
||||
}
|
||||
|
||||
public void setItemContributors(List<COUNTER_Item_Contributors> itemContributors) {
|
||||
this.itemContributors = itemContributors;
|
||||
}
|
||||
|
||||
public void setItemDates(List<COUNTER_Item_Dates> itemDates) {
|
||||
this.itemDates = itemDates;
|
||||
}
|
||||
|
||||
public void setItemAttributes(List<COUNTER_Item_Attributes> itemAttributes) {
|
||||
this.itemAttributes = itemAttributes;
|
||||
}
|
||||
|
||||
public void setPlatform(String platform) {
|
||||
this.platform = platform;
|
||||
}
|
||||
|
||||
public void setPublisher(String publisher) {
|
||||
this.publisher = publisher;
|
||||
}
|
||||
|
||||
public void setPublisherIdentifiers(List<COUNTER_Publisher_Identifiers> publisherIdentifiers) {
|
||||
this.publisherIdentifiers = publisherIdentifiers;
|
||||
}
|
||||
|
||||
public void setItemParent(COUNTER_Item_Parent itemParent) {
|
||||
this.itemParent = itemParent;
|
||||
}
|
||||
|
||||
public void setItemComponents(List<COUNTER_Item_Component> itemComponents) {
|
||||
this.itemComponents = itemComponents;
|
||||
}
|
||||
|
||||
public void setDataType(String dataType) {
|
||||
this.dataType = dataType;
|
||||
}
|
||||
|
||||
public void setYop(String yop) {
|
||||
this.yop = yop;
|
||||
}
|
||||
|
||||
public void setAccessType(String accessType) {
|
||||
this.accessType = accessType;
|
||||
}
|
||||
|
||||
public void setAccessMethod(String accessMethod) {
|
||||
this.accessMethod = accessMethod;
|
||||
}
|
||||
|
||||
public void setItemPerformances(List<COUNTER_Item_Performance> itemPerformances) {
|
||||
this.itemPerformances = itemPerformances;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,7 +25,9 @@ public class COUNTER_Platform_Report {
|
|||
private List<COUNTER_Platform_Usage> reportItems = new ArrayList();
|
||||
final String createdBy="OpenAIRE Usage Counts Service";
|
||||
|
||||
public COUNTER_Platform_Report(){
|
||||
|
||||
}
|
||||
public COUNTER_Platform_Report(String created,String customerID, String reportID, String reportName, String insitutionName, List<SUSHI_Org_Identifiers> institutionID, List<SUSHI_Error_Model> exceptions,
|
||||
List<Filter> reportFilters,List<COUNTER_Platform_Usage> reportItems) {
|
||||
|
||||
|
@ -53,7 +55,15 @@ public class COUNTER_Platform_Report {
|
|||
return reportItems;
|
||||
}
|
||||
|
||||
public void setReportPR(SUSHI_Report_Header reportHeader) {
|
||||
public void setReportPR(SUSHI_Report_Header reportHeader) {
|
||||
this.reportHeader = reportHeader;
|
||||
}
|
||||
}
|
||||
|
||||
public void setReportHeader(SUSHI_Report_Header reportHeader) {
|
||||
this.reportHeader = reportHeader;
|
||||
}
|
||||
|
||||
public void setReportItems(List<COUNTER_Platform_Usage> reportItems) {
|
||||
this.reportItems = reportItems;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -53,4 +53,20 @@ public class COUNTER_Platform_Usage {
|
|||
public void addPerformance(COUNTER_Item_Performance itemPerformance) {
|
||||
itemPerformances.add(itemPerformance);
|
||||
}
|
||||
|
||||
public void setPlatform(String platform) {
|
||||
this.platform = platform;
|
||||
}
|
||||
|
||||
public void setDataType(String dataType) {
|
||||
this.dataType = dataType;
|
||||
}
|
||||
|
||||
public void setAccessMethod(String accessMethod) {
|
||||
this.accessMethod = accessMethod;
|
||||
}
|
||||
|
||||
public void setItemPerformances(List<COUNTER_Item_Performance> itemPerformances) {
|
||||
this.itemPerformances = itemPerformances;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,6 +10,9 @@ public class COUNTER_Publisher_Identifiers {
|
|||
private String type = null;
|
||||
private String value = null;
|
||||
|
||||
public COUNTER_Publisher_Identifiers(){
|
||||
|
||||
}
|
||||
public COUNTER_Publisher_Identifiers(String type, String value) {
|
||||
this.type = type;
|
||||
this.value = value;
|
||||
|
@ -24,4 +27,12 @@ public class COUNTER_Publisher_Identifiers {
|
|||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,7 +25,9 @@ public class COUNTER_Title_Report {
|
|||
private List<COUNTER_Platform_Usage> reportItems = new ArrayList();
|
||||
final String createdBy="OpenAIRE Usage Counts Service";
|
||||
|
||||
public COUNTER_Title_Report(){
|
||||
|
||||
}
|
||||
public COUNTER_Title_Report(String created,String customerID, String reportID, String reportName, String insitutionName, List<SUSHI_Org_Identifiers> institutionID, List<SUSHI_Error_Model> exceptions,
|
||||
List<Filter> reportFilters,List<COUNTER_Platform_Usage> reportItems) {
|
||||
|
||||
|
@ -53,7 +55,15 @@ public class COUNTER_Title_Report {
|
|||
return reportItems;
|
||||
}
|
||||
|
||||
public void setReportPR(SUSHI_Report_Header reportHeader) {
|
||||
public void setReportPR(SUSHI_Report_Header reportHeader) {
|
||||
this.reportHeader = reportHeader;
|
||||
}
|
||||
}
|
||||
|
||||
public void setReportHeader(SUSHI_Report_Header reportHeader) {
|
||||
this.reportHeader = reportHeader;
|
||||
}
|
||||
|
||||
public void setReportItems(List<COUNTER_Platform_Usage> reportItems) {
|
||||
this.reportItems = reportItems;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -95,4 +95,48 @@ public class COUNTER_Title_Usage {
|
|||
public void addPerformance(COUNTER_Item_Performance itemPerformance) {
|
||||
itemPerformances.add(itemPerformance);
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public void setItemIdentifiers(List<COUNTER_Item_Identifiers> itemIdentifiers) {
|
||||
this.itemIdentifiers = itemIdentifiers;
|
||||
}
|
||||
|
||||
public void setPlatform(String platform) {
|
||||
this.platform = platform;
|
||||
}
|
||||
|
||||
public void setPublisher(String publisher) {
|
||||
this.publisher = publisher;
|
||||
}
|
||||
|
||||
public void setPublisherIdentifiers(List<COUNTER_Publisher_Identifiers> publisherIdentifiers) {
|
||||
this.publisherIdentifiers = publisherIdentifiers;
|
||||
}
|
||||
|
||||
public void setDataType(String dataType) {
|
||||
this.dataType = dataType;
|
||||
}
|
||||
|
||||
public void setSectionType(String sectionType) {
|
||||
this.sectionType = sectionType;
|
||||
}
|
||||
|
||||
public void setYop(String yop) {
|
||||
this.yop = yop;
|
||||
}
|
||||
|
||||
public void setAccessType(String accessType) {
|
||||
this.accessType = accessType;
|
||||
}
|
||||
|
||||
public void setAccessMethod(String accessMethod) {
|
||||
this.accessMethod = accessMethod;
|
||||
}
|
||||
|
||||
public void setItemPerformances(List<COUNTER_Item_Performance> itemPerformances) {
|
||||
this.itemPerformances = itemPerformances;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,4 +26,12 @@ public class Filter {
|
|||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,4 +50,16 @@ public class Filters {
|
|||
public List<Filter> getReportAttribute() {
|
||||
return reportAttribute;
|
||||
}
|
||||
|
||||
public void setUsageDateRange(UsageDateRange usageDateRange) {
|
||||
this.usageDateRange = usageDateRange;
|
||||
}
|
||||
|
||||
public void setFilter(List<Filter> filter) {
|
||||
this.filter = filter;
|
||||
}
|
||||
|
||||
public void setReportAttribute(List<Filter> reportAttribute) {
|
||||
this.reportAttribute = reportAttribute;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,4 +30,13 @@ public class Instance {
|
|||
public String getCount() {
|
||||
return count;
|
||||
}
|
||||
|
||||
public void setMetricType(String metricType) {
|
||||
this.metricType = metricType;
|
||||
}
|
||||
|
||||
public void setCount(String count) {
|
||||
this.count = count;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -26,4 +26,12 @@ public class Period {
|
|||
public String getEnd() {
|
||||
return end;
|
||||
}
|
||||
|
||||
public void setBegin(String begin) {
|
||||
this.begin = begin;
|
||||
}
|
||||
|
||||
public void setEnd(String end) {
|
||||
this.end = end;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,4 +36,15 @@ public class ReportDefinition {
|
|||
return filters;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setRelease(String release) {
|
||||
this.release = release;
|
||||
}
|
||||
|
||||
public void setFilters(Filters filters) {
|
||||
this.filters = filters;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,6 +13,9 @@ public class ReportSupported {
|
|||
private String description;
|
||||
private String path;
|
||||
|
||||
public ReportSupported(){
|
||||
|
||||
}
|
||||
public ReportSupported(String report_name, String report_id, String release, String description, String path) {
|
||||
this.report_name = report_name;
|
||||
this.report_id = report_id;
|
||||
|
@ -45,4 +48,24 @@ public class ReportSupported {
|
|||
public String getPath() {
|
||||
return path;
|
||||
}
|
||||
|
||||
public void setReport_name(String report_name) {
|
||||
this.report_name = report_name;
|
||||
}
|
||||
|
||||
public void setReport_id(String report_id) {
|
||||
this.report_id = report_id;
|
||||
}
|
||||
|
||||
public void setRelease(String release) {
|
||||
this.release = release;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public void setPath(String path) {
|
||||
this.path = path;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,4 +20,7 @@ public class Requestor {
|
|||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,4 +64,23 @@ public class SUSHI_Consortium_Member_List {
|
|||
return institutionID;
|
||||
}
|
||||
|
||||
public void setCustomerID(String customerID) {
|
||||
this.customerID = customerID;
|
||||
}
|
||||
|
||||
public void setRequestorID(String requestorID) {
|
||||
this.requestorID = requestorID;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setNotes(String notes) {
|
||||
this.notes = notes;
|
||||
}
|
||||
|
||||
public void setInstitutionID(List<SUSHI_Org_Identifiers> institutionID) {
|
||||
this.institutionID = institutionID;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,4 +54,24 @@ public class SUSHI_Error_Model {
|
|||
public String getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public void setSeverity(String severity) {
|
||||
this.severity = severity;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public void setHelpURL(String helpURL) {
|
||||
this.helpURL = helpURL;
|
||||
}
|
||||
|
||||
public void setData(String data) {
|
||||
this.data = data;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,6 +10,9 @@ public class SUSHI_Org_Identifiers {
|
|||
private String type = null;
|
||||
private String value = null;
|
||||
|
||||
public SUSHI_Org_Identifiers(){
|
||||
|
||||
}
|
||||
public SUSHI_Org_Identifiers(String type, String value) {
|
||||
this.type = type;
|
||||
this.value = value;
|
||||
|
@ -24,4 +27,12 @@ public class SUSHI_Org_Identifiers {
|
|||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -114,19 +114,6 @@ public class SUSHI_Report_Header {
|
|||
this.reportFiters = reportFiters;
|
||||
}
|
||||
|
||||
// @JsonIgnore
|
||||
// public Date getBeginDate() {
|
||||
// return beginDate;
|
||||
// }
|
||||
//
|
||||
// @JsonIgnore
|
||||
// public Date getEndDate() {
|
||||
// return endDate;
|
||||
// }
|
||||
//
|
||||
// public void setReportAttributes(List<Attribute> reportAttributes) {
|
||||
// this.reportAttributes = reportAttributes;
|
||||
// }
|
||||
public void setReportAttributes(List<ReportAttribute> reportAttributes) {
|
||||
this.reportAttributes = reportAttributes;
|
||||
}
|
||||
|
@ -134,4 +121,24 @@ public class SUSHI_Report_Header {
|
|||
public void setExceptions(List<SUSHI_Error_Model> exceptions) {
|
||||
this.exceptions = exceptions;
|
||||
}
|
||||
|
||||
public void setCustomerID(String customerID) {
|
||||
this.customerID = customerID;
|
||||
}
|
||||
|
||||
public void setReportID(String reportID) {
|
||||
this.reportID = reportID;
|
||||
}
|
||||
|
||||
public void setRelease(String release) {
|
||||
this.release = release;
|
||||
}
|
||||
|
||||
public void setInstitutionName(String institutionName) {
|
||||
this.institutionName = institutionName;
|
||||
}
|
||||
|
||||
public void setInstitutionID(List<SUSHI_Org_Identifiers> institutionID) {
|
||||
this.institutionID = institutionID;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -120,4 +120,16 @@ public class SUSHI_Report_Header_DSR {
|
|||
public void setExceptions(List<SUSHI_Error_Model> exceptions) {
|
||||
this.exceptions = exceptions;
|
||||
}
|
||||
|
||||
public void setCustomerID(String customerID) {
|
||||
this.customerID = customerID;
|
||||
}
|
||||
|
||||
public void setReportID(String reportID) {
|
||||
this.reportID = reportID;
|
||||
}
|
||||
|
||||
public void setRelease(String release) {
|
||||
this.release = release;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -58,4 +58,24 @@ public class SUSHI_Report_List {
|
|||
public String getPath() {
|
||||
return path;
|
||||
}
|
||||
}
|
||||
|
||||
public void setReportName(String reportName) {
|
||||
this.reportName = reportName;
|
||||
}
|
||||
|
||||
public void setReportID(String reportID) {
|
||||
this.reportID = reportID;
|
||||
}
|
||||
|
||||
public void setRelease(String release) {
|
||||
this.release = release;
|
||||
}
|
||||
|
||||
public void setReportDescription(String reportDescription) {
|
||||
this.reportDescription = reportDescription;
|
||||
}
|
||||
|
||||
public void setPath(String path) {
|
||||
this.path = path;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,4 +64,23 @@ public class SUSHI_Service_Status {
|
|||
return alerts;
|
||||
}
|
||||
|
||||
}
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public void setServiceActive(boolean serviceActive) {
|
||||
this.serviceActive = serviceActive;
|
||||
}
|
||||
|
||||
public void setRegistry_url(String registry_url) {
|
||||
this.registry_url = registry_url;
|
||||
}
|
||||
|
||||
public void setNote(String note) {
|
||||
this.note = note;
|
||||
}
|
||||
|
||||
public void setAlerts(List<Alert> alerts) {
|
||||
this.alerts = alerts;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,4 +26,12 @@ public class UsageDateRange {
|
|||
public String getEnd() {
|
||||
return end;
|
||||
}
|
||||
|
||||
public void setBegin(String begin) {
|
||||
this.begin = begin;
|
||||
}
|
||||
|
||||
public void setEnd(String end) {
|
||||
this.end = end;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue