Class: Stupidedi::Schema::AbstractElementDef

Inherits:
AbstractDef show all
Includes:
Inspect
Defined in:
lib/stupidedi/schema/element_def.rb

Direct Known Subclasses

CompositeElementDef, SimpleElementDef

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Methods included from Inspect

#inspect

Methods inherited from AbstractDef

#component?, #composite?, #definition?, #functional_group?, #interchange?, #loop?, #repeated?, #segment?, #simple?, #table?, #transaction_set?, #usage?

Instance Attribute Details

- (String) description (readonly)



14
15
16
# File 'lib/stupidedi/schema/element_def.rb', line 14

def description
  @description
end

- (String) id (readonly)



8
9
10
# File 'lib/stupidedi/schema/element_def.rb', line 8

def id
  @id
end

- (String) name (readonly)



11
12
13
# File 'lib/stupidedi/schema/element_def.rb', line 11

def name
  @name
end

Instance Method Details

- (AbstractSet<CodeList>) code_lists



21
# File 'lib/stupidedi/schema/element_def.rb', line 21

abstract :code_lists

- (Boolean) element?



23
24
25
# File 'lib/stupidedi/schema/element_def.rb', line 23

def element?
  true
end