Class OWLClass

(line 34)

Description

RDFSClass
   |
   --OWLClass

Located in File: /owlapi/OWLClass.php

OWLClass represents an OWL ontology node characterising a class description.


Class Variables

Summary:

Class Constants

Summary:

Method Detail

Summary:
int getCardinalityMax (RDFSProperty $property)
int getCardinalityMin (RDFSProperty $property)
array getRestriction ( $property, [ $type = array('allValuesFrom','someValuesFrom','hasValue')])
void getRestrictionAllValuesFrom ( $property)
void getRestrictionHasValue ( $property)
void getRestrictionSomeValuesFrom ( $property)
boolean isIntersection ()
array listComplementOf ()
array listDisjointWith ()
void listSubClassesInfered ([ $includeEquivalentClasses = true])
array listUnionOf ()
void setCardinality (RDFSProperty $property, int $cardinality)
void setCardinalityMax (RDFSProperty $property, int $cardinality)
void setCardinalityMin (RDFSProperty $property, int $cardinality)
void setComplementOf ( $values)
void setDisjointWith ( $values)
void setEquivalentClasses ( $values)
void setIntersectionOf ( $values)
void setUnionOf ( $values)
void _getRestrictionStatement ( $property, [ $types = array('allValuesFrom','someValuesFrom','hasValue')])

Method getCardinalityMax (line 195)

int getCardinalityMax( RDFSProperty $property)

Returns the maximum cardinality of a property.

Parameters

Info

  • return - Maximum cardinality of a property

Method getCardinalityMaxInherited (line 215)

int getCardinalityMaxInherited( RDFSProperty $property)

Returns the maximum cardinality of a property or a maximum cardinality for that property inherited from a superclass.

Parameters

Info

  • return - Maximum cardinality of a property

Method getCardinalityMin (line 186)

int getCardinalityMin( RDFSProperty $property)

Returns the minimum cardinality of a property.

Parameters

Info

  • return - Minimum cardinality of a property.

Method getCardinalityMinInherited (line 205)

int getCardinalityMinInherited( RDFSProperty $property)

Returns the minimum cardinality of a property or a minimum cardinality for that property inherited from a superclass.

Parameters

Info

  • return - Minimum cardinality of a property.

Method getRestriction (line 224)

array getRestriction( $property, [ $type = array('allValuesFrom','someValuesFrom','hasValue')])

Parameters

  • $property:
  • $type:

Info

Method getRestrictionAllValuesFrom (line 237)

void getRestrictionAllValuesFrom( $property)

Parameters

  • $property:

Info

Method getRestrictionHasValue (line 251)

void getRestrictionHasValue( $property)

Parameters

  • $property:

Info

Method getRestrictionSomeValuesFrom (line 244)

void getRestrictionSomeValuesFrom( $property)

Parameters

  • $property:

Info

Method isAllValuesFromRestriction (line 64)

boolean isAllValuesFromRestriction( )

Info

  • return - Returns true in case this restriction is an all values from restriction.

Method isCardinalityRestriction (line 39)

boolean isCardinalityRestriction( )

Info

  • return - Returns true in case this restriction is a cardinality restriction.

Method isHasValueRestriction (line 46)

boolean isHasValueRestriction( )

Info

  • return - Returns true in case this restriction is a has value restriction.

Method isIntersection (line 71)

boolean isIntersection( )

Info

  • return - Returns true in case this class is an intersection of a list of classes.

Method isSomeValuesFromRestriction (line 57)

boolean isSomeValuesFromRestriction( )

Info

  • return - Returns true in case this restriction is a some values from restriction.

Method listComplementOf (line 111)

array listComplementOf( )

Info

Method listDisjointWith (line 93)

array listDisjointWith( )

Info

  • return - Returns an array containing all the classes that are declared to be disjoint with this class.

Method listEquivalentClasses (line 78)

void listEquivalentClasses( )

Info

Method listEquivalentClassesInfered (line 86)

array listEquivalentClassesInfered( )

Info

  • return - Returns an array containing all the classes that are declared to be equivalent to this class and that are infered from this class.

Method listIntersectionOf (line 99)

array listIntersectionOf( )

Info

Method listIntersections (line 289)

array listIntersections( )

Returns a list of nodes representing owl:intersectionOf lists the class is part of

Info

  • return - List of nodes representing owl:intersectionOf lists the class is part of

Method listSubClassesInfered (line 155)

void listSubClassesInfered( [ $includeEquivalentClasses = true])

Parameters

  • $includeEquivalentClasses:

Info

Method listSuperClassesInfered (line 171)

void listSuperClassesInfered( )

Info

Method listUnionOf (line 105)

array listUnionOf( )

Info

Method setCardinality (line 262)

void setCardinality( RDFSProperty $property, int $cardinality)

Sets the cardinality for a property.

Parameters

Info

Method setCardinalityMax (line 281)

void setCardinalityMax( RDFSProperty $property, int $cardinality)

Sets the maximum cardinality for a property.

Parameters

Info

Method setCardinalityMin (line 272)

void setCardinalityMin( RDFSProperty $property, int $cardinality)

Sets the minimum cardinality for a property.

Parameters

Info

Method setComplementOf (line 146)

void setComplementOf( $values)

Parameters

  • $values:

Info

Method setDisjointWith (line 124)

void setDisjointWith( $values)

Parameters

  • $values:

Info

Method setEquivalentClasses (line 118)

void setEquivalentClasses( $values)

Parameters

  • $values:

Info

Method setIntersectionOf (line 130)

void setIntersectionOf( $values)

Parameters

  • $values:

Info

Method setUnionOf (line 137)

void setUnionOf( $values)

Parameters

  • $values:

Info

Method _getRestrictionStatement (line 402)

void _getRestrictionStatement( $property, [ $types = array('allValuesFrom','someValuesFrom','hasValue')])

Parameters

  • $property:
  • $types:

Info

Inherited Variables

Inherited Class Variable Summary

Inherited Methods

Inherited Method Summary


Documentation generated on Tue, 07 Nov 2006 13:07:06 +0100 by phpDocumentor 1.3.0