Class: LinkedRails::SHACL::Shape
- Defined in:
- app/models/linked_rails/shacl/shape.rb
Direct Known Subclasses
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
-
#and ⇒ Object
SHACL attributes.
-
#deactivated ⇒ Object
SHACL attributes.
-
#message ⇒ Object
SHACL attributes.
-
#node_kind ⇒ Object
SHACL attributes.
-
#or ⇒ Object
SHACL attributes.
-
#severity ⇒ Object
SHACL attributes.
-
#sh_not ⇒ Object
SHACL attributes.
-
#target_class ⇒ Object
SHACL attributes.
- #target_node ⇒ Object
-
#target_objects_of ⇒ Object
SHACL attributes.
-
#target_subjects_of ⇒ Object
SHACL attributes.
-
#xone ⇒ Object
SHACL attributes.
Attributes inherited from Resource
Class Method Summary collapse
Methods inherited from Resource
Methods included from Model
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
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
Methods included from Model::Dirty
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
#and ⇒ Object
SHACL attributes
7 8 9 |
# File 'app/models/linked_rails/shacl/shape.rb', line 7 def and @and end |
#deactivated ⇒ Object
SHACL attributes
7 8 9 |
# File 'app/models/linked_rails/shacl/shape.rb', line 7 def deactivated @deactivated end |
#message ⇒ Object
SHACL attributes
7 8 9 |
# File 'app/models/linked_rails/shacl/shape.rb', line 7 def @message end |
#node_kind ⇒ Object
SHACL attributes
7 8 9 |
# File 'app/models/linked_rails/shacl/shape.rb', line 7 def node_kind @node_kind end |
#or ⇒ Object
SHACL attributes
7 8 9 |
# File 'app/models/linked_rails/shacl/shape.rb', line 7 def or @or end |
#severity ⇒ Object
SHACL attributes
7 8 9 |
# File 'app/models/linked_rails/shacl/shape.rb', line 7 def severity @severity end |
#sh_not ⇒ Object
SHACL attributes
7 8 9 |
# File 'app/models/linked_rails/shacl/shape.rb', line 7 def sh_not @sh_not end |
#target_class ⇒ Object
SHACL attributes
7 8 9 |
# File 'app/models/linked_rails/shacl/shape.rb', line 7 def target_class @target_class end |
#target_node ⇒ Object
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_of ⇒ Object
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_of ⇒ Object
SHACL attributes
7 8 9 |
# File 'app/models/linked_rails/shacl/shape.rb', line 7 def target_subjects_of @target_subjects_of end |
#xone ⇒ Object
SHACL attributes
7 8 9 |
# File 'app/models/linked_rails/shacl/shape.rb', line 7 def xone @xone end |
Class Method Details
.iri ⇒ Object
27 28 29 |
# File 'app/models/linked_rails/shacl/shape.rb', line 27 def iri Vocab.sh.Shape end |