/FileExtraction/Java_unseen/mobilesec_secure-element-gpdroid-nfc/src/at/fhooe/usmile/gpjshell/GPCommand.java
/*******************************************************************************
 * Copyright (c) 2014 Michael Hölzl <mihoelzl@gmail.com>.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v3.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/gpl.html
 * 
 * Contributors:
 *     Michael Hölzl <mihoelzl@gmail.com> - initial implementation
 *     Thomas Sigmund - data base, key set, channel set selection and GET DATA integration
 ******************************************************************************/
package at.fhooe.usmile.gpjshell;

import at.fhooe.usmile.gpjshell.MainActivity.APDU_COMMAND;

public class GPCommand {

	private byte[] mParams;
	private byte mPrivileges;
	private int mSeekReader;
	private String mReaderName;

	
	private APDU_COMMAND mCmd;
	private Object mCommandParameter;
	

	public GPCommand(APDU_COMMAND _cmd, int _seekReader, byte[] _params,
			byte _privileges, Object _cmdParam) {
		setCmd(_cmd);
		setSeekReader(_seekReader);
		setPrivileges(_privileges);
		setParams(_params);
		setCommandParameter(_cmdParam);
	}

	public APDU_COMMAND getCmd() {
		return mCmd;
	}

	public void setCmd(APDU_COMMAND mCmd) {
		this.mCmd = mCmd;
	}

	public byte getPrivileges() {
		return mPrivileges;
	}

	public void setPrivileges(byte mPrivileges) {
		this.mPrivileges = mPrivileges;
	}

	public byte[] getInstallParams() {
		return mParams;
	}

	public void setParams(byte[] mParams) {
		this.mParams = mParams;
	}

	public int getSeekReader() {
		return mSeekReader;
	}

	public void setSeekReader(int mSeekReader) {
		this.mSeekReader = mSeekReader;
	}

	public String getSeekReaderName() {
		return mReaderName;
	}

	public void setReaderName(String mReaderName) {
		this.mReaderName = mReaderName;
	}

	public Object getCommandParameter() {
		return mCommandParameter;
	}

	public void setCommandParameter(Object mCommandParameter) {
		this.mCommandParameter = mCommandParameter;
	}
}
