"""
#######################################################################

CCPN Data Model version 2.1.2

Autogenerated by PyXmlMapWrite revision 1.29 on Mon Mar  2 17:24:11 2015
  from data model element ccp.lims.Target revision ?

#######################################################################
======================COPYRIGHT/LICENSE START==========================

Target.py: python XML-I/O-mapping for CCPN data model, MetaPackage ccp.lims.Target

Copyright (C) 2007 Anne Pajon (MSD group, EBI)

=======================================================================

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
 
A copy of this license can be found in ../../../../license/LGPL.license
 
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
 
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


======================COPYRIGHT/LICENSE END============================

for further information, please contact :

- PIMS website (http://www.pims-lims.org)

- email: Anne Pajon, pajon@ebi.ac.uk

=======================================================================

If you are using this software for academic purposes, we suggest
quoting the following references:

===========================REFERENCE START=============================
A. Pajon, J. Ionides, J. Diprose, J. Fillon, R. Fogh, A.W. Ashton,
H. Berman, W. Boucher, M. Cygler, E. Deleury, R. Esnouf, J. Janin, R. Kim,
I. Krimm, C.L. Lawson, E. Oeuillet, A. Poupon, S. Raymond, T. Stevens,
H. van Tilbeurgh, J. Westbrook, P. Wood, E. Ulrich, W. Vranken, L. Xueli,
E. Laue, D.I. Stuart, and K. Henrick (2005). Design of a Data Model for
Developing Laboratory Information Management and Analysis Systems for
Protein Production. Proteins: Structure, Function and Bioinformatics 58,
278-284.


This file was generated with the Memops software generation framework,
and contains original contributions embedded in the framework

===========================REFERENCE END===============================
"""
from memops.general.Constants import baseDataTypeModule as basicDataTypes
# 
#  Current package api
import ccp.api.lims.Target

