Added toString()

This commit is contained in:
dimitrispie 2023-03-28 09:48:31 +03:00
parent ce689042d7
commit e548fc227a
38 changed files with 386 additions and 0 deletions

View File

@ -35,4 +35,12 @@ public class Alert {
public void setDateTime(String dateTime) { public void setDateTime(String dateTime) {
this.dateTime = dateTime; this.dateTime = dateTime;
} }
@Override
public String toString() {
return "Alert{" +
"dateTime='" + dateTime + '\'' +
", alert='" + alert + '\'' +
'}';
}
} }

View File

@ -33,4 +33,12 @@ public class COUNTER_Dataset_Attributes {
public void setValue(String value) { public void setValue(String value) {
this.value = value; this.value = value;
} }
@Override
public String toString() {
return "COUNTER_Dataset_Attributes{" +
"type='" + type + '\'' +
", value='" + value + '\'' +
'}';
}
} }

View File

@ -46,4 +46,13 @@ public class COUNTER_Dataset_Contributors {
public void setIdentifier(String identifier) { public void setIdentifier(String identifier) {
this.identifier = identifier; this.identifier = identifier;
} }
@Override
public String toString() {
return "COUNTER_Dataset_Contributors{" +
"type='" + type + '\'' +
", name='" + name + '\'' +
", identifier='" + identifier + '\'' +
'}';
}
} }

View File

@ -34,4 +34,12 @@ public class COUNTER_Dataset_Dates {
public void setValue(String value) { public void setValue(String value) {
this.value = value; this.value = value;
} }
@Override
public String toString() {
return "COUNTER_Dataset_Dates{" +
"type='" + type + '\'' +
", value='" + value + '\'' +
'}';
}
} }

View File

@ -35,4 +35,12 @@ public class COUNTER_Dataset_Identifiers {
public void setValue(String value) { public void setValue(String value) {
this.value = value; this.value = value;
} }
@Override
public String toString() {
return "COUNTER_Dataset_Identifiers{" +
"type='" + type + '\'' +
", value='" + value + '\'' +
'}';
}
} }

View File

@ -150,4 +150,12 @@ public class COUNTER_Dataset_Performance {
public void setInstances(List<Instance> instances) { public void setInstances(List<Instance> instances) {
this.instances = instances; this.instances = instances;
} }
@Override
public String toString() {
return "COUNTER_Dataset_Performance{" +
"period=" + period +
", instances=" + instances +
'}';
}
} }

View File

@ -67,4 +67,13 @@ public class COUNTER_Dataset_Report {
public void setReportDatasets(List<COUNTER_Dataset_Usage> reportDatasets) { public void setReportDatasets(List<COUNTER_Dataset_Usage> reportDatasets) {
this.reportDatasets = reportDatasets; this.reportDatasets = reportDatasets;
} }
@Override
public String toString() {
return "COUNTER_Dataset_Report{" +
"reportHeader=" + reportHeader +
", reportDatasets=" + reportDatasets +
", createdBy='" + createdBy + '\'' +
'}';
}
} }

View File

@ -225,4 +225,24 @@ public class COUNTER_Dataset_Usage {
public void setDatasetPerformances(List<COUNTER_Dataset_Performance> datasetPerformances) { public void setDatasetPerformances(List<COUNTER_Dataset_Performance> datasetPerformances) {
this.datasetPerformances = datasetPerformances; this.datasetPerformances = datasetPerformances;
} }
@Override
public String toString() {
return "COUNTER_Dataset_Usage{" +
"datasetTitle='" + datasetTitle + '\'' +
", datasetIdentifiers=" + datasetIdentifiers +
", datasetContributors=" + datasetContributors +
", datasetDates=" + datasetDates +
", datasetAttributes=" + datasetAttributes +
", platform='" + platform + '\'' +
", publisher='" + publisher + '\'' +
", publisherIdentifiers=" + publisherIdentifiers +
", itemParent=" + itemParent +
", itemComponents=" + itemComponents +
", dataType='" + dataType + '\'' +
", yop='" + yop + '\'' +
", accessMethod='" + accessMethod + '\'' +
", datasetPerformances=" + datasetPerformances +
'}';
}
} }

View File

@ -34,4 +34,12 @@ public class COUNTER_Item_Attributes {
public void setValue(String value) { public void setValue(String value) {
this.value = value; this.value = value;
} }
@Override
public String toString() {
return "COUNTER_Item_Attributes{" +
"type='" + type + '\'' +
", value='" + value + '\'' +
'}';
}
} }

View File

