Introspector (Common API)

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.

Note: Only to be called by framework code. Applications should retrieve instances from BusinessNetworkDefinition

getClassDeclaration ClassDeclaration Returns the class declaration with the given fully qualified name. Throws an error if the class declaration does not exist.
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

Parameters

Name Type Optional Description
modelManager ModelManager false the ModelManager that backs this Introspector

getClassDeclarations

ClassDeclaration[] getClassDeclarations( )

Returns all the class declarations for the business network.

Returns

`` - the array of class declarations

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

Parameters

Name Type Optional Description
fullyQualifiedTypeName String false the fully qualified name of the type