Class: T2Flow::DataflowAnnotation

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

Instance Method Summary collapse

Constructor Details

#initializeDataflowAnnotation

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

#authorsObject

A list of authors of the dataflow



330
331
332
# File 'lib/t2flow/model.rb', line 330

def authors
  @authors
end

#descriptionsObject

A list ot descriptive strings about the dataflow.



327
328
329
# File 'lib/t2flow/model.rb', line 327

def descriptions
  @descriptions
end

#nameObject

The name used of the dataflow



321
322
323
# File 'lib/t2flow/model.rb', line 321

def name
  @name
end

#semantic_annotationObject

Returns the value of attribute semantic_annotation.



332
333
334
# File 'lib/t2flow/model.rb', line 332

def semantic_annotation
  @semantic_annotation
end

#titlesObject

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