Protégé-OWL 3.3.1

edu.stanford.smi.protegex.owl.swrl.bridge
Class PropertyInfo

java.lang.Object
  extended by edu.stanford.smi.protegex.owl.swrl.bridge.Info
      extended by edu.stanford.smi.protegex.owl.swrl.bridge.PropertyInfo
All Implemented Interfaces:
Argument, PropertyArgument, PropertyValue, ResultValue, Comparable

public class PropertyInfo
extends Info
implements PropertyArgument, PropertyValue

Info object representing an OWL property.


Constructor Summary
PropertyInfo(OWLProperty property)
           
PropertyInfo(String propertyName)
           
PropertyInfo(String propertyName, IndividualInfo subject, PropertyValueInfo predicate)
           
PropertyInfo(String propertyName, IndividualInfo subject, PropertyValueInfo predicate, Set<String> domainClassNames, Set<String> rangeClassNames, Set<String> superPropertyNames, Set<String> subPropertyNames, Set<String> equivalentPropertyNames)
           
 
Method Summary
static List<PropertyInfo> buildPropertyInfoList(OWLModel owlModel, String propertyName)
           
 int compareTo(Object o)
           
 boolean equals(Object obj)
           
 Set<String> getDomainClassNames()
           
 Set<String> getEquivalentPropertyNames()
           
 PropertyValueInfo getPredicate()
           
 String getPropertyName()
           
 Set<String> getRangeClassNames()
           
 IndividualInfo getSubject()
           
 Set<String> getSubPropertyNames()
           
 Set<String> getSuperPropertyNames()
           
 int hashCode()
           
 boolean hasPredicate()
           
 boolean hasSubject()
           
 String toString()
           
 void write2OWL(OWLModel owlModel)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyInfo

public PropertyInfo(String propertyName,
                    IndividualInfo subject,
                    PropertyValueInfo predicate,
                    Set<String> domainClassNames,
                    Set<String> rangeClassNames,
                    Set<String> superPropertyNames,
                    Set<String> subPropertyNames,
                    Set<String> equivalentPropertyNames)
             throws SWRLRuleEngineBridgeException
Throws:
SWRLRuleEngineBridgeException

PropertyInfo

public PropertyInfo(String propertyName,
                    IndividualInfo subject,
                    PropertyValueInfo predicate)

PropertyInfo

public PropertyInfo(OWLProperty property)

PropertyInfo

public PropertyInfo(String propertyName)
Method Detail

getPropertyName

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

getSubject

public IndividualInfo getSubject()

getPredicate

public PropertyValueInfo getPredicate()

hasSubject

public boolean hasSubject()

hasPredicate

public boolean hasPredicate()

getDomainClassNames

public Set<String> getDomainClassNames()

getRangeClassNames

public Set<String> getRangeClassNames()

getSuperPropertyNames

public Set<String> getSuperPropertyNames()

getSubPropertyNames

public Set<String> getSubPropertyNames()

getEquivalentPropertyNames

public Set<String> getEquivalentPropertyNames()

write2OWL

public void write2OWL(OWLModel owlModel)
               throws SWRLRuleEngineBridgeException
Throws:
SWRLRuleEngineBridgeException

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

buildPropertyInfoList

public static List<PropertyInfo> buildPropertyInfoList(OWLModel owlModel,
                                                       String propertyName)
                                                throws SWRLRuleEngineBridgeException
Throws:
SWRLRuleEngineBridgeException

Protégé-OWL 3.3.1

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