Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the concept or an OrderedList in Kalliope.OO #33

Open
3 tasks done
lxatstariongroup opened this issue Feb 20, 2023 · 0 comments
Open
3 tasks done

Implement the concept or an OrderedList in Kalliope.OO #33

lxatstariongroup opened this issue Feb 20, 2023 · 0 comments

Comments

@lxatstariongroup
Copy link
Contributor

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of the Kalliope
  • I have searched open and closed issues to ensure it has not already been reported

Description

Implement the concept or an OrderedList in Kalliope.OO.
This is convention based and in the end multiple conventions could lead to the decision to make sure a List is an OrderedList.
Implement a property that is not a boolean (like isOrdered in UML), but have an indication (enumeration) that defines the concept found in the ORM model. It is then only a suggestion that this could be an ordered list.
Different projects / ORM models can then choose if they want these concepts to lead to an OrderedList or not.

  • Convention (for PASaaS): if a -to-many reference is a Ternary FactType having an extra ValueType referenced whose name starts with "Ordinal****", The List side of the relationship will be a Generic OrderList having the generic type that is the DataType of the "Ordinal*****" ValueType. The IProperty that is the result of this convention will contain the (enumeration) value "OrderType.IsFacttypeBasedOrdered". All other lists will have (OrderType enumeration default) a value of "OrderType.None".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant