Fetch existing asset types

To get an asset type object from the repository, use RAMSession.getAllAssetTypes() or 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();

Feedback