uk.ac.soton.itinnovation.grid.client.registry.ui.wizard.rdm
Interface RegistryDomainModel

All Known Implementing Classes:
RegistryDomainModelJenaImpl, RegistryDomainModelSupport

public interface RegistryDomainModel


Method Summary
 boolean containsConcept(String concept)
          Checks if a concept exists in the domain model.
 boolean containsRelationship(String fromConcept, String relationship, String toConcept)
           
 Set<String> getConcepts()
          Get all concepts of the domain model.
 Set<String> getHierarchyRootConcepts()
          Get all root concepts that represent the uppermost nodes of the concept hierarchy.
 Set<Relationship> getIncomingRelationships(String concept)
           
 String getInverseRelationship(String relationship)
          Get the inverse relationship of a relationship (owl:inverseOf).
 Set<Relationship> getOutgoingRelationships(String concept)
           
 List<Relationship> getRelationships()
          Get all relationships defined between uppermost concepts.
 Set<String> getRelationships(String fromConcept, String toConcept)
           
 List<String> getSubConcepts(String concept, boolean direct)
          Get the (direct) sub concepts (is-a) of a concept.
 List<String> getSuperConcepts(String concept, boolean direct)
          Get the (direct) super concepts (is-a) of a concept.
 String getXmlRepresentation()
          Get a xml string representation of the registry domain model.
 boolean hasInverseRelationship(String relationship)
           
 boolean isSubConceptOf(String subconcept, String superconcept)
           
 

Method Detail

containsConcept

boolean containsConcept(String concept)
Checks if a concept exists in the domain model.

Parameters:
concept -

getConcepts

Set<String> getConcepts()
Get all concepts of the domain model.


getHierarchyRootConcepts

Set<String> getHierarchyRootConcepts()
Get all root concepts that represent the uppermost nodes of the concept hierarchy.


getSuperConcepts

List<String> getSuperConcepts(String concept,
                              boolean direct)
Get the (direct) super concepts (is-a) of a concept.

Parameters:
concept -
direct - if true, only the direct super concepts
Returns:
super concepts

getSubConcepts

List<String> getSubConcepts(String concept,
                            boolean direct)
Get the (direct) sub concepts (is-a) of a concept.

Parameters:
concept -
direct - if true, only the direct sub concepts
Returns:
sub concepts

isSubConceptOf

boolean isSubConceptOf(String subconcept,
                       String superconcept)

getInverseRelationship

String getInverseRelationship(String relationship)
Get the inverse relationship of a relationship (owl:inverseOf).

Parameters:
relationship -

hasInverseRelationship

boolean hasInverseRelationship(String relationship)

containsRelationship

boolean containsRelationship(String fromConcept,
                             String relationship,
                             String toConcept)

getRelationships

Set<String> getRelationships(String fromConcept,
                             String toConcept)

getOutgoingRelationships

Set<Relationship> getOutgoingRelationships(String concept)

getIncomingRelationships

Set<Relationship> getIncomingRelationships(String concept)

getRelationships

List<Relationship> getRelationships()
Get all relationships defined between uppermost concepts.


getXmlRepresentation

String getXmlRepresentation()
Get a xml string representation of the registry domain model.

Returns:
xml representation


Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.