Class OWLProperty

(line 34)

Description

RDFSProperty
   |
   --OWLProperty

Located in File: /owlapi/OWLProperty.php

OWLProperty represents a property which can be either a datatype property or a object property.


Class Variables

Summary:

Class Constants

Summary:

Method Detail

Summary:
void addDomainToUnionClass (mixed $class)
void addRangeToUnionClass ( $class)
boolean domainIsUnionClass ()
boolean isAnnotation ([boolean $bool = NULL])
boolean isDatatypeProperty ([boolean $bool = NULL])
boolean isFunctional ([boolean $bool = NULL])
boolean isInverseFunctional ([boolean $bool = NULL])
boolean isObjectProperty ([boolean $bool = NULL])
boolean isSymmetric ([boolean $bool = NULL])
boolean isTransitive ([boolean $bool = NULL])
array listInverseOf ()
boolean rangeIsUnionClass ()
void setDomainToUnionClass ( $members)
boolean setEquivalentProperties (array $values)
boolean setInverseOf (array $values)
void setRangeToDataRange ( $members)
void setRangeToUnionClass ( $members)

Method addDomainToUnionClass (line 52)

void addDomainToUnionClass( mixed $class)

OWLProperty::addDomainToUnionClass()

Parameters

  • mixed $class:

Info

Method addRangeToUnionClass (line 98)

void addRangeToUnionClass( $class)

Parameters

  • $class:

Info

Method domainIsUnionClass (line 40)

boolean domainIsUnionClass( )

Checks whether the domain of this property is an union class description.

Info

  • return - True if the domain is an union class description, false otherwise.

Method isAnnotation (line 225)

boolean isAnnotation( [boolean $bool = NULL])

Checks if this property is of type owl:AnnotationProperty.

If the optional parameter $bool is given, owl:AnnotationProperty will be set or removed according to $bool.

Parameters

  • boolean $bool: Shall the property be set to be of type owl:AnnotationProperty - NULL - no change, TRUE - yes, FALSE - no.

Info

  • return - True if the property is of type owl:AnnotationProperty, false otherwise.

Method isDatatypeProperty (line 236)

boolean isDatatypeProperty( [boolean $bool = NULL])

Checks if this property is of type owl:DatatypeProperty.

If the optional parameter $bool is given, it will be toggled between owl:DatatypeProperty and owl:ObjectProperty according to $bool.

Parameters

  • boolean $bool: Shall the property be set to be of type owl:DatatypeProperty - NULL - no change, TRUE - yes, FALSE - no.

Info

  • return - True if the property is of type owl:DatatypeProperty, false otherwise.

Method isFunctional (line 181)

boolean isFunctional( [boolean $bool = NULL])

Checks if this property is of type owl:FunctionalProperty.

If the optional parameter $bool is given, owl:FunctionalProperty will be set or removed according to $bool.

Parameters

  • boolean $bool: Shall the property be set to be of type owl:FunctionalProperty - NULL - no change, TRUE - yes, FALSE - no.

Info

  • return - True if the property is of type owl:FunctionalProperty, false otherwise.

Method isInverseFunctional (line 192)

boolean isInverseFunctional( [boolean $bool = NULL])

Checks if this property is of type owl:InverseFunctionalProperty.

If the optional parameter $bool is given, owl:InverseFunctionalProperty will be set or removed according to $bool.

Parameters

  • boolean $bool: Shall the property be set to be of type owl:InverseFunctionalProperty - NULL - no change, TRUE - yes, FALSE - no.

Info

  • return - True if the property is of type owl:InverseFunctionalProperty, false otherwise.

Method isObjectProperty (line 253)

boolean isObjectProperty( [boolean $bool = NULL])

Checks if this property is of type owl:ObjectProperty.

If the optional parameter $bool is given, it will be toggled between owl:ObjectProperty and owl:DatatypeProperty according to $bool.

Parameters

  • boolean $bool: Shall the property be set to be of type owl:ObjectProperty - NULL - no change, TRUE - yes, FALSE - no.

Info

  • return - True if the property is of type owl:ObjectProperty, false otherwise.

Method isSymmetric (line 203)

boolean isSymmetric( [boolean $bool = NULL])

Checks if this property is of type owl:SymmetricProperty.

If the optional parameter $bool is given, owl:SymmetricProperty will be set or removed according to $bool.

Parameters

  • boolean $bool: Shall the property be set to be of type owl:SymmetricProperty - NULL - no change, TRUE - yes, FALSE - no.

Info

  • return - True if the property is of type owl:SymmetricProperty, false otherwise.

Method isTransitive (line 214)

boolean isTransitive( [boolean $bool = NULL])

Checks if this property is of type owl:TransitiveProperty.

If the optional parameter $bool is given, owl:TransitiveProperty will be set or removed according to $bool.

Parameters

  • boolean $bool: Shall the property be set to be of type owl:TransitiveProperty - NULL - no change, TRUE - yes, FALSE - no.

Info

  • return - True if the property is of type owl:TransitiveProperty, false otherwise.

Method listDomainFromUnionClass (line 69)

void listDomainFromUnionClass( )

Info

Method listEquivalentProperties (line 152)

array listEquivalentProperties( )

Returns an array of equivalent OWLProperties indexed by their local names.

Info

  • return - An array of equivalent OWLProperties indexed by their local names.

Method listInverseOf (line 144)

array listInverseOf( )

Returns an array of inverse OWLProperties indexed by their local names.

Info

  • return - An array of inverse OWLProperties indexed by their local names.

Method listRangeFromDataRange (line 92)

void listRangeFromDataRange( )

Info

Method listRangeFromUnionClass (line 129)

void listRangeFromUnionClass( )

Info

Method rangeIsDataRange (line 86)

void rangeIsDataRange( )

Info

Method rangeIsUnionClass (line 80)

boolean rangeIsUnionClass( )

Checks whether the range of this property is an union class description.

Info

  • return - True if the range is an union class description, false otherwise.

Method setDomainToUnionClass (line 58)

void setDomainToUnionClass( $members)

Parameters

  • $members:

Info

Method setEquivalentProperties (line 170)

boolean setEquivalentProperties( array $values)

Sets equivalent properties to the properties given in values.

Parameters

  • array $values: An array of properties, property URIs or property local names.

Info

Method setInverseOf (line 161)

boolean setInverseOf( array $values)

Sets inverse properties to the properties given in values.

Parameters

  • array $values: An array of properties, property URIs or property local names.

Info

Method setRangeToDataRange (line 118)

void setRangeToDataRange( $members)

Parameters

  • $members:

Info

Method setRangeToUnionClass (line 104)

void setRangeToUnionClass( $members)

Parameters

  • $members:

Info

Inherited Variables

Inherited Class Variable Summary

Inherited Methods

Inherited Method Summary


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