Class: Stupidedi::Schema::AbstractUse
- Defined in:
- lib/stupidedi/schema/abstract_use.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#component? ⇒ Boolean
Is this a component SimpleElementUse?.
-
#composite? ⇒ Boolean
Is this a CompositeElementUse?.
- #definition? ⇒ Boolean
-
#element? ⇒ Boolean
Is this a AbstractElementUse?.
- #functional_group? ⇒ Boolean
-
#interchange? ⇒ Boolean
The definitions for these types, like InterchangeDef aren’t reused, so they don’t have corresponding AbstractUse subclasses.
- #loop? ⇒ Boolean
-
#repeated? ⇒ Boolean
Is this a repeatable AbstractUse?.
-
#segment? ⇒ Boolean
Is this a SegmentUse?.
-
#simple? ⇒ Boolean
Is this a non-component SimpleElementUse?.
- #table? ⇒ Boolean
- #transaction_set? ⇒ Boolean
- #usage? ⇒ Boolean
Instance Method Details
#component? ⇒ Boolean
Is this a component SimpleElementUse?
33 34 35 |
# File 'lib/stupidedi/schema/abstract_use.rb', line 33 def component? false end |
#composite? ⇒ Boolean
Is this a CompositeElementUse?
28 29 30 |
# File 'lib/stupidedi/schema/abstract_use.rb', line 28 def composite? false end |
#definition? ⇒ Boolean
10 11 12 |
# File 'lib/stupidedi/schema/abstract_use.rb', line 10 def definition? true end |
#element? ⇒ Boolean
Is this a Stupidedi::Schema::AbstractElementUse?
23 24 25 |
# File 'lib/stupidedi/schema/abstract_use.rb', line 23 def element? false end |
#functional_group? ⇒ Boolean
55 56 57 |
# File 'lib/stupidedi/schema/abstract_use.rb', line 55 def functional_group? false end |
#interchange? ⇒ Boolean
The definitions for these types, like InterchangeDef aren’t reused, so they don’t have corresponding AbstractUse subclasses.
51 52 53 |
# File 'lib/stupidedi/schema/abstract_use.rb', line 51 def interchange? false end |
#loop? ⇒ Boolean
67 68 69 |
# File 'lib/stupidedi/schema/abstract_use.rb', line 67 def loop? false end |
#repeated? ⇒ Boolean
Is this a repeatable Stupidedi::Schema::AbstractUse?
38 39 40 |
# File 'lib/stupidedi/schema/abstract_use.rb', line 38 def repeated? false end |
#segment? ⇒ Boolean
Is this a SegmentUse?
18 19 20 |
# File 'lib/stupidedi/schema/abstract_use.rb', line 18 def segment? false end |
#simple? ⇒ Boolean
Is this a non-component SimpleElementUse?
43 44 45 |
# File 'lib/stupidedi/schema/abstract_use.rb', line 43 def simple? false end |
#table? ⇒ Boolean
63 64 65 |
# File 'lib/stupidedi/schema/abstract_use.rb', line 63 def table? false end |
#transaction_set? ⇒ Boolean
59 60 61 |
# File 'lib/stupidedi/schema/abstract_use.rb', line 59 def transaction_set? false end |
#usage? ⇒ Boolean
6 7 8 |
# File 'lib/stupidedi/schema/abstract_use.rb', line 6 def usage? true end |