Package org.onebusaway.siri.OneBusAwayAffectsStructure

Examples of org.onebusaway.siri.OneBusAwayAffectsStructure.Applications


    if (extension != null && extension.getAny() != null) {
      Object ext = extension.getAny();
      if (ext instanceof OneBusAwayAffects) {
        OneBusAwayAffects obaAffects = (OneBusAwayAffects) ext;

        Applications applications = obaAffects.getApplications();
        if (applications != null
            && !CollectionsLibrary.isEmpty(applications.getAffectedApplication())) {

          List<AffectedApplicationStructure> apps = applications.getAffectedApplication();

          for (AffectedApplicationStructure sApp : apps) {
            Affects.Builder affects = Affects.newBuilder();
            affects.setApplicationId(sApp.getApiKey());
            serviceAlert.addAffects(affects);
View Full Code Here

TOP

Related Classes of org.onebusaway.siri.OneBusAwayAffectsStructure.Applications

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.