You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Punith DG (JIRA)" <ji...@apache.org> on 2016/07/25 10:11:20 UTC

[jira] [Comment Edited] (OLINGO-983) Not able to access property annotations

    [ https://issues.apache.org/jira/browse/OLINGO-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15391404#comment-15391404 ] 

Punith DG edited comment on OLINGO-983 at 7/25/16 10:10 AM:
------------------------------------------------------------

I pinged the url - http://services.odata.org/V4/%28S%28ejvhxps3mcxirdp43lusmkc3%29%29/TripPinServiceRW/$metadata
which returns CSDL metadata. But when I call Edm.getTerm() method I get null value.

Please verify this from your end.

Thanks,
Punith


was (Author: punith619):
I pinged the url - http://services.odata.org/V4/%28S%28ejvhxps3mcxirdp43lusmkc3%29%29/TripPinServiceRW/$metadata
which returns CSDL metadata. Bute when I call getTerm() method from Edm object I get null value.

Please verify this from your end.

Thanks,
Punith

> Not able to access property annotations
> ---------------------------------------
>
>                 Key: OLINGO-983
>                 URL: https://issues.apache.org/jira/browse/OLINGO-983
>             Project: Olingo
>          Issue Type: Improvement
>          Components: odata4-commons
>    Affects Versions: (Java) V4 4.2.0
>            Reporter: Punith DG
>              Labels: newbie
>         Attachments: EdmAnnotationImpl.java
>
>
> Not able to consume CsdlAnnotation data from "org.apache.olingo.commons.core.edm.EdmAnnotationImpl" class.
> There is no API that returns CsdlAnnotation data which contains annotations details like Permissions, Description, Immutatable, etc.
> This is much required to read the annotation information which describes much about the field behavior like creatable or just readable field or immutable.
> Could we have a method like getAnnotation() which returns the "CsdlAnnotation" data.
> Please point me if there is any other way to do so :) That will be more helpful.
> Thanks & Regards,
> Punith DG



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)