取消对资产的分类

要除去资产中的类别,请使用 RAMAsset.uncategorize(SubCategory)RAMAsset.uncategorize(SubCategory, String)

                //Uncategorize using the category schema fetched from the session
                newAsset.uncategorize(priceCategory, "25000");
                
                //Uncategorize using a category fetched through the asset
                newAsset.uncategorize(colorCategory, "Red");
                
                //Uncategorize using sub category objects
                newAsset.uncategorize(domestic);
                newAsset.uncategorize(honda);
                newAsset.uncategorize(camry);
                
                session.put(newAsset, new NullProgressMonitor());

反馈