org.dllearner.core.owl
Class CardinalityRestriction
java.lang.Object
org.dllearner.core.owl.Description
org.dllearner.core.owl.Restriction
org.dllearner.core.owl.CardinalityRestriction
- All Implemented Interfaces:
- Serializable, Cloneable, KBElement, PropertyRange
- Direct Known Subclasses:
- DatatypeCardinalityRestriction, ObjectCardinalityRestriction
public abstract class CardinalityRestriction
- extends Restriction
- Author:
- Jens Lehmann
- See Also:
- Serialized Form
| Methods inherited from class org.dllearner.core.owl.Description |
accept, addChild, addChild, clone, getArity, getChild, getChildren, getDepth, getNumberOfNodes, getParent, getSubtree, isRoot, removeChild, removeChild, replaceChild, setParent, toKBSyntaxString, toManchesterSyntaxString, toString |
CardinalityRestriction
public CardinalityRestriction(PropertyExpression propertyExpression,
PropertyRange propertyRange,
int cardinality)
getCardinality
public int getCardinality()
- Returns:
- the cardinality
getPropertyRange
public PropertyRange getPropertyRange()
- Returns:
- the propertyRange
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann