Assume a Model M containing one Statement S composed of s,p,o.

the expected state is
M.contains(S) = T
S.getModel() = M
s.getModel() = M
p.getModel() = M
o.getModel() = M

assume M.remove(S) is called.
what is the expected state?
M.contains(S) = F
S.getModel()= ?
s.getModel() = ?
p.getModel() = ?
o.getModel() = ?


Assume a Model M containing 2 Statements S1 comprising s1,p,o1 and S2
comprising s2, p, o2

the expected state is
M.contains(S1) = T
M.contains(S2) = T
S1.getModel() = M
S2.getModel() = M
s1.getModel() = M
p.getModel() = M
o1.getModel() = M
s2.getModel() = M
o2.getModel() = M

assume M.remove(S1) is called.
what is the expected state?
M.contains(S1) = F
M.contains(S2) = T
S1.getModel()= ?
S2.getModel()= ?
s1.getModel() = ?
p.getModel() = M
o1.getModel() = ?
s2.getModel() = M
o2.getModel() = M

Finally,  Is there any difference between calling M.remove(S1) and
M.remove( s1, p, o1)?

Claude


-- 
I like: Like Like - The likeliest place on the web<http://like-like.xenei.com>
LinkedIn: http://www.linkedin.com/in/claudewarren

Reply via email to