Protégé-OWL 3.4.1

edu.stanford.smi.protegex.owl.swrl.bridge.impl
Class OWLPropertyImpl

java.lang.Object
  extended by edu.stanford.smi.protegex.owl.swrl.bridge.impl.BuiltInArgumentImpl
      extended by edu.stanford.smi.protegex.owl.swrl.bridge.impl.OWLPropertyImpl
All Implemented Interfaces:
Argument, AtomArgument, BuiltInArgument, OWLProperty, PropertyValue, ResultValue, Comparable
Direct Known Subclasses:
OWLDatatypePropertyImpl, OWLObjectPropertyImpl

public abstract class OWLPropertyImpl
extends BuiltInArgumentImpl
implements OWLProperty

Class representing an OWL property


Constructor Summary
OWLPropertyImpl(String propertyURI)
           
OWLPropertyImpl(String propertyURI, String prefixedPropertyName)
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object obj)
           
 Set<String> getDomainClassNames()
           
 Set<String> getEquivalentPropertyNames()
           
 Set<String> getEquivalentPropertySuperPropertyNames()
           
 String getPrefixedPropertyName()
           
 String getPropertyName()
           
 Set<String> getRangeClassNames()
           
 String getRepresentation()
           
 Set<String> getSubPropertyNames()
           
 Set<String> getSuperPropertyNames()
           
 int hashCode()
           
 void setDomainClassNames(Set<String> domainClassNames)
           
 void setEquivalentPropertyNames(Set<String> equivalentPropertyNames)
           
 void setEquivalentPropertySuperPropertyNames(Set<String> equivalentPropertySuperPropertyNames)
           
 void setRangeClassNames(Set<String> rangeClassNames)
           
 void setSubPropertyNames(Set<String> subPropertyNames)
           
 void setSuperPropertyNames(Set<String> superPropertyNames)
           
 String toString()
           
 
Methods inherited from class edu.stanford.smi.protegex.owl.swrl.bridge.impl.BuiltInArgumentImpl
getBuiltInResult, getPrefixedVariableName, getVariableName, isUnbound, isVariable, setBuiltInResult, setUnbound, setVariableName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OWLPropertyImpl

public OWLPropertyImpl(String propertyURI)

OWLPropertyImpl

public OWLPropertyImpl(String propertyURI,
                       String prefixedPropertyName)
Method Detail

setDomainClassNames

public void setDomainClassNames(Set<String> domainClassNames)

setRangeClassNames

public void setRangeClassNames(Set<String> rangeClassNames)

setSuperPropertyNames

public void setSuperPropertyNames(Set<String> superPropertyNames)

setSubPropertyNames

public void setSubPropertyNames(Set<String> subPropertyNames)

setEquivalentPropertyNames

public void setEquivalentPropertyNames(Set<String> equivalentPropertyNames)

setEquivalentPropertySuperPropertyNames

public void setEquivalentPropertySuperPropertyNames(Set<String> equivalentPropertySuperPropertyNames)

getPropertyName

public String getPropertyName()
Specified by:
getPropertyName in interface OWLProperty
Specified by:
getPropertyName in interface PropertyValue

getPrefixedPropertyName

public String getPrefixedPropertyName()
Specified by:
getPrefixedPropertyName in interface OWLProperty
Specified by:
getPrefixedPropertyName in interface PropertyValue

getDomainClassNames

public Set<String> getDomainClassNames()
Specified by:
getDomainClassNames in interface OWLProperty

getRangeClassNames

public Set<String> getRangeClassNames()
Specified by:
getRangeClassNames in interface OWLProperty

getSuperPropertyNames

public Set<String> getSuperPropertyNames()
Specified by:
getSuperPropertyNames in interface OWLProperty

getSubPropertyNames

public Set<String> getSubPropertyNames()
Specified by:
getSubPropertyNames in interface OWLProperty

getEquivalentPropertyNames

public Set<String> getEquivalentPropertyNames()
Specified by:
getEquivalentPropertyNames in interface OWLProperty

getEquivalentPropertySuperPropertyNames

public Set<String> getEquivalentPropertySuperPropertyNames()
Specified by:
getEquivalentPropertySuperPropertyNames in interface OWLProperty

getRepresentation

public String getRepresentation()

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

Protégé-OWL 3.4.1

Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.