Assume a Model M containing one Statement S composed of s,p,o. Assume M has a listener L Assume a Statement S composed of s,p,o that is of Model M but not in Model M.
the expected state is M.contains(S) = F S.getModel() = M s.getModel() = M p.getModel() = M o.getModel() = M assume S2 = S.changeLiteralObject( o2 ); is the expected state M.contains(S) = F M.contains(S2)=F S.getModel()= M S2.getModel()=M s.getModel() = M p.getModel() = M o.getModel() = M o2.getModel() = M L has no notifications Now assume the same initial state except that S is in M so that the expected state is M.contains(S) = T S.getModel() = M s.getModel() = M p.getModel() = M o.getModel() = M assume S2 = S.changeLiteralObject( o2 ); is the expected state M.contains(S) = F M.contains(S2)=T S.getModel()= M S2.getModel()=M s.getModel() = M p.getModel() = M o.getModel() = M o2.getModel() = M L has been notified of "remove" S and add S2 Is that correct? -- I like: Like Like - The likeliest place on the web<http://like-like.xenei.com> LinkedIn: http://www.linkedin.com/in/claudewarren