Package ch.miranet.rdfstructure
Class PropertyShape
- java.lang.Object
-
- ch.miranet.rdfstructure.StructuralElement<org.eclipse.rdf4j.model.Resource>
-
- ch.miranet.rdfstructure.PropertyShape
-
public class PropertyShape extends StructuralElement<org.eclipse.rdf4j.model.Resource>
-
-
Field Summary
-
Fields inherited from class ch.miranet.rdfstructure.StructuralElement
b, resource
-
-
Constructor Summary
Constructors Constructor Description PropertyShape(RdfStructureBuilder structBuilder, org.eclipse.rdf4j.model.Resource propertyShapeResource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyShapeany(BiConsumer<org.eclipse.rdf4j.model.util.ModelBuilder,org.eclipse.rdf4j.model.Resource> consumer)PropertyShapeclazz(RdfsClass cls)sh:classPropertyShapeclazz(String prefixedNameOrIri)sh:classPropertyShapeclazz(org.eclipse.rdf4j.model.IRI iri)sh:classPropertyShapecomment(String comment)rdfs:commentPropertyShapecount(int count)sh:minCount
sh:maxCountPropertyShapedatatype(RdfsClass cls)sh:datatypePropertyShapedatatype(String prefixedNameOrIri)sh:datatypePropertyShapedatatype(org.eclipse.rdf4j.model.IRI iri)sh:datatypePropertyShapelabel(String label)rdfs:labelPropertyShapemaxCount(int count)sh:maxCountPropertyShapeminCount(int count)sh:minCountPropertyShapenodeKind(String prefixedNameOrIri)sh:nodeKindPropertyShapenodeKind(org.eclipse.rdf4j.model.IRI iri)sh:nodeKind-
Methods inherited from class ch.miranet.rdfstructure.StructuralElement
getResource
-
-
-
-
Constructor Detail
-
PropertyShape
public PropertyShape(RdfStructureBuilder structBuilder, org.eclipse.rdf4j.model.Resource propertyShapeResource)
-
-
Method Detail
-
label
public PropertyShape label(String label)
rdfs:label
-
comment
public PropertyShape comment(String comment)
rdfs:comment
-
minCount
public PropertyShape minCount(int count)
sh:minCount
-
maxCount
public PropertyShape maxCount(int count)
sh:maxCount
-
count
public PropertyShape count(int count)
sh:minCount
sh:maxCount
-
clazz
public PropertyShape clazz(RdfsClass cls)
sh:class
-
clazz
public PropertyShape clazz(String prefixedNameOrIri)
sh:class
-
clazz
public PropertyShape clazz(org.eclipse.rdf4j.model.IRI iri)
sh:class
-
datatype
public PropertyShape datatype(RdfsClass cls)
sh:datatype
-
datatype
public PropertyShape datatype(String prefixedNameOrIri)
sh:datatype
-
datatype
public PropertyShape datatype(org.eclipse.rdf4j.model.IRI iri)
sh:datatype
-
nodeKind
public PropertyShape nodeKind(String prefixedNameOrIri)
sh:nodeKind
-
nodeKind
public PropertyShape nodeKind(org.eclipse.rdf4j.model.IRI iri)
sh:nodeKind
-
any
public PropertyShape any(BiConsumer<org.eclipse.rdf4j.model.util.ModelBuilder,org.eclipse.rdf4j.model.Resource> consumer)
- Overrides:
anyin classStructuralElement<org.eclipse.rdf4j.model.Resource>
-
-