Class: Concept

composer-common. Concept


Resource is an instance that has a type. The type of the resource
specifies a set of properites (which themselves have types).



Type information in Composer is used to validate the structure of
Resource instances and for serialization.



Resources are used in Composer to represent Assets, Participants, Transactions and
other domain classes that can be serialized for long-term persistent storage.


new Concept(modelManager, ns, type)

This constructor should not be called directly.


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

Parameters:
Name Type Description
modelManager ModelManager

The ModelManager for this instance

ns string

The namespace this instance.

type string

The type this instance.

Source:
See:

Extends

  • Identifiable

Methods


isConcept()

Determine if this typed is a concept.

Source:
Returns:

True if this typed is a concept,
false if not.

Type
boolean