This class represents content from the age-sex-group pattern in the schema. See the
definition of
this pattern in the schema.
# - - - - - c l a s s A g e S e x G r o u p
class AgeSexGroup:
"""Represents assorted details of birds sighted.
Exports:
AgeSexGroup ( age=None, sex=None, q=None, count=None,
fide=None ):
[ (age is an age code or None) and
(sex is a sex code or None) and
(q is a countability flag or None) and
(count is a count description string or None) and
(fide is an attribution or None) ->
return a new AgeSexGroup instance with those values ]
AgeSexGroup.readNode ( node ): # Static method
[ node is an et.Element ->
if node has any age-sex-group content ->
return an AgeSexGroup instance representing that
content
else -> return None ]
.writeNode ( parent ):
[ parent is an et.Element ->
parent := parent with self's age-sex-group
content attached ]
"""