def makeMapping(globalMap):
  """
  generates XML I/O mapping for package TARG, adding it to globalMap
  """
  
  from memops.xml.Implementation import bool2str, str2bool

  # Set up top level dictionaries
  loadMaps = globalMap.get('loadMaps')
  mapsByGuid = globalMap.get('mapsByGuid')

  abstractTypes = globalMap.get('TARG').get('abstractTypes')
  exolinks = globalMap.get('TARG').get('exolinks')

  # Class Project
  currentMap = {}
  abstractTypes['Project'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-14:22:51_00036'] = currentMap
  loadMaps['TARG.Project'] = currentMap
  currentMap['tag'] = 'TARG.Project'
  currentMap['type'] = 'class'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-14:22:51_00036'
  currentMap['eType'] = 'cplx'
  currentMap['fromParent'] = 'projects'
  currentMap['objkey'] = 'serial'
  currentMap['class'] = ccp.api.lims.Target.Project
  contentMap = {}
  currentMap['content'] = contentMap

  # Attribute Project.applicationData
  contentMap['applicationData'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-09-14-18:48:27_00007')

  # Attribute Project.completeName
  currentMap = {}
  contentMap['completeName'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00022'] = currentMap
  loadMaps['TARG.Project.completeName'] = currentMap
  currentMap['tag'] = 'TARG.Project.completeName'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00022'
  currentMap['name'] = 'completeName'
  currentMap['hicard'] = 1
  currentMap['locard'] = 1
  currentMap['eType'] = 'cplx'
  currentMap['proc'] = 'direct'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00035')

  # Attribute Project.serial
  currentMap = {}
  contentMap['serial'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00020'] = currentMap
  loadMaps['TARG.Project.serial'] = currentMap
  currentMap['tag'] = 'TARG.Project.serial'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00020'
  currentMap['name'] = 'serial'
  currentMap['hicard'] = 1
  currentMap['locard'] = 1
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00032')

  # Attribute Project.shortName
  currentMap = {}
  contentMap['shortName'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00021'] = currentMap
  loadMaps['TARG.Project.shortName'] = currentMap
  currentMap['tag'] = 'TARG.Project.shortName'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00021'
  currentMap['name'] = 'shortName'
  currentMap['hicard'] = 1
  currentMap['locard'] = 1
  currentMap['eType'] = 'cplx'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00033')

  # Attribute Project.startDate
  currentMap = {}
  contentMap['startDate'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00023'] = currentMap
  loadMaps['TARG.Project.startDate'] = currentMap
  currentMap['tag'] = 'TARG.Project.startDate'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00023'
  currentMap['name'] = 'startDate'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['proc'] = 'direct'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00029')

  # Role Project.access
  contentMap['access'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-12-31-09:03:01_00014')

  # Role Project.project
  currentMap = {}
  contentMap['project'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00016'] = currentMap
  loadMaps['TARG.Project.project'] = currentMap
  currentMap['tag'] = 'TARG.Project.project'
  currentMap['type'] = 'link'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00016'
  currentMap['name'] = 'project'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['copyOverride'] = True

  # Role Project.subProjects
  currentMap = {}
  contentMap['subProjects'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00017'] = currentMap
  loadMaps['TARG.Project.subProjects'] = currentMap
  currentMap['tag'] = 'TARG.Project.subProjects'
  currentMap['type'] = 'link'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00017'
  currentMap['name'] = 'subProjects'
  currentMap['hicard'] = -1
  currentMap['locard'] = 0
  currentMap['copyOverride'] = False

  # Role Project.targets
  currentMap = {}
  contentMap['targets'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00013'] = currentMap
  loadMaps['TARG.Project.targets'] = currentMap
  currentMap['tag'] = 'TARG.Project.targets'
  currentMap['type'] = 'link'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00013'
  currentMap['name'] = 'targets'
  currentMap['hicard'] = -1
  currentMap['locard'] = 0
  currentMap['copyOverride'] = False
  # End of Project

  currentMap = abstractTypes.get('Project')
  aList = ['serial']
  currentMap['headerAttrs'] = aList
  aList = ['completeName', 'shortName', 'startDate', 'subProjects', 'targets']
  currentMap['simpleAttrs'] = aList
  aList = ['project']
  currentMap['optLinks'] = aList
  aList = ['access', 'applicationData']
  currentMap['cplxAttrs'] = aList

  # Class Target
  currentMap = {}
  abstractTypes['Target'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-14:22:51_00035'] = currentMap
  loadMaps['TARG.Target'] = currentMap
  currentMap['tag'] = 'TARG.Target'
  currentMap['type'] = 'class'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-14:22:51_00035'
  currentMap['eType'] = 'cplx'
  currentMap['fromParent'] = 'targets'
  currentMap['objkey'] = 'serial'
  currentMap['class'] = ccp.api.lims.Target.Target
  contentMap = {}
  currentMap['content'] = contentMap

  # Attribute Target.applicationData
  contentMap['applicationData'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-09-14-18:48:27_00007')

  # Attribute Target.biochemicalFunction
  currentMap = {}
  contentMap['biochemicalFunction'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00001'] = currentMap
  loadMaps['TARG.Target.biochemicalFunction'] = currentMap
  currentMap['tag'] = 'TARG.Target.biochemicalFunction'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00001'
  currentMap['name'] = 'biochemicalFunction'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00036')

  # Attribute Target.biologicalProcess
  currentMap = {}
  contentMap['biologicalProcess'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00043'] = currentMap
  loadMaps['TARG.Target.biologicalProcess'] = currentMap
  currentMap['tag'] = 'TARG.Target.biologicalProcess'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00043'
  currentMap['name'] = 'biologicalProcess'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00036')

  # Attribute Target.catalyticActivity
  currentMap = {}
  contentMap['catalyticActivity'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00005'] = currentMap
  loadMaps['TARG.Target.catalyticActivity'] = currentMap
  currentMap['tag'] = 'TARG.Target.catalyticActivity'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00005'
  currentMap['name'] = 'catalyticActivity'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00036')

  # Attribute Target.cellLocation
  currentMap = {}
  contentMap['cellLocation'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00004'] = currentMap
  loadMaps['TARG.Target.cellLocation'] = currentMap
  currentMap['tag'] = 'TARG.Target.cellLocation'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00004'
  currentMap['name'] = 'cellLocation'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00033')

  # Attribute Target.commonName
  currentMap = {}
  contentMap['commonName'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00039'] = currentMap
  loadMaps['TARG.Target.commonName'] = currentMap
  currentMap['tag'] = 'TARG.Target.commonName'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00039'
  currentMap['name'] = 'commonName'
  currentMap['hicard'] = 1
  currentMap['locard'] = 1
  currentMap['eType'] = 'cplx'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00033')

  # Attribute Target.details
  currentMap = {}
  contentMap['details'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00009'] = currentMap
  loadMaps['TARG.Target.details'] = currentMap
  currentMap['tag'] = 'TARG.Target.details'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00009'
  currentMap['name'] = 'details'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['proc'] = 'direct'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00035')

  # Attribute Target.functionDescription
  currentMap = {}
  contentMap['functionDescription'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00002'] = currentMap
  loadMaps['TARG.Target.functionDescription'] = currentMap
  currentMap['tag'] = 'TARG.Target.functionDescription'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00002'
  currentMap['name'] = 'functionDescription'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['proc'] = 'direct'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00035')

  # Attribute Target.geneName
  currentMap = {}
  contentMap['geneName'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00040'] = currentMap
  loadMaps['TARG.Target.geneName'] = currentMap
  currentMap['tag'] = 'TARG.Target.geneName'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00040'
  currentMap['name'] = 'geneName'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00033')

  # Attribute Target.localName
  currentMap = {}
  contentMap['localName'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00037'] = currentMap
  loadMaps['TARG.Target.localName'] = currentMap
  currentMap['tag'] = 'TARG.Target.localName'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00037'
  currentMap['name'] = 'localName'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00033')

  # Attribute Target.orf
  currentMap = {}
  contentMap['orf'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00036'] = currentMap
  loadMaps['TARG.Target.orf'] = currentMap
  currentMap['tag'] = 'TARG.Target.orf'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00036'
  currentMap['name'] = 'orf'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00033')

  # Attribute Target.pathway
  currentMap = {}
  contentMap['pathway'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00006'] = currentMap
  loadMaps['TARG.Target.pathway'] = currentMap
  currentMap['tag'] = 'TARG.Target.pathway'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00006'
  currentMap['name'] = 'pathway'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00036')

  # Attribute Target.proteinName
  currentMap = {}
  contentMap['proteinName'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00041'] = currentMap
  loadMaps['TARG.Target.proteinName'] = currentMap
  currentMap['tag'] = 'TARG.Target.proteinName'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00041'
  currentMap['name'] = 'proteinName'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00033')

  # Attribute Target.serial
  currentMap = {}
  contentMap['serial'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00035'] = currentMap
  loadMaps['TARG.Target.serial'] = currentMap
  currentMap['tag'] = 'TARG.Target.serial'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00035'
  currentMap['name'] = 'serial'
  currentMap['hicard'] = 1
  currentMap['locard'] = 1
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00032')

  # Attribute Target.similarityDetails
  currentMap = {}
  contentMap['similarityDetails'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00007'] = currentMap
  loadMaps['TARG.Target.similarityDetails'] = currentMap
  currentMap['tag'] = 'TARG.Target.similarityDetails'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00007'
  currentMap['name'] = 'similarityDetails'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['proc'] = 'direct'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00035')

  # Attribute Target.systematicName
  currentMap = {}
  contentMap['systematicName'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00038'] = currentMap
  loadMaps['TARG.Target.systematicName'] = currentMap
  currentMap['tag'] = 'TARG.Target.systematicName'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00038'
  currentMap['name'] = 'systematicName'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00033')

  # Attribute Target.topology
  currentMap = {}
  contentMap['topology'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00003'] = currentMap
  loadMaps['TARG.Target.topology'] = currentMap
  currentMap['tag'] = 'TARG.Target.topology'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00003'
  currentMap['name'] = 'topology'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00036')

  # Attribute Target.whyChosen
  currentMap = {}
  contentMap['whyChosen'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00008'] = currentMap
  loadMaps['TARG.Target.whyChosen'] = currentMap
  currentMap['tag'] = 'TARG.Target.whyChosen'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00008'
  currentMap['name'] = 'whyChosen'
  currentMap['hicard'] = 1
  currentMap['locard'] = 1
  currentMap['eType'] = 'cplx'
  currentMap['proc'] = 'direct'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00035')

  # Role Target.access
  contentMap['access'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-12-31-09:03:01_00014')

  # Role Target.citations
  currentMap = {}
  contentMap['citations'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00022'] = currentMap
  loadMaps['TARG.Target.citations'] = currentMap
  currentMap['tag'] = 'TARG.Target.citations'
  currentMap['type'] = 'exolink'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00022'
  currentMap['name'] = 'citations'
  currentMap['hicard'] = -1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['copyOverride'] = True
  currentMap['content'] = globalMap.get('CITA').get('exolinks')

  # Role Target.creator
  currentMap = {}
  contentMap['creator'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00020'] = currentMap
  loadMaps['TARG.Target.creator'] = currentMap
  currentMap['tag'] = 'TARG.Target.creator'
  currentMap['type'] = 'exolink'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00020'
  currentMap['name'] = 'creator'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['copyOverride'] = True
  currentMap['content'] = globalMap.get('AFFI').get('exolinks')

  # Role Target.dbRefs
  currentMap = {}
  contentMap['dbRefs'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00030'] = currentMap
  loadMaps['TARG.Target.dbRefs'] = currentMap
  currentMap['tag'] = 'TARG.Target.dbRefs'
  currentMap['type'] = 'exolink'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00030'
  currentMap['name'] = 'dbRefs'
  currentMap['hicard'] = -1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['copyOverride'] = True
  currentMap['content'] = globalMap.get('DBR').get('exolinks')

  # Role Target.nucleicAcids
  currentMap = {}
  contentMap['nucleicAcids'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00034'] = currentMap
  loadMaps['TARG.Target.nucleicAcids'] = currentMap
  currentMap['tag'] = 'TARG.Target.nucleicAcids'
  currentMap['type'] = 'exolink'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00034'
  currentMap['name'] = 'nucleicAcids'
  currentMap['hicard'] = -1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['copyOverride'] = True
  currentMap['content'] = globalMap.get('REFS').get('exolinks')

  # Role Target.projects
  currentMap = {}
  contentMap['projects'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00012'] = currentMap
  loadMaps['TARG.Target.projects'] = currentMap
  currentMap['tag'] = 'TARG.Target.projects'
  currentMap['type'] = 'link'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00012'
  currentMap['name'] = 'projects'
  currentMap['hicard'] = -1
  currentMap['locard'] = 0
  currentMap['copyOverride'] = True

  # Role Target.protein
  currentMap = {}
  contentMap['protein'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00032'] = currentMap
  loadMaps['TARG.Target.protein'] = currentMap
  currentMap['tag'] = 'TARG.Target.protein'
  currentMap['type'] = 'exolink'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00032'
  currentMap['name'] = 'protein'
  currentMap['hicard'] = 1
  currentMap['locard'] = 1
  currentMap['eType'] = 'cplx'
  currentMap['copyOverride'] = True
  currentMap['content'] = globalMap.get('REFS').get('exolinks')

  # Role Target.species
  currentMap = {}
  contentMap['species'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:37_00114'] = currentMap
  loadMaps['TARG.Target.species'] = currentMap
  currentMap['tag'] = 'TARG.Target.species'
  currentMap['type'] = 'exolink'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:37_00114'
  currentMap['name'] = 'species'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['copyOverride'] = True
  currentMap['content'] = globalMap.get('TAXO').get('exolinks')

  # Role Target.targetGroups
  currentMap = {}
  contentMap['targetGroups'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00028'] = currentMap
  loadMaps['TARG.Target.targetGroups'] = currentMap
  currentMap['tag'] = 'TARG.Target.targetGroups'
  currentMap['type'] = 'link'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00028'
  currentMap['name'] = 'targetGroups'
  currentMap['hicard'] = -1
  currentMap['locard'] = 0
  currentMap['copyOverride'] = True

  # Role Target.targetStatus
  currentMap = {}
  contentMap['targetStatus'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00026'] = currentMap
  loadMaps['TARG.Target.targetStatus'] = currentMap
  currentMap['tag'] = 'TARG.Target.targetStatus'
  currentMap['type'] = 'child'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00026'
  currentMap['name'] = 'targetStatus'
  currentMap['hicard'] = -1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['content'] = globalMap.get('TARG').get('abstractTypes')
  # End of Target

  currentMap = abstractTypes.get('Target')
  aList = ['serial']
  currentMap['headerAttrs'] = aList
  aList = ['biochemicalFunction', 'biologicalProcess', 'catalyticActivity', 'cellLocation', 'commonName', 'details', 'functionDescription', 'geneName', 'localName', 'orf', 'pathway', 'proteinName', 'similarityDetails', 'systematicName', 'topology', 'whyChosen', 'projects', 'targetGroups']
  currentMap['simpleAttrs'] = aList
  aList = ['targetStatus', 'species', 'protein', 'nucleicAcids', 'dbRefs', 'creator', 'citations', 'access', 'applicationData']
  currentMap['cplxAttrs'] = aList
  aList = ['targetStatus']
  currentMap['children'] = aList

  # Class TargetGroup
  currentMap = {}
  abstractTypes['TargetGroup'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-14:22:51_00038'] = currentMap
  loadMaps['TARG.TargetGroup'] = currentMap
  currentMap['tag'] = 'TARG.TargetGroup'
  currentMap['type'] = 'class'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-14:22:51_00038'
  currentMap['eType'] = 'cplx'
  currentMap['fromParent'] = 'targetGroups'
  currentMap['class'] = ccp.api.lims.Target.TargetGroup
  contentMap = {}
  currentMap['content'] = contentMap

  # Attribute TargetGroup.applicationData
  contentMap['applicationData'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-09-14-18:48:27_00007')

  # Attribute TargetGroup.completeName
  currentMap = {}
  contentMap['completeName'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00036'] = currentMap
  loadMaps['TARG.TargetGroup.completeName'] = currentMap
  currentMap['tag'] = 'TARG.TargetGroup.completeName'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00036'
  currentMap['name'] = 'completeName'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['proc'] = 'direct'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00035')

  # Attribute TargetGroup.details
  currentMap = {}
  contentMap['details'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00038'] = currentMap
  loadMaps['TARG.TargetGroup.details'] = currentMap
  currentMap['tag'] = 'TARG.TargetGroup.details'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00038'
  currentMap['name'] = 'details'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['proc'] = 'direct'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00035')

  # Attribute TargetGroup.groupingType
  currentMap = {}
  contentMap['groupingType'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00037'] = currentMap
  loadMaps['TARG.TargetGroup.groupingType'] = currentMap
  currentMap['tag'] = 'TARG.TargetGroup.groupingType'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00037'
  currentMap['name'] = 'groupingType'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00033')

  # Attribute TargetGroup.namingSystem
  currentMap = {}
  contentMap['namingSystem'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00034'] = currentMap
  loadMaps['TARG.TargetGroup.namingSystem'] = currentMap
  currentMap['tag'] = 'TARG.TargetGroup.namingSystem'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00034'
  currentMap['name'] = 'namingSystem'
  currentMap['hicard'] = 1
  currentMap['locard'] = 1
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00037')

  # Attribute TargetGroup.shortName
  currentMap = {}
  contentMap['shortName'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00035'] = currentMap
  loadMaps['TARG.TargetGroup.shortName'] = currentMap
  currentMap['tag'] = 'TARG.TargetGroup.shortName'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00035'
  currentMap['name'] = 'shortName'
  currentMap['hicard'] = 1
  currentMap['locard'] = 1
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00037')

  # Role TargetGroup.access
  contentMap['access'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-12-31-09:03:01_00014')

  # Role TargetGroup.citations
  currentMap = {}
  contentMap['citations'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00031'] = currentMap
  loadMaps['TARG.TargetGroup.citations'] = currentMap
  currentMap['tag'] = 'TARG.TargetGroup.citations'
  currentMap['type'] = 'exolink'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00031'
  currentMap['name'] = 'citations'
  currentMap['hicard'] = -1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['copyOverride'] = True
  currentMap['content'] = globalMap.get('CITA').get('exolinks')

  # Role TargetGroup.entrys
  currentMap = {}
  contentMap['entrys'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00033'] = currentMap
  loadMaps['TARG.TargetGroup.entrys'] = currentMap
  currentMap['tag'] = 'TARG.TargetGroup.entrys'
  currentMap['type'] = 'exolink'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00033'
  currentMap['name'] = 'entrys'
  currentMap['hicard'] = -1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['copyOverride'] = True
  currentMap['content'] = globalMap.get('DBR').get('exolinks')

  # Role TargetGroup.subTargetGroups
  currentMap = {}
  contentMap['subTargetGroups'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00028'] = currentMap
  loadMaps['TARG.TargetGroup.subTargetGroups'] = currentMap
  currentMap['tag'] = 'TARG.TargetGroup.subTargetGroups'
  currentMap['type'] = 'link'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00028'
  currentMap['name'] = 'subTargetGroups'
  currentMap['hicard'] = -1
  currentMap['locard'] = 0
  currentMap['copyOverride'] = False

  # Role TargetGroup.targetGroup
  currentMap = {}
  contentMap['targetGroup'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00029'] = currentMap
  loadMaps['TARG.TargetGroup.targetGroup'] = currentMap
  currentMap['tag'] = 'TARG.TargetGroup.targetGroup'
  currentMap['type'] = 'link'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00029'
  currentMap['name'] = 'targetGroup'
  currentMap['hicard'] = 1
  currentMap['locard'] = 0
  currentMap['copyOverride'] = True

  # Role TargetGroup.targets
  currentMap = {}
  contentMap['targets'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00027'] = currentMap
  loadMaps['TARG.TargetGroup.targets'] = currentMap
  currentMap['tag'] = 'TARG.TargetGroup.targets'
  currentMap['type'] = 'link'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:17_00027'
  currentMap['name'] = 'targets'
  currentMap['hicard'] = -1
  currentMap['locard'] = 0
  currentMap['copyOverride'] = True
  # End of TargetGroup

  currentMap = abstractTypes.get('TargetGroup')
  aList = ['namingSystem', 'shortName']
  currentMap['headerAttrs'] = aList
  aList = ['completeName', 'details', 'groupingType', 'subTargetGroups', 'targets']
  currentMap['simpleAttrs'] = aList
  aList = ['targetGroup']
  currentMap['optLinks'] = aList
  aList = ['entrys', 'citations', 'access', 'applicationData']
  currentMap['cplxAttrs'] = aList

  # Class TargetStatus
  currentMap = {}
  abstractTypes['TargetStatus'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-14:22:51_00037'] = currentMap
  loadMaps['TARG.TargetStatus'] = currentMap
  currentMap['tag'] = 'TARG.TargetStatus'
  currentMap['type'] = 'class'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-14:22:51_00037'
  currentMap['eType'] = 'cplx'
  currentMap['fromParent'] = 'targetStatus'
  currentMap['objkey'] = 'serial'
  currentMap['class'] = ccp.api.lims.Target.TargetStatus
  contentMap = {}
  currentMap['content'] = contentMap

  # Attribute TargetStatus.applicationData
  contentMap['applicationData'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-09-14-18:48:27_00007')

  # Attribute TargetStatus.date
  currentMap = {}
  contentMap['date'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00027'] = currentMap
  loadMaps['TARG.TargetStatus.date'] = currentMap
  currentMap['tag'] = 'TARG.TargetStatus.date'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00027'
  currentMap['name'] = 'date'
  currentMap['hicard'] = 1
  currentMap['locard'] = 1
  currentMap['eType'] = 'cplx'
  currentMap['proc'] = 'direct'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00029')

  # Attribute TargetStatus.serial
  currentMap = {}
  contentMap['serial'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00026'] = currentMap
  loadMaps['TARG.TargetStatus.serial'] = currentMap
  currentMap['tag'] = 'TARG.TargetStatus.serial'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00026'
  currentMap['name'] = 'serial'
  currentMap['hicard'] = 1
  currentMap['locard'] = 1
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00032')

  # Role TargetStatus.access
  contentMap['access'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-12-31-09:03:01_00014')

  # Role TargetStatus.code
  currentMap = {}
  contentMap['code'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00025'] = currentMap
  loadMaps['TARG.TargetStatus.code'] = currentMap
  currentMap['tag'] = 'TARG.TargetStatus.code'
  currentMap['type'] = 'exolink'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-18:23:18_00025'
  currentMap['name'] = 'code'
  currentMap['hicard'] = 1
  currentMap['locard'] = 1
  currentMap['eType'] = 'cplx'
  currentMap['copyOverride'] = True
  currentMap['content'] = globalMap.get('CLAS').get('exolinks')
  # End of TargetStatus

  currentMap = abstractTypes.get('TargetStatus')
  aList = ['serial']
  currentMap['headerAttrs'] = aList
  aList = ['date']
  currentMap['simpleAttrs'] = aList
  aList = ['code', 'access', 'applicationData']
  currentMap['cplxAttrs'] = aList

  # Class TargetStore
  currentMap = {}
  abstractTypes['TargetStore'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-09-05-12:37:24_00009'] = currentMap
  loadMaps['TARG.TargetStore'] = currentMap
  currentMap['tag'] = 'TARG.TargetStore'
  currentMap['type'] = 'class'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-09-05-12:37:24_00009'
  currentMap['eType'] = 'cplx'
  currentMap['fromParent'] = 'targetStores'
  currentMap['isTop'] = True
  currentMap['objkey'] = 'name'
  currentMap['class'] = ccp.api.lims.Target.TargetStore
  contentMap = {}
  currentMap['content'] = contentMap

  # Attribute TargetStore.applicationData
  contentMap['applicationData'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-09-14-18:48:27_00007')

  # Attribute TargetStore.createdBy
  contentMap['createdBy'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-12-31-09:00:59_00002__www.ccpn.ac.uk_Fogh_2007-10-03-14:53:27_00001__www.ccpn.ac.uk_Fogh_2006-09-14-16:28:57_00002')

  # Attribute TargetStore.guid
  contentMap['guid'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-09-14-18:48:26_00002')

  # Attribute TargetStore.isModifiable
  contentMap['isModifiable'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-17-14:16:26_00010__www.ccpn.ac.uk_Fogh_2007-10-03-14:53:27_00001__www.ccpn.ac.uk_Fogh_2006-09-14-16:28:57_00002')

  # Attribute TargetStore.lastUnlockedBy
  contentMap['lastUnlockedBy'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-12-31-09:00:59_00003__www.ccpn.ac.uk_Fogh_2007-10-03-14:53:27_00001__www.ccpn.ac.uk_Fogh_2006-09-14-16:28:57_00002')

  # Attribute TargetStore.name
  currentMap = {}
  contentMap['name'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-09-05-12:37:28_00013'] = currentMap
  loadMaps['TARG.TargetStore.name'] = currentMap
  currentMap['tag'] = 'TARG.TargetStore.name'
  currentMap['type'] = 'attr'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-09-05-12:37:28_00013'
  currentMap['name'] = 'name'
  currentMap['hicard'] = 1
  currentMap['locard'] = 1
  currentMap['eType'] = 'cplx'
  currentMap['data'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00033')

  # Role TargetStore.access
  contentMap['access'] = mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-12-31-09:03:01_00014')

  # Role TargetStore.projects
  currentMap = {}
  contentMap['projects'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-09-05-12:37:28_00012'] = currentMap
  loadMaps['TARG.TargetStore.projects'] = currentMap
  currentMap['tag'] = 'TARG.TargetStore.projects'
  currentMap['type'] = 'child'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-09-05-12:37:28_00012'
  currentMap['name'] = 'projects'
  currentMap['hicard'] = -1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['implSkip'] = True
  currentMap['content'] = globalMap.get('TARG').get('abstractTypes')

  # Role TargetStore.targetGroups
  currentMap = {}
  contentMap['targetGroups'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-09-05-12:37:28_00010'] = currentMap
  loadMaps['TARG.TargetStore.targetGroups'] = currentMap
  currentMap['tag'] = 'TARG.TargetStore.targetGroups'
  currentMap['type'] = 'child'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-09-05-12:37:28_00010'
  currentMap['name'] = 'targetGroups'
  currentMap['hicard'] = -1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['implSkip'] = True
  currentMap['content'] = globalMap.get('TARG').get('abstractTypes')

  # Role TargetStore.targets
  currentMap = {}
  contentMap['targets'] = currentMap
  mapsByGuid['www.ccpn.ac.uk_Fogh_2006-09-05-12:37:28_00008'] = currentMap
  loadMaps['TARG.TargetStore.targets'] = currentMap
  currentMap['tag'] = 'TARG.TargetStore.targets'
  currentMap['type'] = 'child'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-09-05-12:37:28_00008'
  currentMap['name'] = 'targets'
  currentMap['hicard'] = -1
  currentMap['locard'] = 0
  currentMap['eType'] = 'cplx'
  currentMap['implSkip'] = True
  currentMap['content'] = globalMap.get('TARG').get('abstractTypes')
  # End of TargetStore

  currentMap = abstractTypes.get('TargetStore')
  aList = ['createdBy', 'guid', 'isModifiable', 'lastUnlockedBy']
  currentMap['headerAttrs'] = aList
  aList = ['name']
  currentMap['simpleAttrs'] = aList
  aList = ['targets', 'targetGroups', 'projects', 'access', 'applicationData']
  currentMap['cplxAttrs'] = aList
  aList = ['projects', 'targetGroups', 'targets']
  currentMap['children'] = aList

  # Out-of-package link to Project
  currentMap = {}
  exolinks['Project'] = currentMap
  loadMaps['TARG.exo-Project'] = currentMap
  currentMap['tag'] = 'TARG.exo-Project'
  currentMap['type'] = 'exo'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-14:22:51_00036'
  currentMap['name'] = 'Project'
  currentMap['eType'] = 'cplx'
  currentMap['class'] = ccp.api.lims.Target.Project
  aList = list()
  currentMap['keyMaps'] = aList
  aList.append(mapsByGuid.get('www.ccpn.ac.uk_Fogh_2008-06-30-16:30:50_00001'))
  aList.append(mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00032'))

  # Out-of-package link to Target
  currentMap = {}
  exolinks['Target'] = currentMap
  loadMaps['TARG.exo-Target'] = currentMap
  currentMap['tag'] = 'TARG.exo-Target'
  currentMap['type'] = 'exo'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-14:22:51_00035'
  currentMap['name'] = 'Target'
  currentMap['eType'] = 'cplx'
  currentMap['class'] = ccp.api.lims.Target.Target
  aList = list()
  currentMap['keyMaps'] = aList
  aList.append(mapsByGuid.get('www.ccpn.ac.uk_Fogh_2008-06-30-16:30:50_00001'))
  aList.append(mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00032'))

  # Out-of-package link to TargetGroup
  currentMap = {}
  exolinks['TargetGroup'] = currentMap
  loadMaps['TARG.exo-TargetGroup'] = currentMap
  currentMap['tag'] = 'TARG.exo-TargetGroup'
  currentMap['type'] = 'exo'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-14:22:51_00038'
  currentMap['name'] = 'TargetGroup'
  currentMap['eType'] = 'cplx'
  currentMap['class'] = ccp.api.lims.Target.TargetGroup
  aList = list()
  currentMap['keyMaps'] = aList
  aList.append(mapsByGuid.get('www.ccpn.ac.uk_Fogh_2008-06-30-16:30:50_00001'))
  aList.append(mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00037'))
  aList.append(mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00037'))

  # Out-of-package link to TargetStatus
  currentMap = {}
  exolinks['TargetStatus'] = currentMap
  loadMaps['TARG.exo-TargetStatus'] = currentMap
  currentMap['tag'] = 'TARG.exo-TargetStatus'
  currentMap['type'] = 'exo'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-08-16-14:22:51_00037'
  currentMap['name'] = 'TargetStatus'
  currentMap['eType'] = 'cplx'
  currentMap['class'] = ccp.api.lims.Target.TargetStatus
  aList = list()
  currentMap['keyMaps'] = aList
  aList.append(mapsByGuid.get('www.ccpn.ac.uk_Fogh_2008-06-30-16:30:50_00001'))
  aList.append(mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00032'))
  aList.append(mapsByGuid.get('www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00032'))

  # Out-of-package link to TargetStore
  currentMap = {}
  exolinks['TargetStore'] = currentMap
  loadMaps['TARG.exo-TargetStore'] = currentMap
  currentMap['tag'] = 'TARG.exo-TargetStore'
  currentMap['type'] = 'exo'
  currentMap['guid'] = 'www.ccpn.ac.uk_Fogh_2006-09-05-12:37:24_00009'
  currentMap['name'] = 'TargetStore'
  currentMap['eType'] = 'cplx'
  currentMap['class'] = ccp.api.lims.Target.TargetStore
  aList = list()
  currentMap['keyMaps'] = aList
  aList.append(mapsByGuid.get('www.ccpn.ac.uk_Fogh_2008-06-30-16:30:50_00001'))
