package lu.tudor.santec.gecamed.billing.gui.medpres;

import lu.tudor.santec.gecamed.addressbook.ejb.entity.beans.Contact;

public class MedPres {
	
	public static final String MEDPRES_CHANGED = "MEDPRES_CHANGED";
	
	private String shortCut;
	private String name;
	private String ucm;
	
	/**
	 * @param con
	 */
	public MedPres(Contact con) {
		this.shortCut = con.getMedpres();
		this.name = con.toNameString();
		this.ucm = con.getUcmCode();
	}
	
	public String getShortCut() {
		return shortCut;
	}

	public void setShortCut(String shortCut) {
		this.shortCut = shortCut;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUcm() {
		return ucm;
	}

	public void setUcm(String ucm) {
		this.ucm = ucm;
	}
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return shortCut;
	}
	
}