
reference.language.category_copying.html Maven / Gradle / Ivy
Categories
Copying objects i.e. creating objects from existing ones
In Prompto, attributes are semantic types i.e. they have the same meaning across the entire solution.
This enables powerful features such as automatically copying attribute values between independent
objects.
In the below example, we:
- define a Person category
- define an Employee category
- create a Person: john
- create an Employee: new_joiner, copied from john
Populating additional attribute values when copying objects
On top of copying values, you may need to populate additional attribute values:
Overwriting attribute values when copying objects
Eventually, you might need to overwrite existing values:
© 2015 - 2025 Weber Informatics LLC | Privacy Policy