jlibs
jlibs copied to clipboard
add support for Relation start/finish accepting parent's temp data
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