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

项目:AvoinApotti    文件:Logic.java   
private String formatLocationServicevoTooltip(LocationServiceMidVo voLocService)
{
    StringBuilder out = new StringBuilder(1000);
    out.append(makeTextile("*" + ConfigFlag.UI.DISPLAY_NAME_SERVICE.getValue(true) + ": *", "SlateBlue", "tahoma", "12"));
    out.append(makeTextile((voLocService.getService().getServiceNameIsNotNull() ? voLocService.getService().getServiceName() : ""), (voLocService.getIsActiveIsNotNull() ? (voLocService.getIsActive().booleanValue() ? "black" : "red") : "black"), "tahoma", "12"));
    out.append(makeNewLine(1));
    out.append(makeTextile("*Description: *", "SlateBlue", "tahoma", "12"));
    out.append(makeTextile((voLocService.getService().getServiceDescriptionIsNotNull() ? voLocService.getService().getServiceDescription() : ""), "black", "tahoma", "12"));
    out.append(makeNewLine(1));
    if (voLocService.getContactIsNotNull())
    {
        out.append(makeNewLine(1));
        out.append(makeTextile("*Contact Details: *", "SlateBlue", "tahoma", "12"));
        out.append(makeTextile((voLocService.getContact().getNameIsNotNull() ? voLocService.getContact().getName().toString() : ""), "black", "tahoma", "12"));
        if (voLocService.getContact().getContactNumberIsNotNull())
        {
            out.append(makeNewLine(1));
            out.append(makeTextile("*Contact Number: *", "SlateBlue", "tahoma", "12"));
            out.append(makeTextile(voLocService.getContact().getContactNumber(), "black", "tahoma", "12"));
        }
    }

    return new TextileString(out.toString()).toString();
}
项目:openMAXIMS    文件:Logic.java   
private String formatLocationServicevoTooltip(LocationServiceMidVo voLocService)
{
    StringBuilder out = new StringBuilder(1000);
    out.append(makeTextile("*" + ConfigFlag.UI.DISPLAY_NAME_SERVICE.getValue(true) + ": *", "SlateBlue", "tahoma", "12"));
    out.append(makeTextile((voLocService.getService().getServiceNameIsNotNull() ? voLocService.getService().getServiceName() : ""), (voLocService.getIsActiveIsNotNull() ? (voLocService.getIsActive().booleanValue() ? "black" : "red") : "black"), "tahoma", "12"));
    out.append(makeNewLine(1));
    out.append(makeTextile("*Description: *", "SlateBlue", "tahoma", "12"));
    out.append(makeTextile((voLocService.getService().getServiceDescriptionIsNotNull() ? voLocService.getService().getServiceDescription() : ""), "black", "tahoma", "12"));
    out.append(makeNewLine(1));
    if (voLocService.getContactIsNotNull())
    {
        out.append(makeNewLine(1));
        out.append(makeTextile("*Contact Details: *", "SlateBlue", "tahoma", "12"));
        out.append(makeTextile((voLocService.getContact().getNameIsNotNull() ? voLocService.getContact().getName().toString() : ""), "black", "tahoma", "12"));
        if (voLocService.getContact().getContactNumberIsNotNull())
        {
            out.append(makeNewLine(1));
            out.append(makeTextile("*Contact Number: *", "SlateBlue", "tahoma", "12"));
            out.append(makeTextile(voLocService.getContact().getContactNumber(), "black", "tahoma", "12"));
        }
    }

    return new TextileString(out.toString()).toString();
}
项目:openMAXIMS    文件:Logic.java   
private String formatLocationServicevoTooltip(LocationServiceMidVo voLocService)
{
    StringBuilder out = new StringBuilder(1000);
    out.append(makeTextile("*" + ConfigFlag.UI.DISPLAY_NAME_SERVICE.getValue(true) + ": *", "SlateBlue", "tahoma", "12"));
    out.append(makeTextile((voLocService.getService().getServiceNameIsNotNull() ? voLocService.getService().getServiceName() : ""), (voLocService.getIsActiveIsNotNull() ? (voLocService.getIsActive().booleanValue() ? "black" : "red") : "black"), "tahoma", "12"));
    out.append(makeNewLine(1));
    out.append(makeTextile("*Description: *", "SlateBlue", "tahoma", "12"));
    out.append(makeTextile((voLocService.getService().getServiceDescriptionIsNotNull() ? voLocService.getService().getServiceDescription() : ""), "black", "tahoma", "12"));
    out.append(makeNewLine(1));
    if (voLocService.getContactIsNotNull())
    {
        out.append(makeNewLine(1));
        out.append(makeTextile("*Contact Details: *", "SlateBlue", "tahoma", "12"));
        out.append(makeTextile((voLocService.getContact().getNameIsNotNull() ? voLocService.getContact().getName().toString() : ""), "black", "tahoma", "12"));
        if (voLocService.getContact().getContactNumberIsNotNull())
        {
            out.append(makeNewLine(1));
            out.append(makeTextile("*Contact Number: *", "SlateBlue", "tahoma", "12"));
            out.append(makeTextile(voLocService.getContact().getContactNumber(), "black", "tahoma", "12"));
        }
    }

    return new TextileString(out.toString()).toString();
}
项目:openmaxims-linux    文件:Logic.java   
private String formatLocationServicevoTooltip(LocationServiceMidVo voLocService)
{
    StringBuilder out = new StringBuilder(1000);
    out.append(makeTextile("*" + ConfigFlag.UI.DISPLAY_NAME_SERVICE.getValue(true) + ": *", "SlateBlue", "tahoma", "12"));
    out.append(makeTextile((voLocService.getService().getServiceNameIsNotNull() ? voLocService.getService().getServiceName() : ""), (voLocService.getIsActiveIsNotNull() ? (voLocService.getIsActive().booleanValue() ? "black" : "red") : "black"), "tahoma", "12"));
    out.append(makeNewLine(1));
    out.append(makeTextile("*Description: *", "SlateBlue", "tahoma", "12"));
    out.append(makeTextile((voLocService.getService().getServiceDescriptionIsNotNull() ? voLocService.getService().getServiceDescription() : ""), "black", "tahoma", "12"));
    out.append(makeNewLine(1));
    if (voLocService.getContactIsNotNull())
    {
        out.append(makeNewLine(1));
        out.append(makeTextile("*Contact Details: *", "SlateBlue", "tahoma", "12"));
        out.append(makeTextile((voLocService.getContact().getNameIsNotNull() ? voLocService.getContact().getName().toString() : ""), "black", "tahoma", "12"));
        if (voLocService.getContact().getContactNumberIsNotNull())
        {
            out.append(makeNewLine(1));
            out.append(makeTextile("*Contact Number: *", "SlateBlue", "tahoma", "12"));
            out.append(makeTextile(voLocService.getContact().getContactNumber(), "black", "tahoma", "12"));
        }
    }

    return new TextileString(out.toString()).toString();
}