The type of data
Extensions on the model.
Extensions on the instances produced by this model.
Readonly
createCreates an instance of this model with the data that is provided.
The data that makes up an instance of the model.
NOTE: A tradeoff was made between supporting the DataDescription vs a ToObjectReturn
Readonly
getGets the Api Information on the model.
This will take what is manually provided via the ModelDefinition and autopopulate everything that is possible with default values, or values that make sense based on the ApiInformation provided.
Readonly
getGets the metadata that describes the model.
Readonly
getThis is a unique name combining namespace + pluralName. This can be used as a key to uniquely identify this model across an entire system. Example: pluralName=MyModels namespace=@my-package/namespace
Return: '@my-package/namespace-my-models'
Readonly
getGets the primary key of instance data. This helpful method shortcuts having to figure out the primaryKey's name and then reaching inside the instance data to get the primary key.
The underlying instance data that has the primary key.
Represents a Model. A Model creates instances (ModelInstance) as well as describes generally about the data. (ModelDefinition).