// 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;
		addAttribute(HANDLER_CODE, "Code", String.class, 20);
		this.setAsPrimaryKey(HANDLER_CODE, true);
		addManyToOneRelationship(OBJECT_ID, ICObject.class);

	}

	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);
	}

// 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;

		addAttribute(HANDLER_CODE, "Code", String.class, 20);
		this.setAsPrimaryKey(HANDLER_CODE, true);
		addManyToOneRelationship(OBJECT_ID, ICObject.class);

	}

	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() {