アセットを新規バージョンで置き換える場合には、RAMSession.replaceAssetNewVersion(Asset, String version) を使用できます。 これは、渡されたその同じオブジェクトを、バージョンを新しい値に設定して戻します。 GUID はそのまま変わりません。 このアセットがコミットされると、このアセットのみがサーバー上に存在することになります。
// Create a new asset to submit to the server
RAMAsset newAsset = session.replaceAssetNewVersion(newAsset, "2.0.0.1");
// Set asset metadata
newAsset.setName("New Asset");
newAsset.setCommunity(session.getCommunity("Rational Asset Manager Development"));
newAsset.setAssetType(session.getAssetType("Documentation"));
newAsset.setShortDescription("Sample upload asset");
session.put(newAsset, new NullProgressMonitor());