Package systole.domain.clinicalInformation.standardValues

Examples of systole.domain.clinicalInformation.standardValues.StandardValue


    }

    @Action
    public void setHighValueToCTotal() {
        try {
            StandardValue st = FacadeDB.getInstance().getStandardValuesBroker().getStandardValueByParamType(StandardParams.TOTAL);
            this.jTxtTotal.setText(st != null ? st.getHigh().toString() : StandardParams.TOTAL.getHigh().toString());
        } catch (ExceptionDAO edao) {
            this.jTxtTotal.setText(StandardParams.TOTAL.getHigh().toString());
            FacadeDB.getInstance().refreshSession();
        }
    }
View Full Code Here


    }

    @Action
    public void setNormalValueToTriglycerides() {
        try {
            StandardValue st = FacadeDB.getInstance().getStandardValuesBroker().getStandardValueByParamType(StandardParams.TRIGLYCERIDES);
            this.jTxtTriglycerides.setText(st != null ? st.getNormal().toString() : StandardParams.TRIGLYCERIDES.getNormal().toString());
        } catch (ExceptionDAO e) {
            this.jTxtTriglycerides.setText(StandardParams.TRIGLYCERIDES.getNormal().toString());
            FacadeDB.getInstance().refreshSession();
        }
    }
View Full Code Here

    }

    @Action
    public void setMediumValueToTriglycerides() {
        try {
            StandardValue st = FacadeDB.getInstance().getStandardValuesBroker().getStandardValueByParamType(StandardParams.TRIGLYCERIDES);
            this.jTxtTriglycerides.setText(st != null ? st.getMedium().toString() : StandardParams.TRIGLYCERIDES.getMedium().toString());
        } catch (ExceptionDAO edao) {
            this.jTxtTriglycerides.setText(StandardParams.TRIGLYCERIDES.getMedium().toString());
            FacadeDB.getInstance().refreshSession();
        }
    }
View Full Code Here

    }

    @Action
    public void setHighValueToTriglycerides() {
        try {
            StandardValue st = FacadeDB.getInstance().getStandardValuesBroker().getStandardValueByParamType(StandardParams.TRIGLYCERIDES);
            this.jTxtTriglycerides.setText(st != null ? st.getHigh().toString() : StandardParams.TRIGLYCERIDES.getHigh().toString());
        } catch (ExceptionDAO edao) {
            this.jTxtTriglycerides.setText(StandardParams.TRIGLYCERIDES.getHigh().toString());
            FacadeDB.getInstance().refreshSession();
        }
    }
View Full Code Here

    }

    @Action
    public void setNormalValueToGlucemy() {
        try {
            StandardValue st = FacadeDB.getInstance().getStandardValuesBroker().getStandardValueByParamType(StandardParams.GLUCEMY);
            this.jTxtGlucemy.setText(st != null ? st.getNormal().toString() : StandardParams.GLUCEMY.getNormal().toString());
        } catch (ExceptionDAO e) {
            this.jTxtGlucemy.setText(StandardParams.GLUCEMY.getNormal().toString());
            FacadeDB.getInstance().refreshSession();
        }
    }
View Full Code Here

    }

    @Action
    public void setMediumValueToGlucemy() {
        try {
            StandardValue st = FacadeDB.getInstance().getStandardValuesBroker().getStandardValueByParamType(StandardParams.GLUCEMY);
            this.jTxtGlucemy.setText(st != null ? st.getMedium().toString() : StandardParams.GLUCEMY.getMedium().toString());
        } catch (ExceptionDAO edao) {
            this.jTxtGlucemy.setText(StandardParams.GLUCEMY.getMedium().toString());
            FacadeDB.getInstance().refreshSession();
        }
    }
View Full Code Here

    }

    @Action
    public void setHighValueToGlucemy() {
        try {
            StandardValue st = FacadeDB.getInstance().getStandardValuesBroker().getStandardValueByParamType(StandardParams.GLUCEMY);
            this.jTxtGlucemy.setText(st != null ? st.getHigh().toString() : StandardParams.GLUCEMY.getHigh().toString());
        } catch (ExceptionDAO edao) {
            this.jTxtGlucemy.setText(StandardParams.GLUCEMY.getHigh().toString());
            FacadeDB.getInstance().refreshSession();
        }
    }
View Full Code Here

    }

     @Action
    public void setNormalValueToPS() {
        try {
            StandardValue st = FacadeDB.getInstance().getStandardValuesBroker().getStandardValueByParamType(StandardParams.PS);
            this.jTxtPS.setText(st != null ? st.getNormal().toString() : StandardParams.PS.getNormal().toString());
        } catch (ExceptionDAO e) {
            this.jTxtPS.setText(StandardParams.PS.getNormal().toString());
            FacadeDB.getInstance().refreshSession();
        }
    }
View Full Code Here

    }

    @Action
    public void setMediumValueToPS() {
        try {
            StandardValue st = FacadeDB.getInstance().getStandardValuesBroker().getStandardValueByParamType(StandardParams.PS);
            this.jTxtPS.setText(st != null ? st.getMedium().toString() : StandardParams.PS.getMedium().toString());
        } catch (ExceptionDAO edao) {
            this.jTxtPS.setText(StandardParams.PS.getMedium().toString());
            FacadeDB.getInstance().refreshSession();
        }
    }
View Full Code Here

    }

    @Action
    public void setHighValueToPS() {
        try {
            StandardValue st = FacadeDB.getInstance().getStandardValuesBroker().getStandardValueByParamType(StandardParams.PS);
            this.jTxtPS.setText(st != null ? st.getHigh().toString() : StandardParams.PS.getHigh().toString());
        } catch (ExceptionDAO edao) {
            this.jTxtPS.setText(StandardParams.PS.getHigh().toString());
            FacadeDB.getInstance().refreshSession();
        }
    }
View Full Code Here

TOP

Related Classes of systole.domain.clinicalInformation.standardValues.StandardValue

Copyright © 2018 www.massapicom. 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.