Class: KeytechKit::DataDictionaryDefinition
- Inherits:
-
Object
- Object
- KeytechKit::DataDictionaryDefinition
- Defined in:
- lib/keytechKit/elements/data_dictionary/data_dictionary_definition.rb
Overview
Represents a single attribute - target attribute relationship
Instance Attribute Summary collapse
-
#attribute ⇒ Object
Data dictionray attribute.
-
#displayText ⇒ Object
Localized displaytext.
-
#toTargetAttribute ⇒ Object
target attribute to map to.
Instance Method Summary collapse
-
#initialize(data) ⇒ DataDictionaryDefinition
constructor
A new instance of DataDictionaryDefinition.
Constructor Details
#initialize(data) ⇒ DataDictionaryDefinition
Returns a new instance of DataDictionaryDefinition.
17 18 19 20 21 |
# File 'lib/keytechKit/elements/data_dictionary/data_dictionary_definition.rb', line 17 def initialize(data) self.attribute = data['Attribute'] self.toTargetAttribute = data['ToTargetAttribute'] self.displayText = data['Displaytext'] end |
Instance Attribute Details
#attribute ⇒ Object
Data dictionray attribute
9 10 11 |
# File 'lib/keytechKit/elements/data_dictionary/data_dictionary_definition.rb', line 9 def attribute @attribute end |
#displayText ⇒ Object
Localized displaytext
15 16 17 |
# File 'lib/keytechKit/elements/data_dictionary/data_dictionary_definition.rb', line 15 def displayText @displayText end |
#toTargetAttribute ⇒ Object
target attribute to map to
12 13 14 |
# File 'lib/keytechKit/elements/data_dictionary/data_dictionary_definition.rb', line 12 def toTargetAttribute @toTargetAttribute end |