@ -69,4 +69,17 @@ public class COUNTER_Item_Component {
public void setItemPerformance(List<COUNTER_Item_Performance> itemPerformance) { public void setItemPerformance(List<COUNTER_Item_Performance> itemPerformance) {
this.itemPerformance = itemPerformance; this.itemPerformance = itemPerformance;
} }
@Override
public String toString() {
return "COUNTER_Item_Component{" +
"itemName='" + itemName + '\'' +
", itemIdentifiers=" + itemIdentifiers +
", itemContributors=" + itemContributors +
", itemDates=" + itemDates +
", itemAttributes=" + itemAttributes +
", dataType='" + dataType + '\'' +
", itemPerformance=" + itemPerformance +
'}';
}
} }

View File

@ -46,4 +46,13 @@ public class COUNTER_Item_Contributors {
public void setIdentifier(String identifier) { public void setIdentifier(String identifier) {
this.identifier = identifier; this.identifier = identifier;
} }
@Override
public String toString() {
return "COUNTER_Item_Contributors{" +
"type='" + type + '\'' +
", name='" + name + '\'' +
", identifier='" + identifier + '\'' +
'}';
}
} }

View File

@ -34,4 +34,12 @@ public class COUNTER_Item_Dates {
public void setValue(String value) { public void setValue(String value) {
this.value = value; this.value = value;
} }
@Override
public String toString() {
return "COUNTER_Item_Dates{" +
"type='" + type + '\'' +
", value='" + value + '\'' +
'}';
}
} }

View File

@ -35,4 +35,12 @@ public class COUNTER_Item_Identifiers {
public void setValue(String value) { public void setValue(String value) {
this.value = value; this.value = value;
} }
@Override
public String toString() {
return "COUNTER_Item_Identifiers{" +
"type='" + type + '\'' +
", value='" + value + '\'' +
'}';
}
} }

View File

@ -64,4 +64,16 @@ public class COUNTER_Item_Parent {
public void setDataType(String dataType) { public void setDataType(String dataType) {
this.dataType = dataType; this.dataType = dataType;
} }
@Override
public String toString() {
return "COUNTER_Item_Parent{" +
"itemName='" + itemName + '\'' +
", itemIdentifiers=" + itemIdentifiers +
", itemContributors=" + itemContributors +
", itemDates=" + itemDates +
", itemAttributes=" + itemAttributes +
", dataType='" + dataType + '\'' +
'}';
}
} }

View File

@ -151,4 +151,11 @@ public class COUNTER_Item_Performance {
return instances; return instances;
} }
@Override
public String toString() {
return "COUNTER_Item_Performance{" +
"period=" + period +
", instances=" + instances +
'}';
}
} }

View File

@ -67,4 +67,13 @@ public class COUNTER_Item_Report {
public void setReportItems(List<COUNTER_Item_Usage> reportItems) { public void setReportItems(List<COUNTER_Item_Usage> reportItems) {
this.reportItems = reportItems; this.reportItems = reportItems;
} }
@Override
public String toString() {
return "COUNTER_Item_Report{" +
"reportHeader=" + reportHeader +
", reportItems=" + reportItems +
", createdBy='" + createdBy + '\'' +
'}';
}
} }

View File

@ -231,4 +231,25 @@ public class COUNTER_Item_Usage {
public void setItemPerformances(List<COUNTER_Item_Performance> itemPerformances) { public void setItemPerformances(List<COUNTER_Item_Performance> itemPerformances) {
this.itemPerformances = itemPerformances; this.itemPerformances = itemPerformances;
} }
@Override
public String toString() {
return "COUNTER_Item_Usage{" +
"item='" + item + '\'' +
", itemIdentifiers=" + itemIdentifiers +
", itemContributors=" + itemContributors +
", itemDates=" + itemDates +
", itemAttributes=" + itemAttributes +
", platform='" + platform + '\'' +
", publisher='" + publisher + '\'' +
", publisherIdentifiers=" + publisherIdentifiers +
", itemParent=" + itemParent +
", itemComponents=" + itemComponents +
", dataType='" + dataType + '\'' +
", yop='" + yop + '\'' +
", accessType='" + accessType + '\'' +
", accessMethod='" + accessMethod + '\'' +
", itemPerformances=" + itemPerformances +
'}';
}
} }

View File

@ -66,4 +66,13 @@ public class COUNTER_Platform_Report {
public void setReportItems(List<COUNTER_Platform_Usage> reportItems) { public void setReportItems(List<COUNTER_Platform_Usage> reportItems) {
this.reportItems = reportItems; this.reportItems = reportItems;
} }
@Override
public String toString() {
return "COUNTER_Platform_Report{" +
"reportHeader=" + reportHeader +
", reportItems=" + reportItems +
", createdBy='" + createdBy + '\'' +
'}';
}
} }

View File

