MBSE Integration Services for Integrating Modeling Tools
getClassificationMapForToolType()
This API retrieves the classes for a given tool type, including classes obtained through inheritance.
The API iterates through all classification mappings and populates a list of classes corresponding to the specified tool type. It checks for inheritance and appends any parent mappings to the list. Once the list is fully populated, the function returns it.
public List<ClassType> getClassificationMapForToolType(String toolType, String applicationName) throws ServiceException, BHMException, NotLoadedException, BHMCommonException, Exception
Input Parameters
- toolType — The tool type for which classes are to be fetched.
- applicationName — The application name to identify the integrating tool, such as MATLAB, ECAD, or Amesim. This value is used to identify the mapping file of the tool.
Returns
A list of ClassType objects containing the relevant classes for the given toolType.
Exceptions
- EXCEPTION_OBJECT_MAPPING_NOT_FOUND — Thrown if object mapping is not found for some tool type.
- EXCEPTION_CIRCULAR_INHERITANCE — Thrown if circular inheritance is found.
Example
Consider the following object mappings and classification mappings. In this example, the object mapping of EDABOMComp extends PCAComp.
<ObjectMapping type="PCA" behaviorType="MIXED" tctype="EDACCABase" extends="Design">
<ObjectMapping type="PCAComp" behaviorType="MIXED" tctype="Item">
<ObjectMapping type="EDABOMComp" behaviorType="MIXED" tctype="EDAComPart" extends="PCAComp">
<Class toolClassId="EDABOMComp" tcClassId="RNC363" classifyAnchor="false">
<Class toolClassId="EDABOMComp" toolClassifybyAttribute="Partition" toolClassifybyAttributeValue="top/HEATSINK" tcClassId="RNC364" classifyAnchor="false">
<Class toolClassId="PCAComp" toolClassifybyAttribute="Partition" toolClassifybyAttributeValue="new/HEATSINK" tcClassId="RNC364" classifyAnchor="false">
<Class toolClassId="EDABOMComp" toolClassifybyAttribute="Partition" toolClassifybyAttributeValue="top/HEATER" tcClassId="RNC366" classifyAnchor="false">
<Class toolClassId="EDABOMComp1" toolClassifybyAttribute="Partition" toolClassifybyAttributeValue="new/HEATER" tcClassId="RNC366" classifyAnchor="false">
For the given toolType, the function will return the following classes:
<Class toolClassId="EDABOMComp" tcClassId="RNC363" classifyAnchor="false">
<Class toolClassId="EDABOMComp" toolClassifybyAttribute="Partition" toolClassifybyAttributeValue="top/HEATSINK" tcClassId="RNC364" classifyAnchor="false">
<Class toolClassId="PCAComp" toolClassifybyAttribute="Partition" toolClassifybyAttributeValue="new/HEATSINK" tcClassId="RNC364" classifyAnchor="false">
<Class toolClassId="EDABOMComp" toolClassifybyAttribute="Partition" toolClassifybyAttributeValue="top/HEATER" tcClassId="RNC366" classifyAnchor="false">
Source: https://docs.sw.siemens.com/en-US/doc/282219420/PL20251212545240207.xid1913857/xid2307295 · retrieved Fri Jul 10 2026 00:00:00 GMT+0000 (Coordinated Universal Time)