Added toString()
This commit is contained in:
parent
ce689042d7
commit
e548fc227a
|
@ -35,4 +35,12 @@ public class Alert {
|
|||
public void setDateTime(String dateTime) {
|
||||
this.dateTime = dateTime;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Alert{" +
|
||||
"dateTime='" + dateTime + '\'' +
|
||||
", alert='" + alert + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,4 +33,12 @@ public class COUNTER_Dataset_Attributes {
|
|||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "COUNTER_Dataset_Attributes{" +
|
||||
"type='" + type + '\'' +
|
||||
", value='" + value + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,4 +46,13 @@ public class COUNTER_Dataset_Contributors {
|
|||
public void setIdentifier(String identifier) {
|
||||
this.identifier = identifier;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "COUNTER_Dataset_Contributors{" +
|
||||
"type='" + type + '\'' +
|
||||
", name='" + name + '\'' +
|
||||
", identifier='" + identifier + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,4 +34,12 @@ public class COUNTER_Dataset_Dates {
|
|||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "COUNTER_Dataset_Dates{" +
|
||||
"type='" + type + '\'' +
|
||||
", value='" + value + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,4 +35,12 @@ public class COUNTER_Dataset_Identifiers {
|
|||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "COUNTER_Dataset_Identifiers{" +
|
||||
"type='" + type + '\'' +
|
||||
", value='" + value + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -150,4 +150,12 @@ public class COUNTER_Dataset_Performance {
|
|||
public void setInstances(List<Instance> instances) {
|
||||
this.instances = instances;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "COUNTER_Dataset_Performance{" +
|
||||
"period=" + period +
|
||||
", instances=" + instances +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -67,4 +67,13 @@ public class COUNTER_Dataset_Report {
|
|||
public void setReportDatasets(List<COUNTER_Dataset_Usage> reportDatasets) {
|
||||
this.reportDatasets = reportDatasets;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "COUNTER_Dataset_Report{" +
|
||||
"reportHeader=" + reportHeader +
|
||||
", reportDatasets=" + reportDatasets +
|
||||
", createdBy='" + createdBy + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -225,4 +225,24 @@ public class COUNTER_Dataset_Usage {
|
|||
public void setDatasetPerformances(List<COUNTER_Dataset_Performance> 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 +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,4 +34,12 @@ public class COUNTER_Item_Attributes {
|
|||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "COUNTER_Item_Attributes{" +
|
||||
"type='" + type + '\'' +
|
||||
", value='" + value + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -69,4 +69,17 @@ public class COUNTER_Item_Component {
|
|||
public void setItemPerformance(List<COUNTER_Item_Performance> 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 +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,4 +46,13 @@ public class COUNTER_Item_Contributors {
|
|||
public void setIdentifier(String identifier) {
|
||||
this.identifier = identifier;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "COUNTER_Item_Contributors{" +
|
||||
"type='" + type + '\'' +
|
||||
", name='" + name + '\'' +
|
||||
", identifier='" + identifier + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,4 +34,12 @@ public class COUNTER_Item_Dates {
|
|||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "COUNTER_Item_Dates{" +
|
||||
"type='" + type + '\'' +
|
||||
", value='" + value + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,4 +35,12 @@ public class COUNTER_Item_Identifiers {
|
|||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "COUNTER_Item_Identifiers{" +
|
||||
"type='" + type + '\'' +
|
||||
", value='" + value + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,4 +64,16 @@ public class COUNTER_Item_Parent {
|
|||
public void setDataType(String dataType) {
|
||||
this.dataType = dataType;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "COUNTER_Item_Parent{" +
|
||||
"itemName='" + itemName + '\'' +
|
||||
", itemIdentifiers=" + itemIdentifiers +
|
||||
", itemContributors=" + itemContributors +
|
||||
", itemDates=" + itemDates +
|
||||
", itemAttributes=" + itemAttributes +
|
||||
", dataType='" + dataType + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -151,4 +151,11 @@ public class COUNTER_Item_Performance {
|
|||
return instances;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "COUNTER_Item_Performance{" +
|
||||
"period=" + period +
|
||||
", instances=" + instances +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -67,4 +67,13 @@ public class COUNTER_Item_Report {
|
|||
public void setReportItems(List<COUNTER_Item_Usage> reportItems) {
|
||||
this.reportItems = reportItems;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "COUNTER_Item_Report{" +
|
||||
"reportHeader=" + reportHeader +
|
||||
", reportItems=" + reportItems +
|
||||
", createdBy='" + createdBy + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -231,4 +231,25 @@ public class COUNTER_Item_Usage {
|
|||
public void setItemPerformances(List<COUNTER_Item_Performance> 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 +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -66,4 +66,13 @@ public class COUNTER_Platform_Report {
|
|||
public void setReportItems(List<COUNTER_Platform_Usage> reportItems) {
|
||||
this.reportItems = reportItems;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "COUNTER_Platform_Report{" +
|
||||
"reportHeader=" + reportHeader +
|
||||
", reportItems=" + reportItems +
|
||||
", createdBy='" + createdBy + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -69,4 +69,14 @@ public class COUNTER_Platform_Usage {
|
|||
public void setItemPerformances(List<COUNTER_Item_Performance> itemPerformances) {
|
||||
this.itemPerformances = itemPerformances;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "COUNTER_Platform_Usage{" +
|
||||
"platform='" + platform + '\'' +
|
||||
", dataType='" + dataType + '\'' +
|
||||
", accessMethod='" + accessMethod + '\'' +
|
||||
", itemPerformances=" + itemPerformances +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,4 +35,12 @@ public class COUNTER_Publisher_Identifiers {
|
|||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "COUNTER_Publisher_Identifiers{" +
|
||||
"type='" + type + '\'' +
|
||||
", value='" + value + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -66,4 +66,13 @@ public class COUNTER_Title_Report {
|
|||
public void setReportItems(List<COUNTER_Platform_Usage> reportItems) {
|
||||
this.reportItems = reportItems;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "COUNTER_Title_Report{" +
|
||||
"reportHeader=" + reportHeader +
|
||||
", reportItems=" + reportItems +
|
||||
", createdBy='" + createdBy + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -139,4 +139,21 @@ public class COUNTER_Title_Usage {
|
|||
public void setItemPerformances(List<COUNTER_Item_Performance> 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 +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,4 +34,12 @@ public class Filter {
|
|||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Filter{" +
|
||||
"name='" + name + '\'' +
|
||||
", value='" + value + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,4 +62,14 @@ public class Filters {
|
|||
public void setReportAttribute(List<Filter> reportAttribute) {
|
||||
this.reportAttribute = reportAttribute;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Filters{" +
|
||||
"usageDateRange=" + usageDateRange +
|
||||
", filter=" + filter +
|
||||
", reportAttribute=" + reportAttribute +
|
||||
'}';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -38,5 +38,13 @@ public class Instance {
|
|||
public void setCount(String count) {
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Instance{" +
|
||||
"metricType='" + metricType + '\'' +
|
||||
", count='" + count + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -34,4 +34,12 @@ public class Period {
|
|||
public void setEnd(String end) {
|
||||
this.end = end;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Period{" +
|
||||
"begin='" + begin + '\'' +
|
||||
", end='" + end + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,4 +36,11 @@ public class ReportAttribute {
|
|||
this.value = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ReportAttribute{" +
|
||||
"name='" + name + '\'' +
|
||||
", value='" + value + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -47,4 +47,13 @@ public class ReportDefinition {
|
|||
public void setFilters(Filters filters) {
|
||||
this.filters = filters;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ReportDefinition{" +
|
||||
"name='" + name + '\'' +
|
||||
", release='" + release + '\'' +
|
||||
", filters=" + filters +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -68,4 +68,15 @@ public class ReportSupported {
|
|||
public void setPath(String path) {
|
||||
this.path = path;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ReportSupported{" +
|
||||
"report_name='" + report_name + '\'' +
|
||||
", report_id='" + report_id + '\'' +
|
||||
", release='" + release + '\'' +
|
||||
", description='" + description + '\'' +
|
||||
", path='" + path + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,4 +23,11 @@ public class Requestor {
|
|||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Requestor{" +
|
||||
"id='" + id + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -83,4 +83,15 @@ public class SUSHI_Consortium_Member_List {
|
|||
public void setInstitutionID(List<SUSHI_Org_Identifiers> institutionID) {
|
||||
this.institutionID = institutionID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "SUSHI_Consortium_Member_List{" +
|
||||
"customerID='" + customerID + '\'' +
|
||||
", requestorID='" + requestorID + '\'' +
|
||||
", name='" + name + '\'' +
|
||||
", notes='" + notes + '\'' +
|
||||
", institutionID=" + institutionID +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -74,4 +74,15 @@ public class SUSHI_Error_Model {
|
|||
public void setData(String data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "SUSHI_Error_Model{" +
|
||||
"code='" + code + '\'' +
|
||||
", severity='" + severity + '\'' +
|
||||
", message='" + message + '\'' +
|
||||
", helpURL='" + helpURL + '\'' +
|
||||
", data='" + data + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,4 +35,12 @@ public class SUSHI_Org_Identifiers {
|
|||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "SUSHI_Org_Identifiers{" +
|
||||
"type='" + type + '\'' +
|
||||
", value='" + value + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -141,4 +141,21 @@ public class SUSHI_Report_Header {
|
|||
public void setInstitutionID(List<SUSHI_Org_Identifiers> 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 +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -132,4 +132,19 @@ public class SUSHI_Report_Header_DSR {
|
|||
public void setRelease(String 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 +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,4 +78,15 @@ public class SUSHI_Report_List {
|
|||
public void setPath(String path) {
|
||||
this.path = path;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "SUSHI_Report_List{" +
|
||||
"reportName='" + reportName + '\'' +
|
||||
", reportID='" + reportID + '\'' +
|
||||
", release='" + release + '\'' +
|
||||
", reportDescription='" + reportDescription + '\'' +
|
||||
", path='" + path + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -83,4 +83,15 @@ public class SUSHI_Service_Status {
|
|||
public void setAlerts(List<Alert> alerts) {
|
||||
this.alerts = alerts;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "SUSHI_Service_Status{" +
|
||||
"description='" + description + '\'' +
|
||||
", serviceActive=" + serviceActive +
|
||||
", registry_url='" + registry_url + '\'' +
|
||||
", note='" + note + '\'' +
|
||||
", alerts=" + alerts +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,4 +34,12 @@ public class UsageDateRange {
|
|||
public void setEnd(String end) {
|
||||
this.end = end;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "UsageDateRange{" +
|
||||
"begin='" + begin + '\'' +
|
||||
", end='" + end + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue