de.unima.alcomox.ontology
Class EntityFactory
java.lang.Object
de.unima.alcomox.ontology.EntityFactory
public class EntityFactory
- extends java.lang.Object
Method Summary |
static Entity |
createConceptEntity(org.semanticweb.owlapi.model.OWLClass concept)
|
static Entity |
createDataPropertyEntity(org.semanticweb.owlapi.model.OWLDataProperty property,
org.semanticweb.owlapi.model.OWLClass domain)
|
static Entity |
createObjectPropertyEntity(org.semanticweb.owlapi.model.OWLObjectProperty property,
org.semanticweb.owlapi.model.OWLClass domain)
Constructs an entity corresponding to an object property with only a domain extension. |
static Entity |
createObjectPropertyEntity(org.semanticweb.owlapi.model.OWLObjectProperty property,
org.semanticweb.owlapi.model.OWLClass domain,
org.semanticweb.owlapi.model.OWLClass range)
Constructs an entity corresponding to an object property with both domain and range class
extension. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityFactory
public EntityFactory()
createConceptEntity
public static Entity createConceptEntity(org.semanticweb.owlapi.model.OWLClass concept)
createObjectPropertyEntity
public static Entity createObjectPropertyEntity(org.semanticweb.owlapi.model.OWLObjectProperty property,
org.semanticweb.owlapi.model.OWLClass domain,
org.semanticweb.owlapi.model.OWLClass range)
- Constructs an entity corresponding to an object property with both domain and range class
extension.
- Parameters:
property
- The corresponding property.domain
- Domain class extension of the property.range
- Range class extension of the property
- Returns:
- The constructed entity.
createObjectPropertyEntity
public static Entity createObjectPropertyEntity(org.semanticweb.owlapi.model.OWLObjectProperty property,
org.semanticweb.owlapi.model.OWLClass domain)
- Constructs an entity corresponding to an object property with only a domain extension.
This is used when range extension is turned off.
- Parameters:
property
- The corresponding property.domain
- Domain class extension of the property.range
- Range class extension of the property
- Returns:
- The constructed entity.
createDataPropertyEntity
public static Entity createDataPropertyEntity(org.semanticweb.owlapi.model.OWLDataProperty property,
org.semanticweb.owlapi.model.OWLClass domain)