summaryrefslogblamecommitdiffstats
path: root/src/org/uic/ticket/api/impl/SimpleToken.java
blob: 7dcf5d21c2c9fa1b2867675eb2729fe9b6727bb0 (plain) (tree)



































































                                                                                        
package org.uic.ticket.api.impl;

import org.uic.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;		
	}

}