1
2 package org.miloss.fgsms.services.interfaces.dataaccessservice;
3
4 import java.io.Serializable;
5 import javax.xml.bind.annotation.XmlAccessType;
6 import javax.xml.bind.annotation.XmlAccessorType;
7 import javax.xml.bind.annotation.XmlElement;
8 import javax.xml.bind.annotation.XmlType;
9
10
11 /**
12 *
13 * Contains the hostname and number of transactions recorded
14 *
15 *
16 * <p>Java class for HostInstanceStats complex type.
17 *
18 * <p>The following schema fragment specifies the expected content contained within this class.
19 *
20 * <pre>
21 * <complexType name="HostInstanceStats">
22 * <complexContent>
23 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
24 * <sequence>
25 * <element name="host" type="{http://www.w3.org/2001/XMLSchema}string"/>
26 * <element name="recordedTransactionCount" type="{http://www.w3.org/2001/XMLSchema}int"/>
27 * </sequence>
28 * </restriction>
29 * </complexContent>
30 * </complexType>
31 * </pre>
32 *
33 *
34 */
35 @XmlAccessorType(XmlAccessType.FIELD)
36 @XmlType(name = "HostInstanceStats", propOrder = {
37 "host",
38 "recordedTransactionCount"
39 })
40 public class HostInstanceStats
41 implements Serializable
42 {
43
44 private final static long serialVersionUID = 1L;
45 @XmlElement(required = true, nillable = true)
46 protected String host;
47 protected int recordedTransactionCount;
48
49 /**
50 * Gets the value of the host property.
51 *
52 * @return
53 * possible object is
54 * {@link String }
55 *
56 */
57 public String getHost() {
58 return host;
59 }
60
61 /**
62 * Sets the value of the host property.
63 *
64 * @param value
65 * allowed object is
66 * {@link String }
67 *
68 */
69 public void setHost(String value) {
70 this.host = value;
71 }
72
73 public boolean isSetHost() {
74 return (this.host!= null);
75 }
76
77 /**
78 * Gets the value of the recordedTransactionCount property.
79 *
80 */
81 public int getRecordedTransactionCount() {
82 return recordedTransactionCount;
83 }
84
85 /**
86 * Sets the value of the recordedTransactionCount property.
87 *
88 */
89 public void setRecordedTransactionCount(int value) {
90 this.recordedTransactionCount = value;
91 }
92
93 public boolean isSetRecordedTransactionCount() {
94 return true;
95 }
96
97 }