Business Object Type
Creates a new BusinessObjectType with the provided name and attributes (empty by default). The created BusinessObjectType will not have a StateMachine. It must be set using the stateMachine method.
constructor(name: String, stateMachine: StateMachine? = null, attributes: Set<Attribute> = emptySet())
Parameters
name
The name of the BusinessObjectType.
state Machine
The StateMachine defining the behavior of the BusinessObjectType instances (BusinessObjects).
attributes
The user-defined Attributes of the BusinessObjectType, representing its data structure