Class: MOLGENIS::EntityModel
- Inherits:
-
Object
- Object
- MOLGENIS::EntityModel
- Defined in:
- lib/molgenis_model.rb
Overview
Definition of an Entity in MOLGENIS model
Instance Attribute Summary collapse
-
#abstract ⇒ Object
Returns the value of attribute abstract.
-
#color ⇒ Object
Returns the value of attribute color.
-
#description ⇒ Object
Returns the value of attribute description.
-
#extends ⇒ Object
Returns the value of attribute extends.
-
#fields ⇒ Object
Returns the value of attribute fields.
-
#implements ⇒ Object
Returns the value of attribute implements.
-
#label ⇒ Object
Returns the value of attribute label.
-
#module_name ⇒ Object
Returns the value of attribute module_name.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize ⇒ EntityModel
constructor
Creates an empty entity.
Constructor Details
#initialize ⇒ EntityModel
Creates an empty entity
60 61 62 63 |
# File 'lib/molgenis_model.rb', line 60 def initialize @fields = [] @implements = [] end |
Instance Attribute Details
#abstract ⇒ Object
Returns the value of attribute abstract.
57 58 59 |
# File 'lib/molgenis_model.rb', line 57 def abstract @abstract end |
#color ⇒ Object
Returns the value of attribute color.
57 58 59 |
# File 'lib/molgenis_model.rb', line 57 def color @color end |
#description ⇒ Object
Returns the value of attribute description.
57 58 59 |
# File 'lib/molgenis_model.rb', line 57 def description @description end |
#extends ⇒ Object
Returns the value of attribute extends.
57 58 59 |
# File 'lib/molgenis_model.rb', line 57 def extends @extends end |
#fields ⇒ Object
Returns the value of attribute fields.
57 58 59 |
# File 'lib/molgenis_model.rb', line 57 def fields @fields end |
#implements ⇒ Object
Returns the value of attribute implements.
57 58 59 |
# File 'lib/molgenis_model.rb', line 57 def implements @implements end |
#label ⇒ Object
Returns the value of attribute label.
57 58 59 |
# File 'lib/molgenis_model.rb', line 57 def label @label end |
#module_name ⇒ Object
Returns the value of attribute module_name.
57 58 59 |
# File 'lib/molgenis_model.rb', line 57 def module_name @module_name end |
#name ⇒ Object
Returns the value of attribute name.
57 58 59 |
# File 'lib/molgenis_model.rb', line 57 def name @name end |