Class: MOLGENIS::EntityModel

Inherits:
Object
  • Object
show all
Defined in:
lib/molgenis_model.rb

Overview

Definition of an Entity in MOLGENIS model

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEntityModel

Creates an empty entity



60
61
62
63
# File 'lib/molgenis_model.rb', line 60

def initialize
  @fields = []
  @implements = []
end

Instance Attribute Details

#abstractObject

Returns the value of attribute abstract.



57
58
59
# File 'lib/molgenis_model.rb', line 57

def abstract
  @abstract
end

#colorObject

Returns the value of attribute color.



57
58
59
# File 'lib/molgenis_model.rb', line 57

def color
  @color
end

#descriptionObject

Returns the value of attribute description.



57
58
59
# File 'lib/molgenis_model.rb', line 57

def description
  @description
end

#extendsObject

Returns the value of attribute extends.



57
58
59
# File 'lib/molgenis_model.rb', line 57

def extends
  @extends
end

#fieldsObject

Returns the value of attribute fields.



57
58
59
# File 'lib/molgenis_model.rb', line 57

def fields
  @fields
end

#implementsObject

Returns the value of attribute implements.



57
58
59
# File 'lib/molgenis_model.rb', line 57

def implements
  @implements
end

#labelObject

Returns the value of attribute label.



57
58
59
# File 'lib/molgenis_model.rb', line 57

def label
  @label
end

#module_nameObject

Returns the value of attribute module_name.



57
58
59
# File 'lib/molgenis_model.rb', line 57

def module_name
  @module_name
end

#nameObject

Returns the value of attribute name.



57
58
59
# File 'lib/molgenis_model.rb', line 57

def name
  @name
end