jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-2061) JSR 283: References and Dereferencing of Property Values
Date Wed, 06 May 2009 16:31:30 GMT

    [ https://issues.apache.org/jira/browse/JCR-2061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706501#action_12706501
] 

angela commented on JCR-2061:
-----------------------------

Addressed dereferencing both in jackrabbit-core and jackrabbit-jcr2spi at revision 772352:
   > Property.getNode()
   > Property.getProperty()
and adjusted the test cases in jackrabbit-jcr-tests accordingly.

TODO
- similar testcases for the new Property types (still missing)
- new reference methods as listed above
- support for weak-refs

> JSR 283: References and Dereferencing of Property Values
> --------------------------------------------------------
>
>                 Key: JCR-2061
>                 URL: https://issues.apache.org/jira/browse/JCR-2061
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>          Components: jackrabbit-core, jackrabbit-jcr2spi, JCR 2.0
>            Reporter: angela
>             Fix For: 2.0.0
>
>
> References
> --------------------------------------------------------------------------------------------------------------------------
> new methods are:
> - Node.getReferences(String name) PropertyIterator 
> - Node.getWeakReferences() PropertyIterator 
> - Node.getWeakReferences(String name) PropertyIterator
> Derferencing
> --------------------------------------------------------------------------------------------------------------------------
> As of JSR 283 the following property types may be dereferenced to a Node:
> - REFERENCE
> - WEAKREFERENCE
> - PATH
> - any type that can be converted to either of the types above
> The new method
> - Property.getProperty() returns the Property pointed to by a PATH value.
> - any type that can be converted to PATH

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message