SES-1728 : Model.getNamespaces should return collection of Namespace objects
Peter Ansell
Branch: ansell/sesame:SES-1728
Branch: openrdf/sesame:master
Merged
Merged pull request
Merged in ansell/sesame/SES-1728 (pull request #63)
Merged in ansell/sesame/SES-1728 (pull request #63)
Converts Model to set and get Namespace objects, in addition to being able to set(String, String) as it can currently.
This pull request also adds Comparable<Namespace> to the Namespace contract, and overrides equals and hashCode for NamespaceImpl.
Tests for the new Model functionality have been added and both the LinkedHashModel and TreeModel pass the abstract tests.