Class: Archimate::DataModel::Elements::Constraint

Inherits:
Archimate::DataModel::Element show all
Defined in:
lib/archimate/data_model/elements.rb

Constant Summary collapse

NAME =
"Constraint"
DESCRIPTION =
"A constraint represents a factor that prevents or obstructs the realization of goals."
CLASSIFICATION =
:active_structure
LAYER =
Layers::Motivation

Instance Attribute Summary

Attributes inherited from Archimate::DataModel::Element

#documentation, #id, #name, #other_attributes, #other_elements, #properties

Instance Method Summary collapse

Methods inherited from Archimate::DataModel::Element

#classification, #diagrams, #layer, #merge, #to_s, #type

Methods included from RelationshipReferences

define_source_relationship_creation_method, define_target_relationship_creation_method, define_typed_elements_method, define_typed_relationships_method, define_typed_targeted_elements_method, define_typed_targeted_relationships_method, included, #relationships, #source_relationships, #target_relationships

Methods included from Referenceable

#add_reference, #destroy, #model, #references, #remove_reference, #replace_item_with, #replace_with

Methods included from Comparison

#==, #[], #dig, #each, #hash, included, #inspect, #pretty_print, #to_h

Constructor Details

#initialize(args) ⇒ Constraint

Returns a new instance of Constraint.



549
550
551
# File 'lib/archimate/data_model/elements.rb', line 549

def initialize(args)
  super
end