public interface RDFSProperty extends RDFSSchemaResource
GET_CONNECTION, GET_RESOURCE| Modifier and Type | Method and Description |
|---|---|
void |
addDomain(RDFSClazz clazz)
Adds a clazz to the domain of the property.
|
void |
addRange(RDFSClazz clazz)
Adds a clazz to the range of the property.
|
void |
addSuperproperty(RDFSProperty superProperty)
Refers to https://www.w3.org/TR/rdf-schema/#ch_subpropertyof
The property rdfs:subPropertyOf is an instance of rdf:Property that is used to state that all resources related by one property are also related by another.
|
Set<RDFSClazz> |
getDomains()
Refers to https://www.w3.org/TR/rdf-schema/#ch_domain
rdfs:domain is an instance of rdf:Property that is used to state that any resource that has a given property is an instance of one or more classes.
|
Set<RDFSClazz> |
getRanges()
Refers to https://www.w3.org/TR/rdf-schema/#ch_range
rdfs:range is an instance of rdf:Property that is used to state that the values of a property are instances of one or more classes.
|
Set<RDFSProperty> |
getSuperproperties()
Refers to https://www.w3.org/TR/rdf-schema/#ch_subpropertyof
The property rdfs:subPropertyOf is an instance of rdf:Property that is used to state that all resources related by one property are also related by another.
|
void |
setDomains(Set<RDFSClazz> domain)
Refers to https://www.w3.org/TR/rdf-schema/#ch_domain
rdfs:domain is an instance of rdf:Property that is used to state that any resource that has a given property is an instance of one or more classes.
|
void |
setRanges(Set<RDFSClazz> range)
Refers to https://www.w3.org/TR/rdf-schema/#ch_range
rdfs:range is an instance of rdf:Property that is used to state that the values of a property are instances of one or more classes.
|
void |
setSuperproperties(Set<RDFSProperty> subProperties)
Refers to https://www.w3.org/TR/rdf-schema/#ch_subpropertyof
The property rdfs:subPropertyOf is an instance of rdf:Property that is used to state that all resources related by one property are also related by another.
|
addComment, addLabel, getComments, getLabels, setComments, setLabelsdelete, getResourceAsString, getTriples, setResource, setResourceAsStringgetObjectConnection, getResourcevoid setRanges(Set<RDFSClazz> range)
void addRange(RDFSClazz clazz)
clazz - The class to add.Set<RDFSClazz> getRanges()
void setDomains(Set<RDFSClazz> domain)
void addDomain(RDFSClazz clazz)
clazz - The class to add.Set<RDFSClazz> getDomains()
void setSuperproperties(Set<RDFSProperty> subProperties)
Set<RDFSProperty> getSuperproperties()
void addSuperproperty(RDFSProperty superProperty)
Copyright © 2017 Chair of Distributed Information Systems - University of Passau. All rights reserved.