Class: Stupidedi::Schema::AbstractElementDef

Inherits:
AbstractDef
  • Object
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

#descriptionString (readonly)

Returns:

  • (String)


18
19
20
# File 'lib/stupidedi/schema/element_def.rb', line 18

def description
  @description
end

#idString (readonly)

Returns:

  • (String)


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

def id
  @id
end

#nameString (readonly)

Returns:

  • (String)


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

def name
  @name
end

Instance Method Details

#code_listsAbstractSet<CodeList>

Returns:



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

abstract :code_lists

#element?Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/stupidedi/schema/element_def.rb', line 27

def element?
  true
end