Examples of IInfoModel


Examples of open.dolphin.infomodel.IInfoModel

        ModuleModel stamp = (ModuleModel) tModel.getObject(index);
        if (stamp == null) {
            return;
        }
       
        IInfoModel model = stamp.getModel();
       
        try {
            VelocityContext context = ClientContext.getVelocityContext();
            context.put("model", model);
            context.put("stampName", stamp.getModuleInfo().getStampName());
View Full Code Here

Examples of open.dolphin.infomodel.IInfoModel

    /**
     * スタンプの文字列表現を返す。
     */
    private String getStampInfo(ModuleModel module) {
       
        IInfoModel obj = module.getModel();
        StringBuilder buf = new StringBuilder();
       
        if (obj instanceof BundleMed) {
           
            BundleMed med = (BundleMed) obj;
View Full Code Here

Examples of open.dolphin.infomodel.IInfoModel

        if (stamp != null) {
            StampDelegater sdl = new StampDelegater();
            // Stamp モデルをデータベースから取ってくる
            StampModel sModel = sdl.getStamp(stamp.getStampId());
            // Stamp モデルから info モデルを作る
            IInfoModel iModel = (IInfoModel) BeanUtils.xmlDecode(sModel.getStampBytes());
            // info モデル(実体)と stamp(情報) を module model にセット
            mModel = new ModuleModel();
            mModel.setModel(iModel);
            mModel.setModuleInfo(stamp);
        }
View Full Code Here

Examples of open.dolphin.infomodel.IInfoModel

     * Velocity を利用してスタンプの内容を表示する。
     */
    private void setMyText() {
       
        try {
            IInfoModel model = getStamp().getModel();
            VelocityContext context = ClientContext.getVelocityContext();
            context.put("model", model);
            context.put("hints", getHints());
            context.put("stampName", getStamp().getModuleInfo().getStampName());
            String templateFile = getStamp().getModel().getClass().getName() + ".vm";
View Full Code Here

Examples of open.dolphin.infomodel.IInfoModel

            private static final long serialVersionUID = 1L;
            @Override
            public void actionPerformed(ActionEvent e) {
                if (getStamp().getModel().getClass().getName().equals("open.dolphin.infomodel.BundleMed")) {
                    try {
                        IInfoModel model = getStamp().getModel();
                        VelocityContext context = ClientContext.getVelocityContext();
                        context.put("model", model);
                       
                        String templateFile = "open.dolphin.infomodel.BundleMed-text.vm";
                        StringWriter sw = new StringWriter();
View Full Code Here

Examples of open.dolphin.infomodel.IInfoModel

        helper.setHealthInsuranceDesc(docInfo.getHealthInsuranceDesc());

        // 保存する KarteModel の全モジュールをチェックし
        // それが ClaimBundle ならヘルパーへ追加する
        for (ModuleModel module : modules) {
            IInfoModel m = module.getModel();
            if (m instanceof ClaimBundle) {
                helper.addClaimBundle((ClaimBundle) m);
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.