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

#descriptionString (readonly)

Returns:



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

def description
  @description
end

#idString (readonly)

Returns:



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

def id
  @id
end

#nameString (readonly)

Returns:



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

def name
  @name
end

Instance Method Details

#code_listsAbstractSet<CodeList>

Returns:



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

abstract :code_lists

#element?Boolean

Returns:

  • (Boolean)


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

def element?
  true
end