Overview - Common API - Client API - Admin API - Runtime API
Introspector
Provides access to the structure of transactions, assets and participants.
Details
- Module common
See also
Method Summary
Name | Returns | Description |
---|---|---|
constructor | void |
Create the Introspector |
getClassDeclaration | ClassDeclaration |
Returns the class declaration with the given fully qualified name |
getClassDeclarations | ClassDeclaration[] |
Returns all the class declarations for the business network |
Method Details
new Introspector()
Create the Introspector.
Note: Only to be called by framework code. Applications should retrieve instances from BusinessNetworkDefinition
See also
Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
modelManager | ModelManager | Yes | the ModelManager that backs this Introspector |
getClassDeclarations
ClassDeclaration[] getClassDeclarations( )
Returns all the class declarations for the business network.
Returns
ClassDeclaration - the array of class declarations
See also
Parameters
No parameters
getClassDeclaration
ClassDeclaration getClassDeclaration( String fullyqualifiedtypename )
Returns the class declaration with the given fully qualified name. Throws an error if the class declaration does not exist.
Returns
ClassDeclaration - the class declaration
See also
Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
fullyQualifiedTypeName | String | Yes | the fully qualified name of the type |