Zurück Create a new entity in your domain world
This might occasionally also apply to updating entities.
Step by step
- If you have any mappings (for example in hibernate), these should be updated
- If your entity has relations to others from your domain world, annotations should be given and checked for correctness.
- If there is a database representation of your entities, you might have to update this manually and also consider the effects of your adding the new entity.
- Can your entity be non-existent? What happens (or needs to happen) if your entity is deleted?
- Has your entity the correct name regarding best practices, technical and domain considerations?
- Do the fields of your entity have the correct default values?