Class: LinkedRails::SHACL::Shape

Inherits:
Resource
  • Object
show all
Defined in:
app/models/linked_rails/shacl/shape.rb

Direct Known Subclasses

NodeShape, PropertyShape

Constant Summary

Constants included from Model::Collections

Model::Collections::COLLECTION_CUSTOMIZABLE_OPTIONS, Model::Collections::COLLECTION_OPTIONS, Model::Collections::COLLECTION_STATIC_OPTIONS

Instance Attribute Summary collapse

Attributes inherited from Resource

#iri

Class Method Summary collapse

Methods inherited from Resource

#anonymous_iri?

Methods included from Model

#build_child

Methods included from Model::Singularable

#root_relative_iri, #root_relative_singular_iri, #singular_iri, #singular_iri?, #singular_iri_opts, #singular_iri_template, #singular_resource?

Methods included from Model::Serialization

#preview_includes, #show_includes

Methods included from Model::Menuable

#menu, #menu_list, #menus

Methods included from Model::IRI

#anonymous_iri, #anonymous_iri?, #iri, #iri_elements, #iri_opts, #rdf_type, #reload, #root_relative_iri, #route_fragment

Methods included from Model::Enhancements

#enhanced_with?

Methods included from Model::Dirty

#previously_changed_relations

Methods included from Model::Collections

#collection_for, #collection_iri, #collection_options_for, #collection_root_relative_iri, #parent_collections

Methods included from Model::Actionable

#action, #action_list, #action_triples, #actions, #collection_actions, #favorite_actions

Instance Attribute Details

#andObject

SHACL attributes



7
8
9
# File 'app/models/linked_rails/shacl/shape.rb', line 7

def and
  @and
end

#deactivatedObject

SHACL attributes



7
8
9
# File 'app/models/linked_rails/shacl/shape.rb', line 7

def deactivated
  @deactivated
end

#messageObject

SHACL attributes



7
8
9
# File 'app/models/linked_rails/shacl/shape.rb', line 7

def message
  @message
end

#node_kindObject

SHACL attributes



7
8
9
# File 'app/models/linked_rails/shacl/shape.rb', line 7

def node_kind
  @node_kind
end

#orObject

SHACL attributes



7
8
9
# File 'app/models/linked_rails/shacl/shape.rb', line 7

def or
  @or
end

#severityObject

SHACL attributes



7
8
9
# File 'app/models/linked_rails/shacl/shape.rb', line 7

def severity
  @severity
end

#sh_notObject

SHACL attributes



7
8
9
# File 'app/models/linked_rails/shacl/shape.rb', line 7

def sh_not
  @sh_not
end

#target_classObject

SHACL attributes



7
8
9
# File 'app/models/linked_rails/shacl/shape.rb', line 7

def target_class
  @target_class
end

#target_nodeObject



22
23
24
# File 'app/models/linked_rails/shacl/shape.rb', line 22

def target_node
  @target_node.respond_to?(:call) ? @target_node.call : @target_node
end

#target_objects_ofObject

SHACL attributes



7
8
9
# File 'app/models/linked_rails/shacl/shape.rb', line 7

def target_objects_of
  @target_objects_of
end

#target_subjects_ofObject

SHACL attributes



7
8
9
# File 'app/models/linked_rails/shacl/shape.rb', line 7

def target_subjects_of
  @target_subjects_of
end

#xoneObject

SHACL attributes



7
8
9
# File 'app/models/linked_rails/shacl/shape.rb', line 7

def xone
  @xone
end

Class Method Details

.iriObject



27
28
29
# File 'app/models/linked_rails/shacl/shape.rb', line 27

def iri
  Vocab.sh.Shape
end