Class: Stupidedi::Schema::AbstractDef
- Defined in:
- lib/stupidedi/schema/abstract_def.rb
Direct Known Subclasses
AbstractElementDef, FunctionalGroupDef, InterchangeDef, LoopDef, SegmentDef, TableDef, TransactionSetDef
Instance Method Summary collapse
-
#component? ⇒ Boolean
Is this a component SimpleElementDef?.
-
#composite? ⇒ Boolean
Is this a CompositeElementDef?.
- #definition? ⇒ Boolean
-
#element? ⇒ Boolean
Is this a AbstractElementDef?.
-
#functional_group? ⇒ Boolean
Is this an FunctionalGroupDef?.
-
#interchange? ⇒ Boolean
Is this an InterchangeDef?.
-
#loop? ⇒ Boolean
Is this a LoopDef?.
-
#repeated? ⇒ Boolean
Is this a repeated AbstractElementDef?.
-
#segment? ⇒ Boolean
Is this a SegmentDef?.
-
#simple? ⇒ Boolean
Is this a non-component SimpleElementDef?.
-
#table? ⇒ Boolean
Is this a TableDef?.
-
#transaction_set? ⇒ Boolean
Is this an TransactionSetDef?.
- #usage? ⇒ Boolean
Instance Method Details
#component? ⇒ Boolean
Is this a component SimpleElementDef?
58 59 60 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 58 def component? false end |
#composite? ⇒ Boolean
Is this a CompositeElementDef?
53 54 55 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 53 def composite? false end |
#definition? ⇒ Boolean
10 11 12 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 10 def definition? true end |
#element? ⇒ Boolean
Is this a Stupidedi::Schema::AbstractElementDef?
48 49 50 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 48 def element? false end |
#functional_group? ⇒ Boolean
Is this an FunctionalGroupDef?
23 24 25 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 23 def functional_group? false end |
#interchange? ⇒ Boolean
Is this an InterchangeDef?
18 19 20 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 18 def interchange? false end |
#loop? ⇒ Boolean
Is this a LoopDef?
38 39 40 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 38 def loop? false end |
#repeated? ⇒ Boolean
Is this a repeated Stupidedi::Schema::AbstractElementDef?
63 64 65 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 63 def repeated? false end |
#segment? ⇒ Boolean
Is this a SegmentDef?
43 44 45 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 43 def segment? false end |
#simple? ⇒ Boolean
Is this a non-component SimpleElementDef?
68 69 70 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 68 def simple? false end |
#table? ⇒ Boolean
Is this a TableDef?
33 34 35 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 33 def table? false end |
#transaction_set? ⇒ Boolean
Is this an TransactionSetDef?
28 29 30 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 28 def transaction_set? false end |
#usage? ⇒ Boolean
6 7 8 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 6 def usage? false end |