使用 RAMCategorySchema.getCategories() 和 RAMCategorySchema.getCategory(String categoryName) 方法来访存类别模式中的所有类别。
//Get all Categories in a Category Schema
RAMCategory[] categories = (RAMCategory[])automobilesSchema.getCategories();
//Get a Category by name
RAMCategory modelCategory = (RAMCategory)automobilesSchema.getCategory("Model");