src/main/java/net/matrix/app/repository/ResourceSelectionSet.java
public Set<ResourceSelection> getSelections(final String catalog, final String name) {
		Set<ResourceSelection> result = new HashSet<>();
		for (ResourceSelection selection : selections) {
			if (selection.getCatalog().equals(catalog) && selection.getName().equals(name)) {
				result.add(selection);
			}
		}
		return result;
	}
public Set<ResourceSelection> getSelections(final String catalog, final String name) {
		Set<ResourceSelection> result = new HashSet<>();
		for (ResourceSelection selection : selections) {
			if (selection.getCatalog().equals(catalog) && selection.getName().equals(name)) {
				result.add(selection);
			}
		}
		return result;
	}
选择某类别的特定名称资源。

@param catalog
类别
@param name
名称
@return 资源选择