You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Claude Warren (JIRA)" <ji...@apache.org> on 2016/10/06 21:32:20 UTC

[jira] [Reopened] (JENA-1238) Add methods on Resource class that look for Properties in a specific language

     [ https://issues.apache.org/jira/browse/JENA-1238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claude Warren reopened JENA-1238:
---------------------------------
      Assignee: Claude Warren  (was: Andy Seaborne)

I am reworking the permissions implementations.  Thank you Andy for the first cut, just need to add permissions documentation to the SecuredModel and SecuredResource class.  However I wonder if there should not also be a
Resource.getPropertyResourceValue( Property p, String lang ) method as well.  Just for completeness.

> Add methods on Resource class that look for Properties in a specific language
> -----------------------------------------------------------------------------
>
>                 Key: JENA-1238
>                 URL: https://issues.apache.org/jira/browse/JENA-1238
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: Jena 3.1.0
>            Reporter: Ramiro Pereira de Magalhães
>            Assignee: Claude Warren
>             Fix For: Jena 3.1.1
>
>
> It would be very convenient to have in the {{org.apache.jena.rdf.model.Resource}} interface methods such as:
> {code}
>     public Statement getProperty( Property p, String lang );
>     public Statement getRequiredProperty( Property p, String lang );
> {code}
> They'd work like very much like {{org.apache.jena.rdf.model.ModelCon.listStatements(Resource, Property, String, String)}}.
> This would simplify queries to a Resource's language-specific properties.



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