forked from emigonza/JavaPOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDevCat.java
More file actions
177 lines (152 loc) · 5.18 KB
/
Copy pathDevCat.java
File metadata and controls
177 lines (152 loc) · 5.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
package jpos.profile;
///////////////////////////////////////////////////////////////////////////////
//
// This software is provided "AS IS". The JavaPOS working group (including
// each of the Corporate members, contributors and individuals) MAKES NO
// REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE,
// EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
// WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NON-INFRINGEMENT. The JavaPOS working group shall not be liable for
// any damages suffered as a result of using, modifying or distributing this
// software or its derivatives. Permission to use, copy, modify, and distribute
// the software and its documentation for any purpose is hereby granted.
//
// The JavaPOS Config/Loader (aka JCL) is now under the CPL license, which
// is an OSS Apache-like license. The complete license is located at:
// http://oss.software.ibm.com/developerworks/opensource/license-cpl.html
//
///////////////////////////////////////////////////////////////////////////////
/**
* Defines an interface for JavaPOS device categories
* @since 1.3 (SF 2K meeting)
* @author E. Michael Maximilien ([email protected])
*/
public interface DevCat
{
//-------------------------------------------------------------------------
// Constants
//
/** Indicates the version of JavaPOS that these DevCat apply to */
public static final String JPOS_VERSION_STRING = "1.5";
//-------------------------------------------------------------------------
// Public methods
//
/** @return the String representation of this DevCat */
public String toString();
/**
* Accepts a DevCat Visitor object
* @param visitor the DevCat Visitor object
*/
public void accept( DevCatVisitor visitor );
//-------------------------------------------------------------------------
// Inner interfaces
//
/**
* Defines the DevCat for BumpBar
* @since 1.3 (SF 2K meeting)
* @author E. Michael Maximilien ([email protected])
*/
public interface BumpBar extends DevCat {}
/**
* Defines the DevCat for POSPrinter
* @since 1.3 (SF 2K meeting)
* @author E. Michael Maximilien ([email protected])
*/
public interface CashDrawer extends DevCat {}
/**
* Defines the DevCat for CAT
* @since 1.3 (SF 2K meeting)
* @author E. Michael Maximilien ([email protected])
*/
public interface CAT extends DevCat {}
/**
* Defines the DevCat for CoinDispenser
* @since 1.3 (SF 2K meeting)
* @author E. Michael Maximilien ([email protected])
*/
public interface CoinDispenser extends DevCat {}
/**
* Defines the DevCat for FiscalPrinter
* @since 1.3 (SF 2K meeting)
* @author E. Michael Maximilien ([email protected])
*/
public interface FiscalPrinter extends DevCat {}
/**
* Defines the DevCat for HardTotals
* @since 1.3 (SF 2K meeting)
* @author E. Michael Maximilien ([email protected])
*/
public interface HardTotals extends DevCat {}
/**
* Defines the DevCat for Keylock
* @since 1.3 (SF 2K meeting)
* @author E. Michael Maximilien ([email protected])
*/
public interface Keylock extends DevCat {}
/**
* Defines the DevCat for POSPrinter
* @since 1.3 (SF 2K meeting)
* @author E. Michael Maximilien ([email protected])
*/
public interface LineDisplay extends DevCat {}
/**
* Defines the DevCat for MICR
* @since 1.3 (SF 2K meeting)
* @author E. Michael Maximilien ([email protected])
*/
public interface MICR extends DevCat {}
/**
* Defines the DevCat for MSR
* @since 1.3 (SF 2K meeting)
* @author E. Michael Maximilien ([email protected])
*/
public interface MSR extends DevCat {}
/**
* Defines the DevCat for Pinpad
* @since 1.3 (SF 2K meeting)
* @author E. Michael Maximilien ([email protected])
*/
public interface Pinpad extends DevCat {}
/**
* Defines the DevCat for POSKeyboard
* @since 1.3 (SF 2K meeting)
* @author E. Michael Maximilien ([email protected])
*/
public interface POSKeyboard extends DevCat {}
/**
* Defines the DevCat for POSPower
* @since 1.3 (SF 2K meeting)
* @author E. Michael Maximilien ([email protected])
*/
public interface POSPower extends DevCat {}
/**
* Defines the DevCat for POSPrinter
* @since 1.3 (SF 2K meeting)
* @author E. Michael Maximilien ([email protected])
*/
public interface POSPrinter extends DevCat {}
/**
* Defines the DevCat for RemoteOrderDisplay
* @since 1.3 (SF 2K meeting)
* @author E. Michael Maximilien ([email protected])
*/
public interface RemoteOrderDisplay extends DevCat {}
/**
* Defines the DevCat for Scanner
* @since 1.3 (SF 2K meeting)
* @author E. Michael Maximilien ([email protected])
*/
public interface Scanner extends DevCat {}
/**
* Defines the DevCat for SignatureCapture
* @since 1.3 (SF 2K meeting)
* @author E. Michael Maximilien ([email protected])
*/
public interface SignatureCapture extends DevCat {}
/**
* Defines the DevCat for ToneIndicator
* @since 1.3 (SF 2K meeting)
* @author E. Michael Maximilien ([email protected])
*/
public interface ToneIndicator extends DevCat {}
}