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.
-
#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
45 46 47 48 |
# File 'lib/molgenis_model.rb', line 45 def initialize @fields = [] @implements = [] end |
Instance Attribute Details
#abstract ⇒ Object
Returns the value of attribute abstract.
42 43 44 |
# File 'lib/molgenis_model.rb', line 42 def abstract @abstract end |
#color ⇒ Object
Returns the value of attribute color.
42 43 44 |
# File 'lib/molgenis_model.rb', line 42 def color @color end |
#extends ⇒ Object
Returns the value of attribute extends.
42 43 44 |
# File 'lib/molgenis_model.rb', line 42 def extends @extends end |
#fields ⇒ Object
Returns the value of attribute fields.
42 43 44 |
# File 'lib/molgenis_model.rb', line 42 def fields @fields end |
#implements ⇒ Object
Returns the value of attribute implements.
42 43 44 |
# File 'lib/molgenis_model.rb', line 42 def implements @implements end |
#label ⇒ Object
Returns the value of attribute label.
42 43 44 |
# File 'lib/molgenis_model.rb', line 42 def label @label end |
#module_name ⇒ Object
Returns the value of attribute module_name.
42 43 44 |
# File 'lib/molgenis_model.rb', line 42 def module_name @module_name end |
#name ⇒ Object
Returns the value of attribute name.
42 43 44 |
# File 'lib/molgenis_model.rb', line 42 def name @name end |