edu.stanford.smi.protegex.owl.swrl.bridge
Class PropertyInfo
java.lang.Object
edu.stanford.smi.protegex.owl.swrl.bridge.Info
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.
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)
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
Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.