jlibs icon indicating copy to clipboard operation
jlibs copied to clipboard

add support for Relation start/finish accepting parent's temp data

Open GoogleCodeExporter opened this issue 11 years ago • 0 comments

add support for Relation start/finish accepting parent's temp data

for example:

public static void relateWithEdge(@Parent.Temp List<Node> nodes){
    List<Node> nodes = (List<Node>)parent.get("", "nodes");
}

i.e we can provide both @Parent.Temp and @Current.Temp in Relation start/finish 
methods
currently @Temp fetches from current context in both relation start/finish and 
binding.finish methods

workaround is accept parent context and fetch yourself:

public static void relateWithEdge(SAXContext parent, ...){
    List<Node> nodes = (List<Node>)parent.get("", "nodes");
}

Original issue reported on code.google.com by [email protected] on 10 Sep 2010 at 4:32

GoogleCodeExporter avatar Mar 14 '15 22:03 GoogleCodeExporter