Class: NCBO::ResourceIndex::Element

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

Instance Attribute Summary collapse

Instance Attribute Details

#idObject Also known as: localElementId

Returns the value of attribute id.



17
18
19
# File 'lib/ncbo_resource_index_client/data.rb', line 17

def id
  @id
end

#ontoIdsObject

Returns the value of attribute ontoIds.



17
18
19
# File 'lib/ncbo_resource_index_client/data.rb', line 17

def ontoIds
  @ontoIds
end

#resourceObject

Returns the value of attribute resource.



17
18
19
# File 'lib/ncbo_resource_index_client/data.rb', line 17

def resource
  @resource
end

#textObject

Returns the value of attribute text.



17
18
19
# File 'lib/ncbo_resource_index_client/data.rb', line 17

def text
  @text
end

#weightsObject

Returns the value of attribute weights.



17
18
19
# File 'lib/ncbo_resource_index_client/data.rb', line 17

def weights
  @weights
end