Class: T2Flow::DataflowAnnotation
- Inherits:
-
Object
- Object
- T2Flow::DataflowAnnotation
- Defined in:
- lib/t2flow/model/dataflow.rb
Overview
TODO: Remove this class. Not useful 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.
68 69 70 |
# File 'lib/t2flow/model/dataflow.rb', line 68 def initialize @authors, @descriptions, @titles = [], [], [] end |
Instance Attribute Details
#authors ⇒ Object
A list of authors of the dataflow
64 65 66 |
# File 'lib/t2flow/model/dataflow.rb', line 64 def @authors end |
#descriptions ⇒ Object
A list ot descriptive strings about the dataflow.
61 62 63 |
# File 'lib/t2flow/model/dataflow.rb', line 61 def descriptions @descriptions end |
#name ⇒ Object
The name used of the dataflow
55 56 57 |
# File 'lib/t2flow/model/dataflow.rb', line 55 def name @name end |
#semantic_annotation ⇒ Object
Returns the value of attribute semantic_annotation.
66 67 68 |
# File 'lib/t2flow/model/dataflow.rb', line 66 def semantic_annotation @semantic_annotation end |
#titles ⇒ Object
A list of titles that have been assigned to the dataflow.
58 59 60 |
# File 'lib/t2flow/model/dataflow.rb', line 58 def titles @titles end |