package de.cinovo.cloudconductor.api.model;

import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeInfo.As;
import com.fasterxml.jackson.annotation.JsonTypeInfo.Id;

/**
 * Copyright 2017 Cinovo AG<br>
 * <br>
 *
 * @author mweise
 */
@JsonTypeInfo(include = As.PROPERTY, use = Id.CLASS)
public class Statistics {
	
	private long numberOfHosts;
	private long numberOfTemplates;
	private long numberOfServices;
	private long numberOfPackages;
	
	public long getNumberOfHosts() {
		return numberOfHosts;
	}
	
	public void setNumberOfHosts(long numberOfHosts) {
		this.numberOfHosts = numberOfHosts;
	}
	
	public long getNumberOfTemplates() {
		return numberOfTemplates;
	}
	
	public void setNumberOfTemplates(long numberOfTemplates) {
		this.numberOfTemplates = numberOfTemplates;
	}
	
	public long getNumberOfServices() {
		return numberOfServices;
	}
	
	public void setNumberOfServices(long numberOfServices) {
		this.numberOfServices = numberOfServices;
	}
	
	public long getNumberOfPackages() {
		return numberOfPackages;
	}
	
	public void setNumberOfPackages(long numberOfPackages) {
		this.numberOfPackages = numberOfPackages;
	}

}

@@ -485,16 +485,58 @@
 ages;%0A%09%0A
+%09%0A%09/**%0A%09 * @return the numberOfHosts%0A%09 */%0A
 %09public 
@@ -562,32 +562,37 @@
 ts() %7B%0A%09%09return 
+this.
 numberOfHosts;%0A%09
@@ -587,32 +587,92 @@
 erOfHosts;%0A%09%7D%0A%09%0A
+%09/**%0A%09 * @param numberOfHosts the numberOfHosts to set%0A%09 */%0A
 %09public void set
@@ -742,32 +742,76 @@
 erOfHosts;%0A%09%7D%0A%09%0A
+%09/**%0A%09 * @return the numberOfTemplates%0A%09 */%0A
 %09public long get
@@ -833,32 +833,37 @@
 es() %7B%0A%09%09return 
+this.
 numberOfTemplate
@@ -862,32 +862,100 @@
 Templates;%0A%09%7D%0A%09%0A
+%09/**%0A%09 * @param numberOfTemplates the numberOfTemplates to set%0A%09 */%0A
 %09public void set
@@ -1041,32 +1041,75 @@
 Templates;%0A%09%7D%0A%09%0A
+%09/**%0A%09 * @return the numberOfServices%0A%09 */%0A
 %09public long get
@@ -1130,32 +1130,37 @@
 es() %7B%0A%09%09return 
+this.
 numberOfServices
@@ -1158,32 +1158,98 @@
 fServices;%0A%09%7D%0A%09%0A
+%09/**%0A%09 * @param numberOfServices the numberOfServices to set%0A%09 */%0A
 %09public void set
@@ -1331,32 +1331,75 @@
 fServices;%0A%09%7D%0A%09%0A
+%09/**%0A%09 * @return the numberOfPackages%0A%09 */%0A
 %09public long get
@@ -1428,16 +1428,21 @@
 %09return 
+this.
 numberOf
@@ -1456,16 +1456,82 @@
 s;%0A%09%7D%0A%09%0A
+%09/**%0A%09 * @param numberOfPackages the numberOfPackages to set%0A%09 */%0A
 %09public 
@@ -1627,11 +1627,12 @@
 ges;%0A%09%7D%0A
+%09
 %0A%7D%0A

Fix some warnings.