is it possible to override multiplicities derived from BaseObject in derived objects ? In this case, I want to make the version property of CapabilityVersion mandatory as opposed to being "optional" in BaseObject.
But adding a "version" property to CapabilityVersion doesn't do the job.
any idea ?
This topic has been locked.
1 reply Latest Post - 2012-12-17T13:38:35Z by DavidSeager
Pinned topic Overriding multiplicities
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-12-17T13:38:35Z at 2012-12-17T13:38:35Z by DavidSeager
DavidSeager 110000C5XS59 PostsACCEPTED ANSWER
Re: Overriding multiplicities2012-12-17T13:38:35Z in response to NickLaquaProperties on the BaseObject are not strictly business model properties, and as such cannot be overridden.
If you want to make it mandatory, I recommend writing a Governance Policy Validator policy/rule to enforce that it must be set, and you can also enforce it should follow a Regular Expression.
You'd want a NotNullConstraint or ValueConstraint for the version property.
Something like this: