アセット・タイプの新規作成

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

アセット・タイプを新規作成するには、RAMSession.createAssetType(String) を使用します。 リポジトリー管理者のみが、グローバルなアセット・タイプを作成できます。

                //Create new asset type
                RAMAssetType assetType = session.createAssetType("New Asset Type");
                assetType.setDescription("Description of my asset type");
                
                session.put(assetType, new NullProgressMonitor());

フィードバック