1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package net.sf.jhylafax.fax;
21
22
23
24
25 public class Modem {
26
27 private String hostname;
28 private String localIdentifier;
29 private String canonicalName;
30 private String faxNumber;
31 private int maxPagesPerCall;
32 private String status;
33 private int serverTracing;
34 private int sessionTracing;
35 private Volume speakerVolume;
36 private boolean running;
37
38 public enum Volume {
39 OFF,
40 LOW,
41 MEDIUM,
42 HIGH,
43 }
44
45 public String getCanonicalName()
46 {
47 return canonicalName;
48 }
49
50 public String getFaxNumber()
51 {
52 return faxNumber;
53 }
54
55 public String getHostname()
56 {
57 return hostname;
58 }
59
60 public String getLocalIdentifier()
61 {
62 return localIdentifier;
63 }
64
65 public int getMaxPagesPerCall()
66 {
67 return maxPagesPerCall;
68 }
69
70 public boolean isRunning()
71 {
72 return running;
73 }
74
75 public int getServerTracing()
76 {
77 return serverTracing;
78 }
79
80 public int getSessionTracing()
81 {
82 return sessionTracing;
83 }
84
85 public Volume getSpeakerVolume()
86 {
87 return speakerVolume;
88 }
89
90 public String getStatus()
91 {
92 return status;
93 }
94
95 public void setCanonicalName(String canonicalName)
96 {
97 this.canonicalName = canonicalName;
98 }
99
100 public void setFaxNumber(String faxNumber)
101 {
102 this.faxNumber = faxNumber;
103 }
104
105 public void setHostname(String hostname)
106 {
107 this.hostname = hostname;
108 }
109
110 public void setLocalIdentifier(String localIdentifier)
111 {
112 this.localIdentifier = localIdentifier;
113 }
114
115 public void setMaxPagesPerCall(int maxPagesPerCall)
116 {
117 this.maxPagesPerCall = maxPagesPerCall;
118 }
119
120 public void setRunning(boolean running)
121 {
122 this.running = running;
123 }
124
125 public void setServerTracing(int serverTracing)
126 {
127 this.serverTracing = serverTracing;
128 }
129
130 public void setSessionTracing(int sessionTracing)
131 {
132 this.sessionTracing = sessionTracing;
133 }
134
135 public void setSpeakerVolume(Volume speakerVolume)
136 {
137 this.speakerVolume = speakerVolume;
138 }
139
140 public void setStatus(String status)
141 {
142 this.status = status;
143 }
144
145 }