knowL: Knowledge Libraries
Loading...
Searching...
No Matches
knowSHACL::NodeShape Class Reference

#include <NodeShape.h>

Classes

struct  Private
 

Public Member Functions

 NodeShape (const NodeShape &_rhs)
 
NodeShapeoperator= (const NodeShape &_rhs)
 
bool isValid () const
 
knowCore::Uri uri () const
 
QList< Targettargets () const
 
QList< knowCore::UriparentClasses () const
 
QList< knowCore::Uritypes () const
 
QList< Constraintconstraints () const
 
bool isClosed () const
 
knowCore::UriList ignoredProperties () const
 
bool operator!= (const NodeShape &_rhs) const
 

Friends

class details::DefinitionParser
 
class Constraint
 

Detailed Description

Represents a NodeShape

Member Function Documentation

◆ constraints()

QList< Constraint > NodeShape::constraints ( ) const
Returns
the validating constraints

◆ ignoredProperties()

knowCore::UriList NodeShape::ignoredProperties ( ) const
Returns
list of properties that are not specified but are allowed, needed if isClosed is set to true.

◆ isClosed()

bool NodeShape::isClosed ( ) const
Returns
true if the shape is closed, i.e. if only the property listed are allowed

◆ isValid()

bool NodeShape::isValid ( ) const
Returns
if the shape is valid

◆ parentClasses()

QList< knowCore::Uri > NodeShape::parentClasses ( ) const
Returns
the list of parent classes, i.e. anything that was refered with 'rdfs:subClassOf'

◆ types()

QList< knowCore::Uri > NodeShape::types ( ) const
Returns
the list of types (i.e. rdf:type/a that were used to define this node)

◆ uri()

knowCore::Uri NodeShape::uri ( ) const
Returns
the uri that address this shape, or an empty string if the shape was defined as a blank node

The documentation for this class was generated from the following files: