Class: BELParser::Resource::JenaTDBReader::ConceptScheme
- Inherits:
-
Object
- Object
- BELParser::Resource::JenaTDBReader::ConceptScheme
- Includes:
- Dataset
- Defined in:
- lib/bel_parser/resource/jena_tdb_reader.rb
Overview
ConceptScheme
Constant Summary
Constants included from Dataset
Dataset::ANNOTATION, Dataset::NAMESPACE
Instance Attribute Summary collapse
-
#domain ⇒ Object
readonly
Returns the value of attribute domain.
-
#identifier ⇒ Object
readonly
Returns the value of attribute identifier.
-
#keyword ⇒ Object
readonly
Returns the value of attribute keyword.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#types ⇒ Object
readonly
Returns the value of attribute types.
Instance Method Summary collapse
-
#initialize(uri, domain, prefix, name, types) ⇒ ConceptScheme
constructor
A new instance of ConceptScheme.
Methods included from Dataset
#<=>, #==, #annotation_resource?, #hash, #namespace_resource?, #uri?, #url?
Constructor Details
#initialize(uri, domain, prefix, name, types) ⇒ ConceptScheme
Returns a new instance of ConceptScheme.
159 160 161 162 163 164 165 |
# File 'lib/bel_parser/resource/jena_tdb_reader.rb', line 159 def initialize(uri, domain, prefix, name, types) @identifier = uri @domain = domain.to_s @keyword = prefix.to_s @name = name.to_s @types = convert_types(types) end |
Instance Attribute Details
#domain ⇒ Object (readonly)
Returns the value of attribute domain.
157 158 159 |
# File 'lib/bel_parser/resource/jena_tdb_reader.rb', line 157 def domain @domain end |
#identifier ⇒ Object (readonly)
Returns the value of attribute identifier.
157 158 159 |
# File 'lib/bel_parser/resource/jena_tdb_reader.rb', line 157 def identifier @identifier end |
#keyword ⇒ Object (readonly)
Returns the value of attribute keyword.
157 158 159 |
# File 'lib/bel_parser/resource/jena_tdb_reader.rb', line 157 def keyword @keyword end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
157 158 159 |
# File 'lib/bel_parser/resource/jena_tdb_reader.rb', line 157 def name @name end |
#types ⇒ Object (readonly)
Returns the value of attribute types.
157 158 159 |
# File 'lib/bel_parser/resource/jena_tdb_reader.rb', line 157 def types @types end |