Add more flexibility in the mapping
------------------------------------
Key: GRFT-54
URL: http://issues.apache.org/jira/browse/GRFT-54
Project: Graffito
Type: Improvement
Reporter: Christophe Lombart
Sometime, it should be interesting to map to a different jcr node structure.
Here is an example, for a class "File", we can have :
public class File
{
private String mimeType;
private String encoding;
private InputStream data;
private Calendar lastModified;
// Add getters/setters
}
and in terms of JCR structure, we can have :
nt:file
jcr:content
jcr:mimeType
jcr:encoding
jcr:data
jcr:lastModified
So, the jcr:content node is an extra node to specify in the mapping file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira