Class Index | File Index

Classes


Class STRequests.Property


Defined in: STRequests.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
STRequests.Property.addExistingPropValue(instanceQName, propertyQName, value, type)
as for createAndAddPropValue but this does just relates the resource identified by createAndAddPropValue to an existing resource
<static>  
STRequests.Property.addProperty(propertyQName, propertyType)
adds a property to the current ontology
<static>  
STRequests.Property.addPropertyDomain(propertyQName, domainPropertyQName)
specifies the domain for property propertyQName (actually, it just adds a class to the list of classes the intersection of which represents the true property domain)
<static>  
STRequests.Property.addPropertyRange(propertyQName, rangePropertyQName)
specifies the range for property propertyQName (actually, it just adds a class to the list of classes the intersection of which represents the true property range)
<static>  
STRequests.Property.addSubProperty(propertyQName, propertyType, superPropertyQName)
adds a property to the current ontology, and defines the type and superProperty for it
<static>  
STRequests.Property.addSuperProperty(propertyQName, superPropertyQName)
adds a super property relationship between two existing properties
<static>  
STRequests.Property.createAndAddPropValue(instanceQName, propertyQName, value, rangeClsQName, type, lang)
adds a given value to the description of a resource instanceQName through property propertyQName
<static>  
STRequests.Property.getAnnotationPropertiesTree()
gets the tree of all annotation properties in the ontology
<static>  
STRequests.Property.getDatatypePropertiesTree()
gets the tree of all datatype properties in the ontology
<static>  
STRequests.Property.getDomain(propertyQName)
get info about Domain of a property NEVER USED
<static>  
STRequests.Property.getObjPropertyTree()
gets the tree of all object properties in the ontology
<static>  
STRequests.Property.getPropertyDescription(propertyQName)
retrieves the full description of property identified by propertyQName
<static>  
STRequests.Property.getPropertyTree(instanceQName, method)
gets the tree of all properties in the ontology
<static>  
STRequests.Property.getRange(propertyQName, visualize)
get info about Range of a property
<static>  
STRequests.Property.getRangeClassesTree(propertyQName)
gets a tree forest with roots provided by the classes in the range of property identified by propertyQName
<static>  
STRequests.Property.parseDataRange(dataRange, nodeType)
parses a list of literals representing values in a dataRange
<static>  
STRequests.Property.removePropertyDomain(propertyQName, domainPropertyQName)
removes property domain from property propertyQName
<static>  
STRequests.Property.removePropertyRange(propertyQName, rangePropertyQName)
removes property range from property propertyQName
<static>  
STRequests.Property.removePropValue(instanceQName, propertyQName, value, type, lang, lang)
removes a given value associated to resource instanceQName through property propertyQName
<static>  
STRequests.Property.removeSuperProperty(propertyQName, superPropertyQName)
removes the super property relationship between two existing properties (but does not delete the properties)
Class Detail
STRequests.Property()
Method Detail
<static> STRequests.Property.addExistingPropValue(instanceQName, propertyQName, value, type)
as for createAndAddPropValue but this does just relates the resource identified by createAndAddPropValue to an existing resource
Defined in: SERVICE_Property.js.
Parameters:
instanceQName
propertyQName
value
type
Returns:

<static> STRequests.Property.addProperty(propertyQName, propertyType)
adds a property to the current ontology
Defined in: SERVICE_Property.js.
Parameters:
propertyQName
propertyType
Returns:

<static> STRequests.Property.addPropertyDomain(propertyQName, domainPropertyQName)
specifies the domain for property propertyQName (actually, it just adds a class to the list of classes the intersection of which represents the true property domain)
Defined in: SERVICE_Property.js.
Parameters:
propertyQName
domainPropertyQName
Returns:

<static> STRequests.Property.addPropertyRange(propertyQName, rangePropertyQName)
specifies the range for property propertyQName (actually, it just adds a class to the list of classes the intersection of which represents the true property range)
Defined in: SERVICE_Property.js.
Parameters:
propertyQName
rangePropertyQName
Returns:

