new ModelBuilder()
- Source:
Members
modelDescriptors :Object.<string, Object>
Type:
- Object.<string, Object>
- Source:
models :Object.<string, metamodel.ManagedType>
Type:
- Object.<string, metamodel.ManagedType>
- Source:
Methods
buildAttribute(field) → {metamodel.Attribute}
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
field |
Object | The field metadata |
||||||||||||||||
Properties
|
- Source:
Returns:
- Type
- metamodel.Attribute
buildAttributes(model) → {void}
Parameters:
Name | Type | Description |
---|---|---|
model |
metamodel.EntityType |
- Source:
Returns:
- Type
- void
buildModel(ref) → {metamodel.ManagedType}
Parameters:
Name | Type | Description |
---|---|---|
ref |
string |
- Source:
Returns:
buildModels(modelDescriptors) → {Object.<string, metamodel.ManagedType>}
Parameters:
Name | Type | Description |
---|---|---|
modelDescriptors |
Array.<Object> |
- Source:
Returns:
- Type
- Object.<string, metamodel.ManagedType>
getModel(ref) → {metamodel.ManagedType}
Parameters:
Name | Type | Description |
---|---|---|
ref |
string |
- Source: