class Categories {

	public Category getCategoryByName(String name) {
		for (Category category : getCategories()) {
			if (category.getName().equalsIgnoreCase(name.trim())) {
				return category;
			}
		}
		return null;
	}

	public  Categories();
	public  Categories(List<Category> categories);

}