Java 类ims.core.vo.GenericIdentifierVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private GenericIdentifierVoCollection copyGenericVoCollection(GenericIdentifierVoCollection coll)
{
    if (coll == null)
        return null;

    GenericIdentifierVoCollection ret = new GenericIdentifierVoCollection();
    for (int i = 0; i < coll.size(); i++)
    {
        GenericIdentifierVo src = coll.get(i);
        GenericIdentifierVo dst = new GenericIdentifierVo();
        dst.setClassName(src.getClassName());
        dst.setClassType(src.getClassType());
        dst.setInstanceId(src.getInstanceId());
        dst.setIsRIE(Boolean.FALSE);
        ret.add(dst);
    }
    return ret;
}
项目:AvoinApotti    文件:Logic.java   
protected void onGrdAssessmentsSelectionChanged() throws PresentationLogicException
{
    Object val;
    if (form.treNav().getSelectedNode() != null)
    {
        val = form.treNav().getSelectedNode().getValue();
        if (val instanceof AppNavFormVo)
        {
            AppNavFormVo navForm = (AppNavFormVo)val;
            GenericIdentifierVoCollection coll = new GenericIdentifierVoCollection();
            ValueObjectRef refVo = form.grdAssessments().getValue();
            GenericIdentifierVo genVo = new GenericIdentifierVo();
            genVo.setInstanceId(refVo.getBoId());
            genVo.setClassName(refVo.getClass().getName());
            coll.add(genVo);
            navForm.setLinkedClasses(coll);
            navForm.setNodeText(form.grdAssessments().getSelectedRow().getAssessmentName());
            populateNavigation(form.getLocalContext().getSelectedNav());
        }
    }
    form.grdAssessments().setEnabled(false);
}
项目:AvoinApotti    文件:Logic.java   
@Override
protected void onFormDialogClosed(FormName formName, DialogResult result) throws PresentationLogicException
{
    if(formName.equals(form.getForms().Core.ReportTemplate) && result.equals(DialogResult.OK))
    {
        Object val = form.treNav().getValue();

        AppNavFormVo navForm = addAppNavFormVo(getReportViewerForm(), val);
        if (navForm != null)
        {
            GenericIdentifierVoCollection coll = new GenericIdentifierVoCollection();
            ValueObjectRef refVo = form.getGlobalContext().Core.getReportTemplateRef();
            GenericIdentifierVo genVo = new GenericIdentifierVo();
            genVo.setInstanceId(refVo.getBoId());
            genVo.setClassName(refVo.getClass().getName());
            coll.add(genVo);
            navForm.setLinkedClasses(coll);
            navForm.setNodeText(form.getGlobalContext().Core.getTemplate());
            populateNavigation(form.getLocalContext().getSelectedNav());

            navForm.setNodeText(form.getGlobalContext().Core.getTemplate());
        }
        populateNavigation(form.getLocalContext().getSelectedNav());
    }
}
项目:AvoinApotti    文件:Logic.java   
private AppNavFormVo createFormForAssessment(ValueObjectRef refVo, AppFormVo assesmentForm)
{
    AppNavFormVo newForm = new AppNavFormVo();
    newForm.setForm(assesmentForm);
    GenericIdentifierVoCollection coll = new GenericIdentifierVoCollection();

    GenericIdentifierVo genVo = new GenericIdentifierVo();
    genVo.setInstanceId(refVo.getBoId());
    genVo.setClassName(refVo.getClass().getName());
    coll.add(genVo);
    newForm.setLinkedClasses(coll);

    newForm.setAccessForEpisEnd(FormReadWrite.WRITE);
    newForm.setAccessForRip(FormReadWrite.WRITE);
    newForm.setIsReadOnly(false);
    newForm.setNodeText((refVo instanceof GraphicAssessmentShortVo) ? ((GraphicAssessmentShortVo) refVo).getName() : (refVo instanceof UserAssessmentLiteVo) ? ((UserAssessmentLiteVo) refVo).getName() : null);
    return newForm;
}
项目:AvoinApotti    文件:Logic.java   
private AppNavFormVo createFormForReport(ReportTemplateLiteVo rep, AppFormVo reportForm)
{

    AppNavFormVo newForm = new AppNavFormVo();
    newForm.setForm(reportForm);
    newForm.setLinkedClasses(null);
    GenericIdentifierVoCollection coll = new GenericIdentifierVoCollection();
    GenericIdentifierVo genVo = new GenericIdentifierVo();
    genVo.setInstanceId(rep.getBoId());
    genVo.setClassName(rep.getClass().getName());
    coll.add(genVo);
    newForm.setLinkedClasses(coll);
    newForm.setNodeText(rep.getName());

    newForm.setAccessForEpisEnd(FormReadWrite.WRITE);
    newForm.setAccessForRip(FormReadWrite.WRITE);
    newForm.setIsReadOnly(false);
    return newForm;
}
项目:openMAXIMS    文件:Logic.java   
private GenericIdentifierVoCollection copyGenericVoCollection(GenericIdentifierVoCollection coll)
{
    if (coll == null)
        return null;

    GenericIdentifierVoCollection ret = new GenericIdentifierVoCollection();
    for (int i = 0; i < coll.size(); i++)
    {
        GenericIdentifierVo src = coll.get(i);
        GenericIdentifierVo dst = new GenericIdentifierVo();
        dst.setClassName(src.getClassName());
        dst.setClassType(src.getClassType());
        dst.setInstanceId(src.getInstanceId());
        dst.setIsRIE(Boolean.FALSE);
        ret.add(dst);
    }
    return ret;
}
项目:openMAXIMS    文件:Logic.java   
protected void onGrdAssessmentsSelectionChanged() throws PresentationLogicException
{
    Object val;
    if (form.treNav().getSelectedNode() != null)
    {
        val = form.treNav().getSelectedNode().getValue();
        if (val instanceof AppNavFormVo)
        {
            AppNavFormVo navForm = (AppNavFormVo)val;
            GenericIdentifierVoCollection coll = new GenericIdentifierVoCollection();
            ValueObjectRef refVo = form.grdAssessments().getValue();
            GenericIdentifierVo genVo = new GenericIdentifierVo();
            genVo.setInstanceId(refVo.getBoId());
            genVo.setClassName(refVo.getClass().getName());
            coll.add(genVo);
            navForm.setLinkedClasses(coll);
            navForm.setNodeText(form.grdAssessments().getSelectedRow().getAssessmentName());
            populateNavigation(form.getLocalContext().getSelectedNav());
        }
    }
    form.grdAssessments().setEnabled(false);
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onFormDialogClosed(FormName formName, DialogResult result) throws PresentationLogicException
{
    if(formName.equals(form.getForms().Core.ReportTemplate) && result.equals(DialogResult.OK))
    {
        Object val = form.treNav().getValue();

        AppNavFormVo navForm = addAppNavFormVo(getReportViewerForm(), val);
        if (navForm != null)
        {
            GenericIdentifierVoCollection coll = new GenericIdentifierVoCollection();
            ValueObjectRef refVo = form.getGlobalContext().Core.getReportTemplateRef();
            GenericIdentifierVo genVo = new GenericIdentifierVo();
            genVo.setInstanceId(refVo.getBoId());
            genVo.setClassName(refVo.getClass().getName());
            coll.add(genVo);
            navForm.setLinkedClasses(coll);
            navForm.setNodeText(form.getGlobalContext().Core.getTemplate());
            populateNavigation(form.getLocalContext().getSelectedNav());

            navForm.setNodeText(form.getGlobalContext().Core.getTemplate());
        }
        populateNavigation(form.getLocalContext().getSelectedNav());
    }
}
项目:openMAXIMS    文件:Logic.java   
private AppNavFormVo createFormForAssessment(ValueObjectRef refVo, AppFormVo assesmentForm)
{
    AppNavFormVo newForm = new AppNavFormVo();
    newForm.setForm(assesmentForm);
    GenericIdentifierVoCollection coll = new GenericIdentifierVoCollection();

    GenericIdentifierVo genVo = new GenericIdentifierVo();
    genVo.setInstanceId(refVo.getBoId());
    genVo.setClassName(refVo.getClass().getName());
    coll.add(genVo);
    newForm.setLinkedClasses(coll);

    newForm.setAccessForEpisEnd(FormReadWrite.WRITE);
    newForm.setAccessForRip(FormReadWrite.WRITE);
    newForm.setIsReadOnly(false);
    newForm.setNodeText((refVo instanceof GraphicAssessmentShortVo) ? ((GraphicAssessmentShortVo) refVo).getName() : (refVo instanceof UserAssessmentLiteVo) ? ((UserAssessmentLiteVo) refVo).getName() : null);
    return newForm;
}
项目:openMAXIMS    文件:Logic.java   
private AppNavFormVo createFormForReport(ReportTemplateLiteVo rep, AppFormVo reportForm)
{

    AppNavFormVo newForm = new AppNavFormVo();
    newForm.setForm(reportForm);
    newForm.setLinkedClasses(null);
    GenericIdentifierVoCollection coll = new GenericIdentifierVoCollection();
    GenericIdentifierVo genVo = new GenericIdentifierVo();
    genVo.setInstanceId(rep.getBoId());
    genVo.setClassName(rep.getClass().getName());
    coll.add(genVo);
    newForm.setLinkedClasses(coll);
    newForm.setNodeText(rep.getName());

    newForm.setAccessForEpisEnd(FormReadWrite.WRITE);
    newForm.setAccessForRip(FormReadWrite.WRITE);
    newForm.setIsReadOnly(false);
    return newForm;
}
项目:openMAXIMS    文件:Logic.java   
private GenericIdentifierVoCollection copyGenericVoCollection(GenericIdentifierVoCollection coll)
{
    if (coll == null)
        return null;

    GenericIdentifierVoCollection ret = new GenericIdentifierVoCollection();
    for (int i = 0; i < coll.size(); i++)
    {
        GenericIdentifierVo src = coll.get(i);
        GenericIdentifierVo dst = new GenericIdentifierVo();
        dst.setClassName(src.getClassName());
        dst.setClassType(src.getClassType());
        dst.setInstanceId(src.getInstanceId());
        dst.setIsRIE(Boolean.FALSE);
        ret.add(dst);
    }
    return ret;
}
项目:openMAXIMS    文件:Logic.java   
protected void onGrdAssessmentsSelectionChanged() throws PresentationLogicException
{
    Object val;
    if (form.treNav().getSelectedNode() != null)
    {
        val = form.treNav().getSelectedNode().getValue();
        if (val instanceof AppNavFormVo)
        {
            AppNavFormVo navForm = (AppNavFormVo)val;
            GenericIdentifierVoCollection coll = new GenericIdentifierVoCollection();
            ValueObjectRef refVo = form.grdAssessments().getValue();
            GenericIdentifierVo genVo = new GenericIdentifierVo();
            genVo.setInstanceId(refVo.getBoId());
            genVo.setClassName(refVo.getClass().getName());
            coll.add(genVo);
            navForm.setLinkedClasses(coll);
            navForm.setNodeText(form.grdAssessments().getSelectedRow().getAssessmentName());
            populateNavigation(form.getLocalContext().getSelectedNav());
        }
    }
    form.grdAssessments().setEnabled(false);
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onFormDialogClosed(FormName formName, DialogResult result) throws PresentationLogicException
{
    if(formName.equals(form.getForms().Core.ReportTemplate) && result.equals(DialogResult.OK))
    {
        Object val = form.treNav().getValue();

        AppNavFormVo navForm = addAppNavFormVo(getReportViewerForm(), val);
        if (navForm != null)
        {
            GenericIdentifierVoCollection coll = new GenericIdentifierVoCollection();
            ValueObjectRef refVo = form.getGlobalContext().Core.getReportTemplateRef();
            GenericIdentifierVo genVo = new GenericIdentifierVo();
            genVo.setInstanceId(refVo.getBoId());
            genVo.setClassName(refVo.getClass().getName());
            coll.add(genVo);
            navForm.setLinkedClasses(coll);
            navForm.setNodeText(form.getGlobalContext().Core.getTemplate());
            populateNavigation(form.getLocalContext().getSelectedNav());

            navForm.setNodeText(form.getGlobalContext().Core.getTemplate());
        }
        populateNavigation(form.getLocalContext().getSelectedNav());
    }
}
项目:openMAXIMS    文件:Logic.java   
private AppNavFormVo createFormForAssessment(ValueObjectRef refVo, AppFormVo assesmentForm)
{
    AppNavFormVo newForm = new AppNavFormVo();
    newForm.setForm(assesmentForm);
    GenericIdentifierVoCollection coll = new GenericIdentifierVoCollection();

    GenericIdentifierVo genVo = new GenericIdentifierVo();
    genVo.setInstanceId(refVo.getBoId());
    genVo.setClassName(refVo.getClass().getName());
    coll.add(genVo);
    newForm.setLinkedClasses(coll);

    newForm.setAccessForEpisEnd(FormReadWrite.WRITE);
    newForm.setAccessForRip(FormReadWrite.WRITE);
    newForm.setIsReadOnly(false);
    newForm.setNodeText((refVo instanceof GraphicAssessmentShortVo) ? ((GraphicAssessmentShortVo) refVo).getName() : (refVo instanceof UserAssessmentLiteVo) ? ((UserAssessmentLiteVo) refVo).getName() : null);
    return newForm;
}
项目:openMAXIMS    文件:Logic.java   
private AppNavFormVo createFormForReport(ReportTemplateLiteVo rep, AppFormVo reportForm)
{

    AppNavFormVo newForm = new AppNavFormVo();
    newForm.setForm(reportForm);
    newForm.setLinkedClasses(null);
    GenericIdentifierVoCollection coll = new GenericIdentifierVoCollection();
    GenericIdentifierVo genVo = new GenericIdentifierVo();
    genVo.setInstanceId(rep.getBoId());
    genVo.setClassName(rep.getClass().getName());
    coll.add(genVo);
    newForm.setLinkedClasses(coll);
    newForm.setNodeText(rep.getName());

    newForm.setAccessForEpisEnd(FormReadWrite.WRITE);
    newForm.setAccessForRip(FormReadWrite.WRITE);
    newForm.setIsReadOnly(false);
    return newForm;
}
项目:openmaxims-linux    文件:Logic.java   
private GenericIdentifierVoCollection copyGenericVoCollection(GenericIdentifierVoCollection coll)
{
    if (coll == null)
        return null;

    GenericIdentifierVoCollection ret = new GenericIdentifierVoCollection();
    for (int i = 0; i < coll.size(); i++)
    {
        GenericIdentifierVo src = coll.get(i);
        GenericIdentifierVo dst = new GenericIdentifierVo();
        dst.setClassName(src.getClassName());
        dst.setClassType(src.getClassType());
        dst.setInstanceId(src.getInstanceId());
        dst.setIsRIE(Boolean.FALSE);
        ret.add(dst);
    }
    return ret;
}
项目:openmaxims-linux    文件:Logic.java   
protected void onGrdAssessmentsSelectionChanged() throws PresentationLogicException
{
    Object val;
    if (form.treNav().getSelectedNode() != null)
    {
        val = form.treNav().getSelectedNode().getValue();
        if (val instanceof AppNavFormVo)
        {
            AppNavFormVo navForm = (AppNavFormVo)val;
            GenericIdentifierVoCollection coll = new GenericIdentifierVoCollection();
            ValueObjectRef refVo = form.grdAssessments().getValue();
            GenericIdentifierVo genVo = new GenericIdentifierVo();
            genVo.setInstanceId(refVo.getBoId());
            genVo.setClassName(refVo.getClass().getName());
            coll.add(genVo);
            navForm.setLinkedClasses(coll);
            navForm.setNodeText(form.grdAssessments().getSelectedRow().getAssessmentName());
            populateNavigation(form.getLocalContext().getSelectedNav());
        }
    }
    form.grdAssessments().setEnabled(false);
}
项目:openmaxims-linux    文件:Logic.java   
@Override
protected void onFormDialogClosed(FormName formName, DialogResult result) throws PresentationLogicException
{
    if(formName.equals(form.getForms().Core.ReportTemplate) && result.equals(DialogResult.OK))
    {
        Object val = form.treNav().getValue();

        AppNavFormVo navForm = addAppNavFormVo(getReportViewerForm(), val);
        if (navForm != null)
        {
            GenericIdentifierVoCollection coll = new GenericIdentifierVoCollection();
            ValueObjectRef refVo = form.getGlobalContext().Core.getReportTemplateRef();
            GenericIdentifierVo genVo = new GenericIdentifierVo();
            genVo.setInstanceId(refVo.getBoId());
            genVo.setClassName(refVo.getClass().getName());
            coll.add(genVo);
            navForm.setLinkedClasses(coll);
            navForm.setNodeText(form.getGlobalContext().Core.getTemplate());
            populateNavigation(form.getLocalContext().getSelectedNav());

            navForm.setNodeText(form.getGlobalContext().Core.getTemplate());
        }
        populateNavigation(form.getLocalContext().getSelectedNav());
    }
}
项目:openmaxims-linux    文件:Logic.java   
private AppNavFormVo createFormForAssessment(ValueObjectRef refVo, AppFormVo assesmentForm)
{
    AppNavFormVo newForm = new AppNavFormVo();
    newForm.setForm(assesmentForm);
    GenericIdentifierVoCollection coll = new GenericIdentifierVoCollection();

    GenericIdentifierVo genVo = new GenericIdentifierVo();
    genVo.setInstanceId(refVo.getBoId());
    genVo.setClassName(refVo.getClass().getName());
    coll.add(genVo);
    newForm.setLinkedClasses(coll);

    newForm.setAccessForEpisEnd(FormReadWrite.WRITE);
    newForm.setAccessForRip(FormReadWrite.WRITE);
    newForm.setIsReadOnly(false);
    newForm.setNodeText((refVo instanceof GraphicAssessmentShortVo) ? ((GraphicAssessmentShortVo) refVo).getName() : (refVo instanceof UserAssessmentLiteVo) ? ((UserAssessmentLiteVo) refVo).getName() : null);
    return newForm;
}
项目:openmaxims-linux    文件:Logic.java   
private AppNavFormVo createFormForReport(ReportTemplateLiteVo rep, AppFormVo reportForm)
{

    AppNavFormVo newForm = new AppNavFormVo();
    newForm.setForm(reportForm);
    newForm.setLinkedClasses(null);
    GenericIdentifierVoCollection coll = new GenericIdentifierVoCollection();
    GenericIdentifierVo genVo = new GenericIdentifierVo();
    genVo.setInstanceId(rep.getBoId());
    genVo.setClassName(rep.getClass().getName());
    coll.add(genVo);
    newForm.setLinkedClasses(coll);
    newForm.setNodeText(rep.getName());

    newForm.setAccessForEpisEnd(FormReadWrite.WRITE);
    newForm.setAccessForRip(FormReadWrite.WRITE);
    newForm.setIsReadOnly(false);
    return newForm;
}
项目:AvoinApotti    文件:Logic.java   
private String getNavFormTooltip(AppNavFormVo af)
{
    StringBuffer sb = new StringBuffer();

    if(af.getAppForm().isAlias())
    {
        sb.append("<b>Form : </b>"+af.getForm().getName()+" ("+af.getAppForm().getAliasName()+")");
    }
    else
    {
        sb.append("<b>Form : </b>" + af.getForm().getName());
    }
    sb.append("<br><b>RIP : </b>" + af.getFormAccessForRip().toString());
    sb.append("<br><b>EPIS : </b>" + af.getFormAccessForEpisEnd().toString());
    if (af.getLinkedClasses() != null && af.getLinkedClasses().size() > 0)
    {
        GenericIdentifierVo genId = af.getLinkedClasses().get(0);
        ValueObjectRef voRef = (ValueObjectRef)GenericIdentifierFactory.instantiate(genId);
        ValueObject assess = domain.getAssessment(voRef);
        if (assess instanceof UserAssessmentLiteVo)
        {
            genId.setClassType(STRUCTURED_ASSESSMENT);
            UserAssessmentLiteVo userAssess = (UserAssessmentLiteVo)assess;
            sb.append("<br><b>Structured Assessment : </b>" + userAssess.getName());                
        }
        else if (assess instanceof GraphicAssessmentShortVo)
        {
            genId.setClassType(GRAPHIC_ASSESSMENT);
            GraphicAssessmentShortVo graphicAssess = (GraphicAssessmentShortVo)assess;
            sb.append("<br><b>Graphic Assessment : </b>" + graphicAssess.getName());
        }
    }       
    return sb.toString();
}
项目:openMAXIMS    文件:Logic.java   
private String getNavFormTooltip(AppNavFormVo af)
{
    StringBuffer sb = new StringBuffer();

    if(af.getAppForm().isAlias())
    {
        sb.append("<b>Form : </b>"+af.getForm().getName()+" ("+af.getAppForm().getAliasName()+")");
    }
    else
    {
        sb.append("<b>Form : </b>" + af.getForm().getName());
    }
    sb.append("<br><b>RIP : </b>" + af.getFormAccessForRip().toString());
    sb.append("<br><b>EPIS : </b>" + af.getFormAccessForEpisEnd().toString());
    if (af.getLinkedClasses() != null && af.getLinkedClasses().size() > 0)
    {
        GenericIdentifierVo genId = af.getLinkedClasses().get(0);
        ValueObjectRef voRef = (ValueObjectRef)GenericIdentifierFactory.instantiate(genId);
        ValueObject assess = domain.getAssessment(voRef);
        if (assess instanceof UserAssessmentLiteVo)
        {
            genId.setClassType(STRUCTURED_ASSESSMENT);
            UserAssessmentLiteVo userAssess = (UserAssessmentLiteVo)assess;
            sb.append("<br><b>Structured Assessment : </b>" + userAssess.getName());                
        }
        else if (assess instanceof GraphicAssessmentShortVo)
        {
            genId.setClassType(GRAPHIC_ASSESSMENT);
            GraphicAssessmentShortVo graphicAssess = (GraphicAssessmentShortVo)assess;
            sb.append("<br><b>Graphic Assessment : </b>" + graphicAssess.getName());
        }
    }       
    return sb.toString();
}
项目:openMAXIMS    文件:Logic.java   
private String getNavFormTooltip(AppNavFormVo af)
{
    StringBuffer sb = new StringBuffer();

    if(af.getAppForm().isAlias())
    {
        sb.append("<b>Form : </b>"+af.getForm().getName()+" ("+af.getAppForm().getAliasName()+")");
    }
    else
    {
        sb.append("<b>Form : </b>" + af.getForm().getName());
    }
    sb.append("<br><b>RIP : </b>" + af.getFormAccessForRip().toString());
    sb.append("<br><b>EPIS : </b>" + af.getFormAccessForEpisEnd().toString());
    if (af.getLinkedClasses() != null && af.getLinkedClasses().size() > 0)
    {
        GenericIdentifierVo genId = af.getLinkedClasses().get(0);
        ValueObjectRef voRef = (ValueObjectRef)GenericIdentifierFactory.instantiate(genId);
        ValueObject assess = domain.getAssessment(voRef);
        if (assess instanceof UserAssessmentLiteVo)
        {
            genId.setClassType(STRUCTURED_ASSESSMENT);
            UserAssessmentLiteVo userAssess = (UserAssessmentLiteVo)assess;
            sb.append("<br><b>Structured Assessment : </b>" + userAssess.getName());                
        }
        else if (assess instanceof GraphicAssessmentShortVo)
        {
            genId.setClassType(GRAPHIC_ASSESSMENT);
            GraphicAssessmentShortVo graphicAssess = (GraphicAssessmentShortVo)assess;
            sb.append("<br><b>Graphic Assessment : </b>" + graphicAssess.getName());
        }
    }       
    return sb.toString();
}
项目:openmaxims-linux    文件:Logic.java   
private String getNavFormTooltip(AppNavFormVo af)
{
    StringBuffer sb = new StringBuffer();

    if(af.getAppForm().isAlias())
    {
        sb.append("<b>Form : </b>"+af.getForm().getName()+" ("+af.getAppForm().getAliasName()+")");
    }
    else
    {
        sb.append("<b>Form : </b>" + af.getForm().getName());
    }
    sb.append("<br><b>RIP : </b>" + af.getFormAccessForRip().toString());
    sb.append("<br><b>EPIS : </b>" + af.getFormAccessForEpisEnd().toString());
    if (af.getLinkedClasses() != null && af.getLinkedClasses().size() > 0)
    {
        GenericIdentifierVo genId = af.getLinkedClasses().get(0);
        ValueObjectRef voRef = (ValueObjectRef)GenericIdentifierFactory.instantiate(genId);
        ValueObject assess = domain.getAssessment(voRef);
        if (assess instanceof UserAssessmentLiteVo)
        {
            genId.setClassType(STRUCTURED_ASSESSMENT);
            UserAssessmentLiteVo userAssess = (UserAssessmentLiteVo)assess;
            sb.append("<br><b>Structured Assessment : </b>" + userAssess.getName());                
        }
        else if (assess instanceof GraphicAssessmentShortVo)
        {
            genId.setClassType(GRAPHIC_ASSESSMENT);
            GraphicAssessmentShortVo graphicAssess = (GraphicAssessmentShortVo)assess;
            sb.append("<br><b>Graphic Assessment : </b>" + graphicAssess.getName());
        }
    }       
    return sb.toString();
}