Java 类ims.therapies.vo.SportsActivityVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private String[] validateUIRules(SportsActivityVoCollection voSportColl)
{
    if(voSportColl.equals(null))
        return null;
    for(SportsActivityVo voSportsAct: voSportColl)
    {
        if(voSportsAct.getSelect() == null && voSportsAct.getComments() != null && !voSportsAct.getComments().equals(""))
            return new String[]{"Select is mandatory if Comments field is populated"};
    }
    return null;
}
项目:openMAXIMS    文件:Logic.java   
private String[] validateUIRules(SportsActivityVoCollection voSportColl)
{
    if(voSportColl.equals(null))
        return null;
    for(SportsActivityVo voSportsAct: voSportColl)
    {
        if(voSportsAct.getSelect() == null && voSportsAct.getComments() != null && !voSportsAct.getComments().equals(""))
            return new String[]{"Select is mandatory if Comments field is populated"};
    }
    return null;
}
项目:openMAXIMS    文件:Logic.java   
private String[] validateUIRules(SportsActivityVoCollection voSportColl)
{
    if(voSportColl.equals(null))
        return null;
    for(SportsActivityVo voSportsAct: voSportColl)
    {
        if(voSportsAct.getSelect() == null && voSportsAct.getComments() != null && !voSportsAct.getComments().equals(""))
            return new String[]{"Select is mandatory if Comments field is populated"};
    }
    return null;
}
项目:openmaxims-linux    文件:Logic.java   
private String[] validateUIRules(SportsActivityVoCollection voSportColl)
{
    if(voSportColl.equals(null))
        return null;
    for(SportsActivityVo voSportsAct: voSportColl)
    {
        if(voSportsAct.getSelect() == null && voSportsAct.getComments() != null && !voSportsAct.getComments().equals(""))
            return new String[]{"Select is mandatory if Comments field is populated"};
    }
    return null;
}