Class: SDL::Base::Fact
- Defined in:
- lib/sdl/base/fact.rb,
lib/sdl/exporters/xml_mapping.rb
Overview
A fact, which is known about a service.
Facts are defined by using a ServiceCompendium.
Instance Attribute Summary collapse
-
#service ⇒ Object
Returns the value of attribute service.
Attributes inherited from Type
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Type
#annotated?, #annotations, documentation_key, #documentation_key, is_sub?, list_item?, local_name, local_name=, multi_property?, properties, #property_values, propertyless?, #rdf_object, single_property, single_property?, #to_s, to_s, xsd_element_name
Methods included from URIMappedResource
Instance Attribute Details
#service ⇒ Object
Returns the value of attribute service.
6 7 8 |
# File 'lib/sdl/base/fact.rb', line 6 def service @service end |
Class Method Details
.xsd_type_name ⇒ Object
27 28 29 |
# File 'lib/sdl/exporters/xml_mapping.rb', line 27 def xsd_type_name "#{local_name}Fact" end |
Instance Method Details
#parent ⇒ Object
8 9 10 |
# File 'lib/sdl/base/fact.rb', line 8 def parent service end |