Class: Lutaml::Qea::Models::EaStereotype
- Defined in:
- lib/lutaml/qea/models/ea_stereotype.rb
Overview
Represents a stereotype definition from t_stereotypes table
Stereotypes are UML profile extensions that classify elements. This table stores stereotype DEFINITIONS (not instances). Individual elements reference these stereotypes by name.
Class Method Summary collapse
-
.primary_key_column ⇒ Object
No primary key - this is a lookup/reference table.
- .table_name ⇒ Object
Instance Method Summary collapse
-
#element_type ⇒ String
Get friendly name for applies_to.
-
#metafile_enabled? ⇒ Boolean
Check if stereotype is enabled for metafile.
Methods inherited from BaseModel
Class Method Details
.primary_key_column ⇒ Object
No primary key - this is a lookup/reference table
35 36 37 |
# File 'lib/lutaml/qea/models/ea_stereotype.rb', line 35 def self.primary_key_column nil end |
.table_name ⇒ Object
30 31 32 |
# File 'lib/lutaml/qea/models/ea_stereotype.rb', line 30 def self.table_name "t_stereotypes" end |
Instance Method Details
#element_type ⇒ String
Get friendly name for applies_to
47 48 49 |
# File 'lib/lutaml/qea/models/ea_stereotype.rb', line 47 def element_type appliesto end |
#metafile_enabled? ⇒ Boolean
Check if stereotype is enabled for metafile
41 42 43 |
# File 'lib/lutaml/qea/models/ea_stereotype.rb', line 41 def mfenabled == 1 end |