Class: Openphar::Models::PhInt::VolumetricSolution

Inherits:
Reagent
  • Object
show all
Defined in:
lib/openphar/models/ph_int/volumetric_solution.rb

Overview

Volumetric Solution

A solution of known concentration used for titrations. Volumetric solutions must be standardized against a primary standard.

Examples:

solution = PhInt::VolumetricSolution.new(
  id: 'phint-vs-hcl-01m',
  molarity: '0.1 mol/L',
  standardization: { 'primaryStandard' => 'Sodium carbonate' }
)

Class Method Summary collapse

Methods inherited from BaseEntity

jsonld_context, neo4j_label, neo4j_labels_string, #to_cypher, #to_cypher_match, #to_jsonld, #to_neo4j_node, #to_neo4j_properties

Class Method Details

.jsonld_typeObject



31
32
33
# File 'lib/openphar/models/ph_int/volumetric_solution.rb', line 31

def jsonld_type
  'VolumetricSolution'
end

.neo4j_labelsObject



27
28
29
# File 'lib/openphar/models/ph_int/volumetric_solution.rb', line 27

def neo4j_labels
  %w[Reagent VolumetricSolution]
end