An instance of this class represents one band number. For the format of this field, see the specification.
# - - - - - c l a s s B a n d N o F i e l d - - - - -
class BandNoField(FieldItem):
'''Represents a band number.
Exports:
BandNoField(encounter, s):
[ s is a string of 9 characters ->
return a BandNoField object with band number s ]
.encounter: [ as passed to constructor, read-only ]
.s: [ as passed to constructor, read-only ]
.prefix(): [ return the prefix part of self ]
.suffix(): [ return the suffix part of self ]
.incrementPrefix():
[ return the prefix part of self, with 1 added,
allowing for rollover ]
BandNoField.scanField(): [ as in class FieldItem ]
BandNoField.flatten(): [ as in class FieldItem ]
BandNoField.attachSuffix(encounter, prefix, suffix): # Static
[ (prefix is a band prefix) and (suffix is a band suffix) ->
return a new BandNoField object representing the
concatenation of those strings, allowing for
rollover in the 00 case ]
'''