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
32
33
34
|
# File 'lib/stupidedi/schema/element_use.rb', line 32
def composite?
not simple?
end
|
16
|
# File 'lib/stupidedi/schema/element_use.rb', line 16
abstract :definition
|
#empty(position) ⇒ SimpleElementVal, CompositeElementVal
23
24
25
|
# File 'lib/stupidedi/schema/element_use.rb', line 23
def empty(position)
definition.empty(self, position)
end
|
13
|
# File 'lib/stupidedi/schema/element_use.rb', line 13
abstract :requirement
|
#value(object, position) ⇒ SimpleElementVal, CompositeElementVal
28
29
30
|
# File 'lib/stupidedi/schema/element_use.rb', line 28
def value(object, position)
definition.value(object, self, position)
end
|