Class: T2Flow::DataflowAnnotation

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initializeDataflowAnnotation

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

#authorsObject

A list of authors of the dataflow



64
65
66
# File 'lib/t2flow/model/dataflow.rb', line 64

def authors
  @authors
end

#descriptionsObject

A list ot descriptive strings about the dataflow.



61
62
63
# File 'lib/t2flow/model/dataflow.rb', line 61

def descriptions
  @descriptions
end

#nameObject

The name used of the dataflow



55
56
57
# File 'lib/t2flow/model/dataflow.rb', line 55

def name
  @name
end

#semantic_annotationObject

Returns the value of attribute semantic_annotation.



66
67
68
# File 'lib/t2flow/model/dataflow.rb', line 66

def semantic_annotation
  @semantic_annotation
end

#titlesObject

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