[
Lists Home |
Date Index |
Thread Index
]
Roger L. Costello wrote:
> Here is a summary of the API:
>
> public String getProperties(String classURI) {…}
> public String getEquivalentProperties(String propertyURI) {…}
> public String getSuperClasses(String classURI) {…}
> public String getPropertyTypes(String propertyURI) {…}
> public String getClassSpecificPropertyDefinitions(String classURI,
> String propertyURI) {…}
> public String getDomain(String propertyURI) {…}
> public String getRange(String propertyURI) {…}
> public String getInstances(String classURI) {…}
> public String getEquivalentClasses(String classURI) {…}
If you added
String get(Filter f, String uri);
and made each of the calls above typesafe optimizations of the
generic get, your API will be extensible without subclassing. You'll
also have the basis for a query API later on.
Bill de hÓra
--
Propylon
www.propylon.com
|