There are several methods listed in the Model and ModelCon interfaces that return the model for chaining purposes.
I want to test that the model is returned. Assuming the a method call: Model m = // create a model Model m2 = m.f(x) I believe the requirement is for m2 == m to be true A similar requirement is for items created on the model be "of" the model (not necessarily in the model). For example ModelCon.createStatement( Resource, Property, String ) should return a statement such that Model m = // create model Statement s = m.createStatement( Resource, Property, String ) should return a statement such that the statement is not in the model (m.contains(s) == false) but is of the model (s.getModel() == m) The question is should the second test be s.getModel() == m or s.getModel().equals(m)? There is one case getAlt() Model m = // create model; Alt a = m.getAlt( Resource ); where both a.getModel() == m and a.getMode().equals(m) are false. However a.getModel.isIsomorphicWith( m ) is true. I believe that in both cases the correct tests should be m2 == m and x.getModel() == m Comments? Claude -- I like: Like Like - The likeliest place on the web<http://like-like.xenei.com> LinkedIn: http://www.linkedin.com/in/claudewarren