@ -69,4 +69,14 @@ public class COUNTER_Platform_Usage {
public void setItemPerformances(List<COUNTER_Item_Performance> itemPerformances) { public void setItemPerformances(List<COUNTER_Item_Performance> itemPerformances) {
this.itemPerformances = itemPerformances; this.itemPerformances = itemPerformances;
} }
@Override
public String toString() {
return "COUNTER_Platform_Usage{" +
"platform='" + platform + '\'' +
", dataType='" + dataType + '\'' +
", accessMethod='" + accessMethod + '\'' +
", itemPerformances=" + itemPerformances +
'}';
}
} }

View File

@ -35,4 +35,12 @@ public class COUNTER_Publisher_Identifiers {
public void setValue(String value) { public void setValue(String value) {
this.value = value; this.value = value;
} }
@Override
public String toString() {
return "COUNTER_Publisher_Identifiers{" +
"type='" + type + '\'' +
", value='" + value + '\'' +
'}';
}
} }

View File

@ -66,4 +66,13 @@ public class COUNTER_Title_Report {
public void setReportItems(List<COUNTER_Platform_Usage> reportItems) { public void setReportItems(List<COUNTER_Platform_Usage> reportItems) {
this.reportItems = reportItems; this.reportItems = reportItems;
} }
@Override
public String toString() {
return "COUNTER_Title_Report{" +
"reportHeader=" + reportHeader +
", reportItems=" + reportItems +
", createdBy='" + createdBy + '\'' +
'}';
}
} }

View File

@ -139,4 +139,21 @@ public class COUNTER_Title_Usage {
public void setItemPerformances(List<COUNTER_Item_Performance> itemPerformances) { public void setItemPerformances(List<COUNTER_Item_Performance> itemPerformances) {
this.itemPerformances = itemPerformances; this.itemPerformances = itemPerformances;
} }
@Override
public String toString() {
return "COUNTER_Title_Usage{" +
"title='" + title + '\'' +
", itemIdentifiers=" + itemIdentifiers +
", platform='" + platform + '\'' +
", publisher='" + publisher + '\'' +
", publisherIdentifiers=" + publisherIdentifiers +
", dataType='" + dataType + '\'' +
", sectionType='" + sectionType + '\'' +
", yop='" + yop + '\'' +
", accessType='" + accessType + '\'' +
", accessMethod='" + accessMethod + '\'' +
", itemPerformances=" + itemPerformances +
'}';
}
} }

View File

@ -34,4 +34,12 @@ public class Filter {
public void setValue(String value) { public void setValue(String value) {
this.value = value; this.value = value;
} }
@Override
public String toString() {
return "Filter{" +
"name='" + name + '\'' +
", value='" + value + '\'' +
'}';
}
} }

View File

@ -62,4 +62,14 @@ public class Filters {
public void setReportAttribute(List<Filter> reportAttribute) { public void setReportAttribute(List<Filter> reportAttribute) {
this.reportAttribute = reportAttribute; this.reportAttribute = reportAttribute;
} }
@Override
public String toString() {
return "Filters{" +
"usageDateRange=" + usageDateRange +
", filter=" + filter +
", reportAttribute=" + reportAttribute +
'}';
}
} }

View File

@ -38,5 +38,13 @@ public class Instance {
public void setCount(String count) { public void setCount(String count) {
this.count = count; this.count = count;
} }
@Override
public String toString() {
return "Instance{" +
"metricType='" + metricType + '\'' +
", count='" + count + '\'' +
'}';
}
} }

View File

@ -34,4 +34,12 @@ public class Period {
public void setEnd(String end) { public void setEnd(String end) {
this.end = end; this.end = end;
} }
@Override
public String toString() {
return "Period{" +
"begin='" + begin + '\'' +
", end='" + end + '\'' +
'}';
}
} }

View File

@ -36,4 +36,11 @@ public class ReportAttribute {
this.value = value; this.value = value;
} }
@Override
public String toString() {
return "ReportAttribute{" +
"name='" + name + '\'' +
", value='" + value + '\'' +
'}';
}
} }

View File

@ -47,4 +47,13 @@ public class ReportDefinition {
public void setFilters(Filters filters) { public void setFilters(Filters filters) {
this.filters = filters; this.filters = filters;
} }
@Override
public String toString() {
return "ReportDefinition{" +
"name='" + name + '\'' +
", release='" + release + '\'' +
", filters=" + filters +
'}';
}
} }

View File

@ -68,4 +68,15 @@ public class ReportSupported {
public void setPath(String path) { public void setPath(String path) {
this.path = path; this.path = path;
} }
@Override
public String toString() {
return "ReportSupported{" +
"report_name='" + report_name + '\'' +
", report_id='" + report_id + '\'' +
", release='" + release + '\'' +
", description='" + description + '\'' +
", path='" + path + '\'' +
'}';
}
} }

