diff options
Diffstat (limited to 'src/org/uic/barcode/ticket/api/impl/SimpleToken.java')
-rw-r--r-- | src/org/uic/barcode/ticket/api/impl/SimpleToken.java | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/src/org/uic/barcode/ticket/api/impl/SimpleToken.java b/src/org/uic/barcode/ticket/api/impl/SimpleToken.java new file mode 100644 index 0000000..f260d91 --- /dev/null +++ b/src/org/uic/barcode/ticket/api/impl/SimpleToken.java @@ -0,0 +1,68 @@ +package org.uic.barcode.ticket.api.impl;
+
+import org.uic.barcode.ticket.api.spec.IToken;
+
+// TODO: Auto-generated Javadoc
+/**
+ * The Class SimpleToken.
+ */
+public class SimpleToken implements IToken {
+
+ /** The provider. */
+ protected String provider;
+
+ /** The specification. */
+ protected String specification;
+
+ /** The token. */
+ protected byte[] token;
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IToken#getTokenProvider()
+ */
+ @Override
+ public String getTokenProvider() {
+ return provider;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IToken#getTokenSpecification()
+ */
+ @Override
+ public String getTokenSpecification() {
+ return specification;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IToken#getToken()
+ */
+ @Override
+ public byte[] getToken() {
+ return token;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IToken#setTokenProvider(java.lang.String)
+ */
+ @Override
+ public void setTokenProvider(String provider) {
+ this.provider = provider;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IToken#setTokenSppecification(java.lang.String)
+ */
+ @Override
+ public void setTokenSpecification(String specification) {
+ this.specification = specification;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IToken#setToken(byte[])
+ */
+ @Override
+ public void setToken(byte[] token) {
+ this.token = token;
+ }
+
+}
|