// Path: src/java/is/idega/idegaweb/egov/message/business/MessagePdfHandler.java
// public interface MessagePdfHandler{
// 	
// 	/**
// 	 * Creates the content of the open document referenced by the context
// 	 * @param dpc
// 	 * @throws ContentCreationException
// 	 */
// 	public void createMessageContent(DocumentPrintContext dpc) throws ContentCreationException;
// 	/**
// 	 * Returns a unique code name identifying this handler
// 	 * @return
// 	 */
// 	public String getHandlerCode();
// 	
// }


import com.idega.data.GenericEntity;
import is.idega.idegaweb.egov.message.business.MessagePdfHandler;
import com.idega.core.component.data.ICObject;
	}

	public Class getPrimaryKeyClass() {
		return String.class;
	}

	public String getIDColumnName() {
		return HANDLER_CODE;
	}

	public ICObject getICObject() {
		return (ICObject) this.getColumnValue(OBJECT_ID);
	}

	public void setICObject(ICObject object) {
		setColumn(OBJECT_ID, object);
	}

	public String getHandlerCode() {
		return getStringColumnValue(HANDLER_CODE);
	}

	public void setHandlerCode(String code) {
		this.setColumn(HANDLER_CODE, code);
	}

	public MessagePdfHandler getHandler() {
		ICObject obj = getICObject();
		if (obj != null) {
			try {
// Path: src/java/is/idega/idegaweb/egov/message/business/MessagePdfHandler.java
// public interface MessagePdfHandler{
// 	
// 	/**
// 	 * Creates the content of the open document referenced by the context
// 	 * @param dpc
// 	 * @throws ContentCreationException
// 	 */
// 	public void createMessageContent(DocumentPrintContext dpc) throws ContentCreationException;
// 	/**
// 	 * Returns a unique code name identifying this handler
// 	 * @return
// 	 */
// 	public String getHandlerCode();
// 	
// }


// Path: src/java/is/idega/idegaweb/egov/message/data/MessageHandlerInfoBMPBean.java
import com.idega.data.GenericEntity;
import is.idega.idegaweb.egov.message.business.MessagePdfHandler;
import com.idega.core.component.data.ICObject;

	}

	public Class getPrimaryKeyClass() {
		return String.class;
	}

	public String getIDColumnName() {
		return HANDLER_CODE;
	}

	public ICObject getICObject() {
		return (ICObject) this.getColumnValue(OBJECT_ID);
	}

	public void setICObject(ICObject object) {
		setColumn(OBJECT_ID, object);
	}

	public String getHandlerCode() {
		return getStringColumnValue(HANDLER_CODE);
	}

	public void setHandlerCode(String code) {
		this.setColumn(HANDLER_CODE, code);
	}

	public MessagePdfHandler getHandler() {
		ICObject obj = getICObject();
		if (obj != null) {
			try {
				return (MessagePdfHandler) obj.getObjectClass().newInstance();