<static> STRequests.Property.addSubProperty(propertyQName, propertyType, superPropertyQName)
adds a property to the current ontology, and defines the type and superProperty for it
Defined in: SERVICE_Property.js.
Parameters:
propertyQName
propertyType
must be the name of an existing class
superPropertyQName
must be the name of an existing property
Returns:

<static> STRequests.Property.addSuperProperty(propertyQName, superPropertyQName)
adds a super property relationship between two existing properties
Defined in: SERVICE_Property.js.
Parameters:
propertyQName
superPropertyQName
Returns:

<static> STRequests.Property.createAndAddPropValue(instanceQName, propertyQName, value, rangeClsQName, type, lang)
adds a given value to the description of a resource instanceQName through property propertyQName
Defined in: SERVICE_Property.js.
Parameters:
instanceQName
propertyQName
value
rangeClsQName
(necessary only for resource values, otherwise set to null) tells the type for the newly created resource
type
(optional) if the property is a simple rdf:Property, this argument tells whether a literal should be passed as the value for the property, or a resource. literal should be passed via this argument to tell ST to add a literal value (only for pure rdf:property(es))
lang
(optional) for annotation properties, tells the language of the entry which needs to be set up
Returns:

<static> STRequests.Property.getAnnotationPropertiesTree()
gets the tree of all annotation properties in the ontology
Defined in: SERVICE_Property.js.
Returns:

<static> STRequests.Property.getDatatypePropertiesTree()
gets the tree of all datatype properties in the ontology
Defined in: SERVICE_Property.js.
Returns:

<static> STRequests.Property.getDomain(propertyQName)
get info about Domain of a property NEVER USED
Defined in: SERVICE_Property.js.
Parameters:
propertyQName
Returns:

<static> STRequests.Property.getObjPropertyTree()
gets the tree of all object properties in the ontology
Defined in: SERVICE_Property.js.
Returns:

<static> STRequests.Property.getPropertyDescription(propertyQName)
retrieves the full description of property identified by propertyQName
Defined in: SERVICE_Property.js.
Parameters:
propertyQName
Returns:

<static> STRequests.Property.getPropertyTree(instanceQName, method)
gets the tree of all properties in the ontology
Defined in: SERVICE_Property.js.
Parameters:
instanceQName
method
Returns:

<static> STRequests.Property.getRange(propertyQName, visualize)
get info about Range of a property
Defined in: SERVICE_Property.js.
Parameters:
propertyQName
visualize
Returns:

<static> STRequests.Property.getRangeClassesTree(propertyQName)
gets a tree forest with roots provided by the classes in the range of property identified by propertyQName
Defined in: SERVICE_Property.js.
Parameters:
propertyQName
Returns:

<static> STRequests.Property.parseDataRange(dataRange, nodeType)
parses a list of literals representing values in a dataRange
Defined in: SERVICE_Property.js.
Parameters:
dataRange
nodeType
Returns:

<static> STRequests.Property.removePropertyDomain(propertyQName, domainPropertyQName)
removes property domain from property propertyQName
Defined in: SERVICE_Property.js.
Parameters:
propertyQName
domainPropertyQName
Returns:

<static> STRequests.Property.removePropertyRange(propertyQName, rangePropertyQName)
removes property range from property propertyQName
Defined in: SERVICE_Property.js.
Parameters:
propertyQName
rangePropertyQName
Returns:

<static> STRequests.Property.removePropValue(instanceQName, propertyQName, value, type, lang, lang)
removes a given value associated to resource instanceQName through property propertyQName
Defined in: SERVICE_Property.js.
Parameters:
instanceQName
propertyQName
value
type
(optional) if the property is a simple rdf:Property, this argument tells whether a literal should be passed as the value for the property, or a resource. literal should be passed via this argument to tell ST to add a literal value (only for pure rdf:property(es))
lang
(optional) for annotation properties, tells the language of the entry which needs to be removed (it is necessary if the value to be removed had its language set up)
lang
Returns:

<static> STRequests.Property.removeSuperProperty(propertyQName, superPropertyQName)
removes the super property relationship between two existing properties (but does not delete the properties)
Defined in: SERVICE_Property.js.
Parameters:
propertyQName
superPropertyQName
Returns:

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Sep 25 2014 16:02:12 GMT+0200 (CEST)