Changes
In our example, "Bob", "Denise", and "Hugo" are all options. But let's say, as an arbitrary example, for our target object "InstanceWithDynSL", only "Denise" and "Bob" should be selectable values of the property "LNK_WITH_DYN_SL".
In any case, we require somebody to blame for this decision. After all, "Hugo" could feel left out and send a complaint to management, so we better have a scape goatscapegoat.
The goal of this section is to create something so we can justify why "Denise" and "Bob" can be possible values, but "Hugo" isn't.
=== Basic definition ===
* First, we need a new meta class "MC_DEPARTMENT".
* Add a meta property "MP_REQUIREMENT" to the scape goat scapegoat class.
* You can use any property type for that, but we'll just stick to "String" for this example.
* Now let's create a specific department with concrete qualification requirements: Create an instance "Department Alpha", because that sounds cool and important.