edu.stanford.smi.protegex.owl.swrl.bridge.impl
Class OWLClassImpl
java.lang.Object
edu.stanford.smi.protegex.owl.swrl.bridge.impl.BuiltInArgumentImpl
edu.stanford.smi.protegex.owl.swrl.bridge.impl.OWLClassImpl
- All Implemented Interfaces:
- Argument, AtomArgument, BuiltInArgument, ClassArgument, ClassDescriptionArgument, OWLClass, OWLDescription, OWLObject, ClassValue, ResultValue, Comparable
public class OWLClassImpl
- extends BuiltInArgumentImpl
- implements OWLClass
Class representing an OWL named class
OWLClassImpl
public OWLClassImpl(String className)
OWLClassImpl
public OWLClassImpl(String className,
String superclassName)
setSuperclassNames
public void setSuperclassNames(Set<String> superclassNames)
setDirectSuperClassNames
public void setDirectSuperClassNames(Set<String> directSuperClassNames)
setDirectSubClassNames
public void setDirectSubClassNames(Set<String> directSubClassNames)
setEquivalentClassNames
public void setEquivalentClassNames(Set<String> equivalentClassNames)
setEquivalentClassSuperclassNames
public void setEquivalentClassSuperclassNames(Set<String> equivalentClassSuperclassNames)
getClassName
public String getClassName()
- Specified by:
getClassName
in interface ClassArgument
- Specified by:
getClassName
in interface OWLClass
- Specified by:
getClassName
in interface ClassValue
getPrefixedClassName
public String getPrefixedClassName()
- Specified by:
getPrefixedClassName
in interface OWLClass
- Specified by:
getPrefixedClassName
in interface ClassValue
getSuperclassNames
public Set<String> getSuperclassNames()
- Specified by:
getSuperclassNames
in interface OWLClass
getDirectSuperClassNames
public Set<String> getDirectSuperClassNames()
- Specified by:
getDirectSuperClassNames
in interface OWLClass
getDirectSubClassNames
public Set<String> getDirectSubClassNames()
- Specified by:
getDirectSubClassNames
in interface OWLClass
getEquivalentClassNames
public Set<String> getEquivalentClassNames()
- Specified by:
getEquivalentClassNames
in interface OWLClass
getEquivalentClassSuperclassNames
public Set<String> getEquivalentClassSuperclassNames()
- Specified by:
getEquivalentClassSuperclassNames
in interface OWLClass
isNamedClass
public boolean isNamedClass()
- Specified by:
isNamedClass
in interface ClassDescriptionArgument
getRepresentation
public String getRepresentation()
- Specified by:
getRepresentation
in interface ClassDescriptionArgument
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class BuiltInArgumentImpl
hashCode
public int hashCode()
- Overrides:
hashCode
in class BuiltInArgumentImpl
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.