Para incluir categorias em um recurso utilize RAMAsset.categorize(SubCategory) ou RAMAsset.categorize(Category,String).
//Categorize using the category schema fetched from the session
CategorySchema automobilesSchema =
session.getCategorySchema("Automobiles");
Category priceCategory = automobilesSchema.getCategory("Price");
newAsset.categorize(priceCategory, "25000");
//Categorize using a category fetched through the asset
automobilesSchema = newAsset.getAvailableCategorySchema("Automobiles");
Category colorCategory = automobilesSchema.getCategory("Color");
newAsset.categorize(colorCategory, "Red");
//Categorize using sub category objects
Category modelCategory = automobilesSchema.getCategory("Model");
SubCategory domestic = modelCategory.getSubCategory("Domestic");
SubCategory foreign = modelCategory.getSubCategory("Foreign");
SubCategory honda = foreign.getSubCategory("Honda");
SubCategory camry = foreign.getSubCategory("Toyota/Camry");
newAsset.categorize(domestic);
newAsset.categorize(honda);
newAsset.categorize(camry);
session.put(newAsset, new NullProgressMonitor());