-
Notifications
You must be signed in to change notification settings - Fork 15
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
add dcterms:title and dcterms:description to the ResourceShape class #198
Comments
@jadelkhoury @jamsden ! |
These properties aren't inherited somehow? |
Nop! Check the code above. The Shape class inherits from AbstractResource, and that doesn't have such properties either. |
Could it be that dcterms:title and dcterms:description were not actually part of the Shape definition before? Could it be a recent addition? |
Correction: The Shape class already contains the Title property. It is however missing the name & Description properties. |
OSLC Resource Shapes are described using dcterms:title and dcterms:description. For example, see ChangeNoticeShape under https://docs.oasis-open-projects.org/oslc-op/cm/v3.0/os/change-mgt-shapes.ttl
But these 2 properties are not exposed in the java model for shapes.
https://github.com/eclipse/lyo/blob/master/core/oslc4j-core/src/main/java/org/eclipse/lyo/oslc4j/core/model/ResourceShape.java
Add these 2 properties to the model.
The text was updated successfully, but these errors were encountered: