[ Expand All ] [ Collapse All ] - [ Properties (0) ] [ Methods (41) ] - [ Legend ]

DefaultRDFSClass Class

Object
Node
Resource
DefaultRDFSResource
RDFSResource
DefaultRDFSClass

Properties implemented by DefaultRDFSClass

DefaultRDFSClass has no properties.

Methods implemented by DefaultRDFSClass
private method _listInheritedProperties

PHP_listInheritedProperties(unknown $propertyURIs)

RDFSClass::_listInheritedProperties()

Arguments

public method addInstance

PHPaddInstance(string $instance)

Create new instance

Arguments

public method addProperty

PHPboolean addProperty(rdfsproperty $property)

Add this class to the domain of the property.

Arguments

Return

Returns false if property does not exist.

public method addSubClass

PHPrdfsclass addSubClass(rdfsclass $subclass)

Add a sub-class of this class. If the subclass is a URI instead of a RDFSClass object - the subclass will first be created.

Arguments

Return

The class created.

public method countInstancePropertyValues

PHPcountInstancePropertyValues(unknown $property, boolean $resourcesOnly, integer $minDistinctValues)

Arguments

public method countInstances

PHPinteger countInstances()

Returns the number of instances of this class.

Return

Number of instances for this class.

public method countInstancesOfSubclasses

PHPinteger countInstancesOfSubclasses()

Returns the number of instances of this class and its sub-classes.

Return

Number of instances for this class and its sub-classes.

public method countInstancesRecursive

PHPinteger countInstancesRecursive()

Returns the number of instances of this class and all its sub-classes.

Return

Number of instances of this class and all its sub-classes.

public method countSubClasses

PHPinteger countSubClasses()

Returns number of all classes that are declared to be sub-classes of this class.

Return

Number of all declared sub-classes of this class.

public method countSubClassesRecursive

PHPinteger countSubClassesRecursive()

Returns number of all classes this class is super-class for.

Return

Number of all sub-classes of this class.

public method findInstance

PHPrdfsinstance findInstance(array $properties, string $compare)

Return one individual in the model that has this class among its types. If an array of PropertyURI=>Value is given, only individuals with the specified property values will be returned.

Arguments

Return

object.

public method findInstances

PHParray findInstances(array $properties, string $compare, integer $start, integer $count, integer $erg)

Return an array of individuals in the model that have this class among their types. If an array of PropertyURI=>Value is given, only individuals with the specified property values will be returned.

Arguments

Return

of RDFSInstance objects.

public method findInstancesRecursive

PHParray findInstancesRecursive(array $properties, string $compare, integer $start, integer $count, integer $erg)

Return an array of individuals in the model that have this class or its sub-classes among their types. If an array of PropertyURI=>value pairs is given, only individuals with the specified property values will be returned.

Arguments

Return

Array of RDFSInstance objects.

public method getInstance

PHPrdfsinstance getInstance(string $uri)

Return RDFSInstance object with specified URI. If no RDFSInstance is found, return false.

Arguments

Return

or false.

public method getSuperClass

PHPgetSuperClass()

public method getSuperClassPath

PHPgetSuperClassPath()

public method isSubClassOf

PHPboolean isSubClassOf(rdfsclass $class)

Returns true if this class is a direct subclass of $class.

Arguments

public method isSuperClassRecursive

PHPisSuperClassRecursive(unknown $class)

Arguments

public method listDirectProperties

PHParray listDirectProperties()

Returns an array of RDFSProperty objects directly attached to this class: i.e. the properties that have this class as domain.

Return

Array of RDFSProperty objects.

public method listInheritedAnnotationProperties

PHPlistInheritedAnnotationProperties()

public method listInheritedProperties

PHParray listInheritedProperties(boolean $includeAnnotationProperties)

Returns an array of RDFSProperty objects inherited from super-classes to this class: i.e. the properties that have one of its super-classes as domain.

Arguments

Return

Array of RDFSProperty objects.

public method listInstanceLabelLanguages

PHParray listInstanceLabelLanguages()

Returns an array of all distinct label languages for instances of this class.

Return

All distinct label languages for instances of this class.

public method listInstanceLabelLanguagesRecursive

PHPlistInstanceLabelLanguagesRecursive()

public method listInstanceLabels

PHPlistInstanceLabels(unknown $language)

Arguments

public method listInstancePropertyValues

PHPlistInstancePropertyValues(unknown $property, boolean $resourcesOnly)

Lists all distinct values of $property assigned to instances of this class.

Arguments

public method listInstances

PHParray listInstances(integer $start, integer $count, integer $erg)

Return an array of individuals in the model that have this class among their types.

Arguments

Return

of RDFSInstance objects.

public method listInstancesRecursive

PHParray listInstancesRecursive(integer $start, integer $count, integer $erg)

Return an array of individuals in the model that have this class or one of its sub-classes among their types.

Arguments

Return

of RDFSInstance objects.

public method listProperties

PHParray listProperties()

Returns an array of RDFSProperty objects inherited from super-classes or directly attached to this class: i.e. the properties that have this class, or optionally one of its super-classes, as domain.

Return

of RDFSProperty objects.

public method listPropertiesPlain

PHParray listPropertiesPlain()

Returns an array of local names of the RDFSProperty objects inherited from super-classes or directly attached to this class: i.e. the properties that have this class, or optionally one of its super-classes, as domain.

Return

of local names of RDFSProperty objects.

public method listPropertiesUsed

PHParray listPropertiesUsed()

Returns an array of property resource URIs which are set by instances of this class.

Return

Array of property resource URIs

public method listPropertiesUsedRecursive

PHPlistPropertiesUsedRecursive()

public method listSubClasses

PHParray listSubClasses()

Returns all classes that are declared to be sub-classes of this class.

Return

All declared sub-classes of this class.

public method listSubClassesRecursive

PHParray listSubClassesRecursive()

Returns all classes this class is super-class for.

Return

Array of all super-classes.

public method listSuperClasses

PHParray listSuperClasses()

Returns an array of all classes that are declared to be super-classes of this class. Each element of the array will be an RDFSClass.

Return

Array of all declared super-classes of this class.

public method listSuperClassesRecursive

PHParray listSuperClassesRecursive()

Returns an array of RDFSCLass objects which are a superclass of this class or one of its superclasses.

Return

Array of RDFSClasses.

public method removeInstance

PHPremoveInstance(string $instance)

Removes a instance. TODO: redundant?/broken?

Arguments

public method removeInstances

PHPvoid removeInstances()

Deletes all instances of this class.

public method removeProperty

PHPboolean removeProperty(rdfsproperty $property)

Remove the property from this class.

Arguments

Return

Returns false if property does not exist.

public method setProperties

PHPsetProperties(array $properties)

Add this class to the domain of the properties and remove it from all others. FIXME - seems to be broken

Arguments

public method setSubClasses

PHPsetSubClasses(unknown $values)

Sets the direct subclasses of this class.

Arguments

public method setSuperClasses

PHPvoid setSuperClasses(unknown $values)

Sets the super classes of this class.

Arguments

Generated by PHPEdit - Copyright © 1999-2004 - Sébastien Hordeaux - WaterProof SARL