homepage › Forums › BridgePoint/xtUML Usage and Training › Selecting a subtype instance in OAL › Reply To: Selecting a subtype instance in OAL
December 13, 2017 at 9:39 pm
#6016
Lee Riemenschneider
Participant
select any [petType instance name] of [petType Keyletters] where selected.id == [Animal handle].id;
[petType instance name].stroke();
This is different than the scenario where you want to stroke all the animals without selecting instances of each subtype.
Examples aside, I know this discussion has cropped up before. It’d be nice to have polymorphic operations.