Class: Stupidedi::Schema::AbstractElementUse
Instance Method Summary
collapse
Methods included from Inspect
#inspect
Methods inherited from AbstractUse
#component?, #definition?, #element?, #functional_group?, #interchange?, #loop?, #repeated?, #segment?, #simple?, #table?, #transaction_set?, #usage?
Instance Method Details
#composite? ⇒ Boolean
35
36
37
|
# File 'lib/stupidedi/schema/element_use.rb', line 35
def composite?
not simple?
end
|
19
|
# File 'lib/stupidedi/schema/element_use.rb', line 19
abstract :definition
|
#empty(position) ⇒ SimpleElementVal, CompositeElementVal
26
27
28
|
# File 'lib/stupidedi/schema/element_use.rb', line 26
def empty(position)
definition.empty(self, position)
end
|
16
|
# File 'lib/stupidedi/schema/element_use.rb', line 16
abstract :requirement
|
#value(object, position) ⇒ SimpleElementVal, CompositeElementVal
31
32
33
|
# File 'lib/stupidedi/schema/element_use.rb', line 31
def value(object, position)
definition.value(object, self, position)
end
|