package open.dolphin.infomodel;
// Generated 2010/06/30 10:57:59 by Hibernate Tools 3.2.1.GA


import open.dolphin.queries.DolphinQuery;

/**
 * PatientMemoModel generated by hbm2java
 */
public class PatientMemoModel extends KarteEntryBean {

    private String memo;

    public PatientMemoModel() {
    }

    /**
     *
     * @param query
     * @return
     */
    @Override
    public boolean search(DolphinQuery query) {
        if (memo != null) {
            return (memo.indexOf(query.what("keyword")) != -1);
        }
        return false;
    }

    public String getMemo() {
        return this.memo;
    }

    /**
     *
     * @param memo
     */
    public void setMemo(String memo) {
        this.memo = memo;
    }
}


