public static ID generateResourceId(
            String feedId,
            MonitoredEndpoint<? extends AbstractEndpointConfiguration> endpoint,
            String idPart) {
        ID id = new ID(String.format("%s~%s~%s", feedId, endpoint.getName(), idPart));
        return id;
    }
public static ID generateResourceId ( String feedId , MonitoredEndpoint < ? extends AbstractEndpointConfiguration > endpoint , String idPart ) { ID id = new ID ( String . format ( "%s~%s~%s" , feedId , endpoint . getName ( ) , idPart ) ) ; return id ; }
Generates an ID for a resource.

@param feedId the ID of the feed that owns the resource whose ID is to be generated
@param endpoint the endpoint where the resource is found
@param idPart a unique string that identifies the resource within the managed server

@return the resource ID