View File

@ -23,4 +23,11 @@ public class Requestor {
public void setId(String id) { public void setId(String id) {
this.id = id; this.id = id;
} }
@Override
public String toString() {
return "Requestor{" +
"id='" + id + '\'' +
'}';
}
} }

View File

@ -83,4 +83,15 @@ public class SUSHI_Consortium_Member_List {
public void setInstitutionID(List<SUSHI_Org_Identifiers> institutionID) { public void setInstitutionID(List<SUSHI_Org_Identifiers> institutionID) {
this.institutionID = institutionID; this.institutionID = institutionID;
} }
@Override
public String toString() {
return "SUSHI_Consortium_Member_List{" +
"customerID='" + customerID + '\'' +
", requestorID='" + requestorID + '\'' +
", name='" + name + '\'' +
", notes='" + notes + '\'' +
", institutionID=" + institutionID +
'}';
}
} }

View File

@ -74,4 +74,15 @@ public class SUSHI_Error_Model {
public void setData(String data) { public void setData(String data) {
this.data = data; this.data = data;
} }
@Override
public String toString() {
return "SUSHI_Error_Model{" +
"code='" + code + '\'' +
", severity='" + severity + '\'' +
", message='" + message + '\'' +
", helpURL='" + helpURL + '\'' +
", data='" + data + '\'' +
'}';
}
} }

View File

@ -35,4 +35,12 @@ public class SUSHI_Org_Identifiers {
public void setValue(String value) { public void setValue(String value) {
this.value = value; this.value = value;
} }
@Override
public String toString() {
return "SUSHI_Org_Identifiers{" +
"type='" + type + '\'' +
", value='" + value + '\'' +
'}';
}
} }

View File

@ -141,4 +141,21 @@ public class SUSHI_Report_Header {
public void setInstitutionID(List<SUSHI_Org_Identifiers> institutionID) { public void setInstitutionID(List<SUSHI_Org_Identifiers> institutionID) {
this.institutionID = institutionID; this.institutionID = institutionID;
} }
@Override
public String toString() {
return "SUSHI_Report_Header{" +
"created='" + created + '\'' +
", createdBy='" + createdBy + '\'' +
", customerID='" + customerID + '\'' +
", reportID='" + reportID + '\'' +
", release='" + release + '\'' +
", reportName='" + reportName + '\'' +
", institutionName='" + institutionName + '\'' +
", institutionID=" + institutionID +
", reportFiters=" + reportFiters +
", reportAttributes=" + reportAttributes +
", exceptions=" + exceptions +
'}';
}
} }

View File

@ -132,4 +132,19 @@ public class SUSHI_Report_Header_DSR {
public void setRelease(String release) { public void setRelease(String release) {
this.release = release; this.release = release;
} }
@Override
public String toString() {
return "SUSHI_Report_Header_DSR{" +
"created='" + created + '\'' +
", createdBy='" + createdBy + '\'' +
", customerID='" + customerID + '\'' +
", reportID='" + reportID + '\'' +
", release='" + release + '\'' +
", reportName='" + reportName + '\'' +
", reportFiters=" + reportFiters +
", reportAttributes=" + reportAttributes +
", exceptions=" + exceptions +
'}';
}
} }

View File

@ -78,4 +78,15 @@ public class SUSHI_Report_List {
public void setPath(String path) { public void setPath(String path) {
this.path = path; this.path = path;
} }
@Override
public String toString() {
return "SUSHI_Report_List{" +
"reportName='" + reportName + '\'' +
", reportID='" + reportID + '\'' +
", release='" + release + '\'' +
", reportDescription='" + reportDescription + '\'' +
", path='" + path + '\'' +
'}';
}
} }

View File

@ -83,4 +83,15 @@ public class SUSHI_Service_Status {
public void setAlerts(List<Alert> alerts) { public void setAlerts(List<Alert> alerts) {
this.alerts = alerts; this.alerts = alerts;
} }
@Override
public String toString() {
return "SUSHI_Service_Status{" +
"description='" + description + '\'' +
", serviceActive=" + serviceActive +
", registry_url='" + registry_url + '\'' +
", note='" + note + '\'' +
", alerts=" + alerts +
'}';
}
} }

View File

@ -34,4 +34,12 @@ public class UsageDateRange {
public void setEnd(String end) { public void setEnd(String end) {
this.end = end; this.end = end;
} }
@Override
public String toString() {
return "UsageDateRange{" +
"begin='" + begin + '\'' +
", end='" + end + '\'' +
'}';
}
} }