uk.ac.manchester.cs.owl
Class OWLRestrictionImpl<P extends OWLPropertyExpression>
java.lang.Object
  
uk.ac.manchester.cs.owl.OWLObjectImpl
      
uk.ac.manchester.cs.owl.OWLAnonymousDescriptionImpl
          
uk.ac.manchester.cs.owl.OWLRestrictionImpl<P>
- All Implemented Interfaces: 
 - java.lang.Comparable<OWLObject>, OWLAnonymousDescription, OWLDescription, OWLObject, OWLPropertyRange, OWLRestriction<P>
 
- Direct Known Subclasses: 
 - OWLCardinalityRestrictionImpl, OWLObjectSelfRestrictionImpl, OWLQuantifiedRestrictionImpl, OWLValueRestrictionImpl
 
public abstract class OWLRestrictionImpl<P extends OWLPropertyExpression>
- extends OWLAnonymousDescriptionImpl
- implements OWLRestriction<P>
  
Author: Matthew Horridge
 The University Of Manchester
 Bio-Health Informatics Group
 Date: 26-Oct-2006
 
| 
Method Summary | 
 boolean | 
equals(java.lang.Object obj)
 
            | 
 P | 
getProperty()
 
          Gets the property that the restriction acts along. | 
 boolean | 
isLiteral()
 
          Determines if this class is a literal. | 
 
 
 
| Methods inherited from class java.lang.Object | 
getClass, notify, notifyAll, wait, wait, wait | 
 
 
 
| Methods inherited from interface java.lang.Comparable | 
compareTo | 
 
OWLRestrictionImpl
public OWLRestrictionImpl(OWLDataFactory dataFactory,
                          P property)
isLiteral
public boolean isLiteral()
- Description copied from interface: 
OWLDescription 
- Determines if this class is a literal.  A literal being either
 a named class or the negation of a named class (i.e. A or not(A)).
- Specified by:
 isLiteral in interface OWLDescription
 
- Returns:
 true if this is a literal, or false if this
 is not a literal.
 
 
getProperty
public P getProperty()
- Description copied from interface: 
OWLRestriction 
- Gets the property that the restriction acts along.
- Specified by:
 getProperty in interface OWLRestriction<P extends OWLPropertyExpression>
 
 
 
equals
public boolean equals(java.lang.Object obj)
- Overrides:
 equals in class OWLObjectImpl