Class: Stupidedi::Schema::AbstractDef

Inherits:
Object
  • Object
show all
Defined in:
lib/stupidedi/schema/abstract_def.rb

Direct Known Subclasses

AbstractElementDef, FunctionalGroupDef, InterchangeDef, LoopDef, SegmentDef, TableDef, TransactionSetDef

Instance Method Summary (collapse)

Instance Method Details

- (Boolean) component?

Is this a component SimpleElementDef?

Returns:

  • (Boolean)


58
59
60
# File 'lib/stupidedi/schema/abstract_def.rb', line 58

def component?
  false
end

- (Boolean) composite?

Is this a CompositeElementDef?

Returns:

  • (Boolean)


53
54
55
# File 'lib/stupidedi/schema/abstract_def.rb', line 53

def composite?
  false
end

- (Boolean) definition?

Returns:

  • (Boolean)


10
11
12
# File 'lib/stupidedi/schema/abstract_def.rb', line 10

def definition?
  true
end

- (Boolean) element?

Returns:

  • (Boolean)


48
49
50
# File 'lib/stupidedi/schema/abstract_def.rb', line 48

def element?
  false
end

- (Boolean) functional_group?

Is this an FunctionalGroupDef?

Returns:

  • (Boolean)


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

def functional_group?
  false
end

- (Boolean) interchange?

Is this an InterchangeDef?

Returns:

  • (Boolean)


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

def interchange?
  false
end

- (Boolean) loop?

Is this a LoopDef?

Returns:

  • (Boolean)


38
39
40
# File 'lib/stupidedi/schema/abstract_def.rb', line 38

def loop?
  false
end

- (Boolean) repeated?

Returns:

  • (Boolean)


63
64
65
# File 'lib/stupidedi/schema/abstract_def.rb', line 63

def repeated?
  false
end

- (Boolean) segment?

Is this a SegmentDef?

Returns:

  • (Boolean)


43
44
45
# File 'lib/stupidedi/schema/abstract_def.rb', line 43

def segment?
  false
end

- (Boolean) simple?

Is this a non-component SimpleElementDef?

Returns:

  • (Boolean)


68
69
70
# File 'lib/stupidedi/schema/abstract_def.rb', line 68

def simple?
  false
end

- (Boolean) table?

Is this a TableDef?

Returns:

  • (Boolean)


33
34
35
# File 'lib/stupidedi/schema/abstract_def.rb', line 33

def table?
  false
end

- (Boolean) transaction_set?

Is this an TransactionSetDef?

Returns:

  • (Boolean)


28
29
30
# File 'lib/stupidedi/schema/abstract_def.rb', line 28

def transaction_set?
  false
end

- (Boolean) usage?

Returns:

  • (Boolean)


6
7
8
# File 'lib/stupidedi/schema/abstract_def.rb', line 6

def usage?
  false
end