Java 类ims.emergency.vo.TrackingColumnsSortOrderVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private void alternateSortOrder(DynamicGridColumn column)
{
    if (form.getLocalContext().getSortOrder() == null)
    {
        form.getLocalContext().setSortOrder(new TrackingColumnsSortOrderVo());
    }

    if (column.getIdentifier().equals(form.getLocalContext().getSortOrder().getColumnType()))
    {
        if (Boolean.TRUE.equals(form.getLocalContext().getSortOrder().getSortOrder()))
        {
            form.getLocalContext().getSortOrder().setSortOrder(false);
        }
        else
        {
            form.getLocalContext().getSortOrder().setSortOrder(true);
        }
    }
    else
    {
        form.getLocalContext().getSortOrder().setColumnType((TrackingAreaColumn) column.getIdentifier());
        form.getLocalContext().getSortOrder().setSortOrder(true);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void alternateSortOrder(DynamicGridColumn column)
{
    if (form.getLocalContext().getSortOrder() == null)
    {
        form.getLocalContext().setSortOrder(new TrackingColumnsSortOrderVo());
    }

    if (column.getIdentifier().equals(form.getLocalContext().getSortOrder().getColumnType()))
    {
        if (Boolean.TRUE.equals(form.getLocalContext().getSortOrder().getSortOrder()))
        {
            form.getLocalContext().getSortOrder().setSortOrder(false);
        }
        else
        {
            form.getLocalContext().getSortOrder().setSortOrder(true);
        }
    }
    else
    {
        form.getLocalContext().getSortOrder().setColumnType((TrackingAreaColumn) column.getIdentifier());
        form.getLocalContext().getSortOrder().setSortOrder(true);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void alternateSortOrder(DynamicGridColumn column)
{
    if (form.getLocalContext().getSortOrder() == null)
    {
        form.getLocalContext().setSortOrder(new TrackingColumnsSortOrderVo());
    }

    if (column.getIdentifier().equals(form.getLocalContext().getSortOrder().getColumnType()))
    {
        if (Boolean.TRUE.equals(form.getLocalContext().getSortOrder().getSortOrder()))
        {
            form.getLocalContext().getSortOrder().setSortOrder(false);
        }
        else
        {
            form.getLocalContext().getSortOrder().setSortOrder(true);
        }
    }
    else
    {
        form.getLocalContext().getSortOrder().setColumnType((TrackingAreaColumn) column.getIdentifier());
        form.getLocalContext().getSortOrder().setSortOrder(true);
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void alternateSortOrder(DynamicGridColumn column)
{
    if (form.getLocalContext().getSortOrder() == null)
    {
        form.getLocalContext().setSortOrder(new TrackingColumnsSortOrderVo());
    }

    if (column.getIdentifier().equals(form.getLocalContext().getSortOrder().getColumnType()))
    {
        if (Boolean.TRUE.equals(form.getLocalContext().getSortOrder().getSortOrder()))
        {
            form.getLocalContext().getSortOrder().setSortOrder(false);
        }
        else
        {
            form.getLocalContext().getSortOrder().setSortOrder(true);
        }
    }
    else
    {
        form.getLocalContext().getSortOrder().setColumnType((TrackingAreaColumn) column.getIdentifier());
        form.getLocalContext().getSortOrder().setSortOrder(true);
    }
}