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

项目:AvoinApotti    文件:Logic.java   
private boolean locationExists(TemplateLocationShortVoCollection templateLocations, LocSiteShortVo location)
{
    if(templateLocations == null || location == null)
        return false;

    for(int x = 0; x < templateLocations.size(); x++)
    {
        TemplateLocationShortVo item = templateLocations.get(x);
        if(item != null && item.getLocationIsNotNull() && item.getLocation().equals(location))
            return true;
    }

    return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean locationExists(TemplateLocationShortVoCollection templateLocations, LocSiteShortVo location)
{
    if(templateLocations == null || location == null)
        return false;

    for(int x = 0; x < templateLocations.size(); x++)
    {
        TemplateLocationShortVo item = templateLocations.get(x);
        if(item != null && item.getLocationIsNotNull() && item.getLocation().equals(location))
            return true;
    }

    return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean locationExists(TemplateLocationShortVoCollection templateLocations, LocSiteShortVo location)
{
    if(templateLocations == null || location == null)
        return false;

    for(int x = 0; x < templateLocations.size(); x++)
    {
        TemplateLocationShortVo item = templateLocations.get(x);
        if(item != null && item.getLocationIsNotNull() && item.getLocation().equals(location))
            return true;
    }

    return false;
}
项目:openmaxims-linux    文件:Logic.java   
private boolean locationExists(TemplateLocationShortVoCollection templateLocations, LocSiteShortVo location)
{
    if(templateLocations == null || location == null)
        return false;

    for(int x = 0; x < templateLocations.size(); x++)
    {
        TemplateLocationShortVo item = templateLocations.get(x);
        if(item != null && item.getLocationIsNotNull() && item.getLocation().equals(location))
            return true;
    }

    return false;
}