Open andrew2net opened 3 years ago
I'm certain that LutaML needs to support multitype attributes. It isn't such a rare case when attributes could have values of different types. For example, PlantUML allows following definfition with multitype bibLocality & bibSourceLocality:
class DocumentRelation { +type: DocumentRelationType +description: FormattedString[0..*] +bibitem: BibliographicItem +bibLocality: BibItemLocality[0..*] | LocalityStack[0..*] +bibSourceLocality: BibItemLocality[0..*] | LocalityStack[0..*] }
Agree with @andrew2net
I'm certain that LutaML needs to support multitype attributes. It isn't such a rare case when attributes could have values of different types. For example, PlantUML allows following definfition with multitype bibLocality & bibSourceLocality: