Class: Stupidedi::Schema::AbstractElementDef
Instance Attribute Summary collapse
Instance Method Summary
collapse
Methods included from Inspect
#inspect
Methods inherited from AbstractDef
#component?, #definition?, #functional_group?, #interchange?, #loop?, #repeated?, #required?, #segment?, #table?, #transaction_set?, #usage?
Instance Attribute Details
#description ⇒ String
16
17
18
|
# File 'lib/stupidedi/schema/abstract_element_def.rb', line 16
def description
@description
end
|
#id ⇒ String
10
11
12
|
# File 'lib/stupidedi/schema/abstract_element_def.rb', line 10
def id
@id
end
|
#name ⇒ String
13
14
15
|
# File 'lib/stupidedi/schema/abstract_element_def.rb', line 13
def name
@name
end
|
Instance Method Details
#code_lists ⇒ AbstractSet<CodeList>
23
|
# File 'lib/stupidedi/schema/abstract_element_def.rb', line 23
abstract :code_lists
|
#composite? ⇒ Boolean
20
|
# File 'lib/stupidedi/schema/abstract_element_def.rb', line 20
abstract :composite?
|
#descriptor ⇒ String
26
27
28
|
# File 'lib/stupidedi/schema/abstract_element_def.rb', line 26
def descriptor
"element #{id} #{description}".strip
end
|
#element? ⇒ Boolean
30
31
32
|
# File 'lib/stupidedi/schema/abstract_element_def.rb', line 30
def element?
true
end
|
#simple? ⇒ Boolean
18
|
# File 'lib/stupidedi/schema/abstract_element_def.rb', line 18
abstract :simple?
|