카테고리 스키마에서 카테고리 가져오기

다음을 참조하십시오.

RAMCategorySchema.getCategories()RAMCategorySchema.getCategory(String categoryName) 메소드를 사용하여 카테고리 스키마 내에서 모든 카테고리를 페치하십시오. RAMAsset.getCategorySchemas() 또는 RAMAsset.getCategorySchema(String schemaName)를 통해 이 스키마를 페치한 경우 이 스키마는 자산에 대해 서브카테고리가 설정된 카테고리만 포함합니다.

                //Get all Categories in a Category Schema
                RAMCategory[] categories = (RAMCategory[])automobilesSchema.getCategories();
                
                //Get a Category by name
                RAMCategory modelCategory = (RAMCategory)automobilesSchema.getCategory("Model");

피드백