new Introspector(modelManager)
Create the Introspector.
Note: Only to be called by framework code. Applications should
retrieve instances from BusinessNetworkDefinition
Parameters:
Name | Type | Description |
---|---|---|
modelManager |
ModelManager | the ModelManager that backs this Introspector |
Methods
-
getClassDeclaration(fullyQualifiedTypeName)
-
Returns the class declaration with the given fully qualified name.
Throws an error if the class declaration does not exist.Parameters:
Name Type Description fullyQualifiedTypeName
String the fully qualified name of the type
Throws:
-
if the class declaration does not exist
- Type
- Error
Returns:
the class declaration
- Type
- ClassDeclaration
-
-
getClassDeclarations()
-
Returns all the class declarations for the business network.
Returns:
the array of class declarations
- Type
- Array.<ClassDeclaration>