Class: Stupidedi::Schema::AbstractDef
- Inherits:
-
Object
- Object
- 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
- #descriptor ⇒ String
-
#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?.
- #required? ⇒ Boolean abstract
-
#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?
61 62 63 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 61 def component? false end |
#composite? ⇒ Boolean
Is this a CompositeElementDef?
56 57 58 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 56 def composite? false end |
#definition? ⇒ Boolean
11 12 13 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 11 def definition? true end |
#descriptor ⇒ String
16 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 16 abstract :descriptor |
#element? ⇒ Boolean
Is this a Stupidedi::Schema::AbstractElementDef?
51 52 53 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 51 def element? false end |
#functional_group? ⇒ Boolean
Is this an FunctionalGroupDef?
26 27 28 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 26 def functional_group? false end |
#interchange? ⇒ Boolean
Is this an InterchangeDef?
21 22 23 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 21 def interchange? false end |
#loop? ⇒ Boolean
Is this a LoopDef?
41 42 43 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 41 def loop? false end |
#repeated? ⇒ Boolean
Is this a repeated Stupidedi::Schema::AbstractElementDef?
66 67 68 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 66 def repeated? false end |
#required? ⇒ Boolean
18 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 18 abstract :required? |
#segment? ⇒ Boolean
Is this a SegmentDef?
46 47 48 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 46 def segment? false end |
#simple? ⇒ Boolean
Is this a non-component SimpleElementDef?
71 72 73 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 71 def simple? false end |
#table? ⇒ Boolean
Is this a TableDef?
36 37 38 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 36 def table? false end |
#transaction_set? ⇒ Boolean
Is this an TransactionSetDef?
31 32 33 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 31 def transaction_set? false end |
#usage? ⇒ Boolean
7 8 9 |
# File 'lib/stupidedi/schema/abstract_def.rb', line 7 def usage? false end |