Java 类ims.ocrr.vo.OrdInvXOStatusHistoryLiteVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private String generateXoStatusTooltip(OrdInvXOStatusHistoryLiteVoCollection voCollOrdInvXOStatusHistory)
{
    if(voCollOrdInvXOStatusHistory == null)
        return "";

    String tooltip = "";
    voCollOrdInvXOStatusHistory.sort(SortOrder.DESCENDING);
    StringBuffer sb = new StringBuffer();

    tooltip += "<br><b>Change Order(XO)</b>";
    for(OrdInvXOStatusHistoryLiteVo voStatus : voCollOrdInvXOStatusHistory)
    {
        sb.append("<br><b>Date changed: </b>" + voStatus.getChangeDateTime());
        sb.append("<br><b>Status reason: </b>" + (voStatus.getStatusReasonIsNotNull() ? voStatus.getStatusReason() : ""));
        tooltip += sb.toString();
    }

    return tooltip;

}
项目:openMAXIMS    文件:Logic.java   
private String generateXoStatusTooltip(OrdInvXOStatusHistoryLiteVoCollection voCollOrdInvXOStatusHistory)
{
    if(voCollOrdInvXOStatusHistory == null)
        return "";

    String tooltip = "";
    voCollOrdInvXOStatusHistory.sort(SortOrder.DESCENDING);
    StringBuffer sb = new StringBuffer();

    tooltip += "<br><b>Change Order(XO)</b>";
    for(OrdInvXOStatusHistoryLiteVo voStatus : voCollOrdInvXOStatusHistory)
    {
        sb.append("<br><b>Date changed: </b>" + voStatus.getChangeDateTime());
        sb.append("<br><b>Status reason: </b>" + (voStatus.getStatusReasonIsNotNull() ? voStatus.getStatusReason() : ""));
        tooltip += sb.toString();
    }

    return tooltip;

}
项目:openMAXIMS    文件:Logic.java   
private String generateXoStatusTooltip(OrdInvXOStatusHistoryLiteVoCollection voCollOrdInvXOStatusHistory)
{
    if(voCollOrdInvXOStatusHistory == null)
        return "";

    String tooltip = "";
    voCollOrdInvXOStatusHistory.sort(SortOrder.DESCENDING);
    StringBuffer sb = new StringBuffer();

    tooltip += "<br><b>Change Order(XO)</b>";
    for(OrdInvXOStatusHistoryLiteVo voStatus : voCollOrdInvXOStatusHistory)
    {
        sb.append("<br><b>Date changed: </b>" + voStatus.getChangeDateTime());
        sb.append("<br><b>Status reason: </b>" + (voStatus.getStatusReasonIsNotNull() ? voStatus.getStatusReason() : ""));
        tooltip += sb.toString();
    }

    return tooltip;

}
项目:openmaxims-linux    文件:Logic.java   
private String generateXoStatusTooltip(OrdInvXOStatusHistoryLiteVoCollection voCollOrdInvXOStatusHistory)
{
    if(voCollOrdInvXOStatusHistory == null)
        return "";

    String tooltip = "";
    voCollOrdInvXOStatusHistory.sort(SortOrder.DESCENDING);
    StringBuffer sb = new StringBuffer();

    tooltip += "<br><b>Change Order(XO)</b>";
    for(OrdInvXOStatusHistoryLiteVo voStatus : voCollOrdInvXOStatusHistory)
    {
        sb.append("<br><b>Date changed: </b>" + voStatus.getChangeDateTime());
        sb.append("<br><b>Status reason: </b>" + (voStatus.getStatusReasonIsNotNull() ? voStatus.getStatusReason() : ""));
        tooltip += sb.toString();
    }

    return tooltip;

}