Domain Model Update Object
Domain model structure for the ordering microservice in eshoponcontainers.
Domain model update object. In the previous example restaurant order and customer would all be domain objects. The update from database wizard does the following. You should not create or update orderitems objects independently or directly.
The sap one domain model the lingua franca of the integrated intelligent suite has been released in its december 2020 manifestation it s available in the master data replication via sap cloud platform master data integration service and supports the end to end business processes of the intelligent suite namely. Implement validations in the domain model layer. If an object has been added to the database or was not included in the previous model you can choose to add the object to the model.
A value object is an object whose identity doesn t matter. There are multiple ways to implement validations such as verifying data and raising exceptions if the validation fails. Examples of concepts that would make sense as value objects rather than domain objects are phone number values or money values.
Additionally the domain model layer includes the repository contracts interfaces that are the infrastructure requirements of your domain model. The aggregateroot class must keep control. The relational part of the domain model is updated with the newly added object.
Not every object in a system is a domain object. Any object in my object model that also exist as a concept in my domain model i would call a domain object.