Exemplo n.º 1
0
 /**
  * Get access element of the specified service type for this dataset. If more than one, get the
  * first one.
  *
  * @param type find this ServiceType
  * @return InvAccess or null if there is not one.
  */
 public InvAccess getAccess(thredds.catalog.ServiceType type) {
   for (InvAccess a : getAccess()) {
     InvService s = a.getService();
     if (s.getServiceType() == type) return a;
   }
   return null;
 }