public InvAccess getAccess ( thredds . catalog . ServiceType type ) { for ( InvAccess a : getAccess ( ) ) { InvService s = a . getService ( ) ; if ( s . getServiceType ( ) == type ) return a ; } return null ; }
Get access element of the specified service type for this dataset . If more than one get the first one .