Class: Stupidedi::Schema::AbstractDef

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

Instance Method Summary collapse

Instance Method Details

#component?Boolean

Is this a component SimpleElementDef?

Returns:

  • (Boolean)


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

def component?
  false
end

#composite?Boolean

Is this a CompositeElementDef?

Returns:

  • (Boolean)


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

def composite?
  false
end

#definition?Boolean

Returns:

  • (Boolean)


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

def definition?
  true
end

#element?Boolean

Returns:

  • (Boolean)


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

def element?
  false
end

#functional_group?Boolean

Is this an FunctionalGroupDef?

Returns:

  • (Boolean)


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

def functional_group?
  false
end

#interchange?Boolean

Is this an InterchangeDef?

Returns:

  • (Boolean)


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

def interchange?
  false
end

#loop?Boolean

Is this a LoopDef?

Returns:

  • (Boolean)


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

def loop?
  false
end

#repeated?Boolean

Returns:

  • (Boolean)


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

def repeated?
  false
end

#segment?Boolean

Is this a SegmentDef?

Returns:

  • (Boolean)


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

def segment?
  false
end

#simple?Boolean

Is this a non-component SimpleElementDef?

Returns:

  • (Boolean)


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

def simple?
  false
end

#table?Boolean

Is this a TableDef?

Returns:

  • (Boolean)


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

def table?
  false
end

#transaction_set?Boolean

Is this an TransactionSetDef?

Returns:

  • (Boolean)


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

def transaction_set?
  false
end

#usage?Boolean

Returns:

  • (Boolean)


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

def usage?
  false
end