기존 자산 유형 페치

다음을 참조하십시오.

저장소에서 자산 유형 오브젝트를 가져오려면 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();

피드백