既存のアセット・タイプの取り出し

以下を参照してください。

リポジトリーからアセット・タイプ・オブジェクトを取得するには、RAMSession.getAllAssetTypes() または RAMSession.getAssetType(String) を使用します。

                //Fetch Asset Type By Name
                RAMAssetType assetType = session.getAssetType("My Asset Type");

                //Fetch Asset Type By URI
                assetType = session.getAssetTypeByURI(
                     "http://ramsrvr.example.com:8080/com.ibm.ram.repository.web/classif/assetTypesSchema.xmi#mynewassettype10");
        
                //Fetch All Asset Types
                RAMAssetType[] assetTypes = session.getAllAssetTypes();

フィードバック