eclipse / lyo.designer

lyo.designer
Eclipse Public License 2.0
11 stars 10 forks source link

Introduce an optional rdfCollectionRepresentation attribute on ResourceProperties which can be set to rdfList or rdfBag (or n/a) #153

Closed jadelkhoury closed 4 years ago

jadelkhoury commented 4 years ago

Introduce an optional rdfCollectionRepresentation attribute on ResourceProperties which can be set to rdfList or rdfBag (or n/a)

NOTE: This is what I have tested. But I have NOT tested that the actual annotation produces the expected result from JenaModelHelper.

jadelkhoury commented 4 years ago

@berezovskyi Can you safely review this without me sharing Java generated code?

Ignore the commited java files (from EMF). Main logic is in the resourcePropertyServices.mtl file.

jadelkhoury commented 4 years ago

@nilsjor @berezovskyi Please review 2nd commit. I removed support for RDF:Bag. I also renamed "n_a" to "none". It was not easy to re-label the options to something more intuitive. I would rather do this for many other parameters at once.

jadelkhoury commented 4 years ago

@berezovskyi What do you think of this naming? Last offer.

image

berezovskyi commented 4 years ago

Sounds good!