Class: T2Flow::DataflowAnnotation
- Inherits:
-
Object
- Object
- T2Flow::DataflowAnnotation
- Defined in:
- lib/t2flow/model.rb
Overview
This is the annotation object specific to the dataflow it belongs to. A DataflowAnnotation contains metadata about a given dataflow element.
Instance Attribute Summary collapse
-
#authors ⇒ Object
A list of authors of the dataflow.
-
#descriptions ⇒ Object
A list ot descriptive strings about the dataflow.
-
#name ⇒ Object
The name used of the dataflow.
-
#semantic_annotation ⇒ Object
Returns the value of attribute semantic_annotation.
-
#titles ⇒ Object
A list of titles that have been assigned to the dataflow.
Instance Method Summary collapse
-
#initialize ⇒ DataflowAnnotation
constructor
A new instance of DataflowAnnotation.
Constructor Details
#initialize ⇒ DataflowAnnotation
Returns a new instance of DataflowAnnotation.
334 335 336 |
# File 'lib/t2flow/model.rb', line 334 def initialize @authors, @descriptions, @titles = [], [], [] end |
Instance Attribute Details
#authors ⇒ Object
A list of authors of the dataflow
330 331 332 |
# File 'lib/t2flow/model.rb', line 330 def @authors end |
#descriptions ⇒ Object
A list ot descriptive strings about the dataflow.
327 328 329 |
# File 'lib/t2flow/model.rb', line 327 def descriptions @descriptions end |
#name ⇒ Object
The name used of the dataflow
321 322 323 |
# File 'lib/t2flow/model.rb', line 321 def name @name end |
#semantic_annotation ⇒ Object
Returns the value of attribute semantic_annotation.
332 333 334 |
# File 'lib/t2flow/model.rb', line 332 def semantic_annotation @semantic_annotation end |
#titles ⇒ Object
A list of titles that have been assigned to the dataflow.
324 325 326 |
# File 'lib/t2flow/model.rb', line 324 def titles @titles end |