class ActiveFacts::Metamodel::Composition
Public Instance Methods
classify_constraints()
click to toggle source
# File lib/activefacts/compositions/constraints.rb, line 15 def classify_constraints retract_constraint_classifications all_composite.each(&:classify_constraints) end
retract_constraint_classifications()
click to toggle source
# File lib/activefacts/compositions/constraints.rb, line 11 def retract_constraint_classifications all_composite.each(&:retract_constraint_classifications) end
summary()
click to toggle source
# File lib/activefacts/generator/summary.rb, line 38 def summary classify_constraints vn = (v = constellation.Vocabulary.values[0]) ? v.version_number : nil version_str = vn ? " version #{vn}" : '' "Summary of #{name}#{version_str}\n" + all_composite. sort_by{|composite| composite.mapping.name}. flat_map do |composite| composite.summary end*'' end