"""
   /*
   **   Generated by blitz/resources/templates/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
try:
   unicode
except NameError:
   # Python 3: "unicode" is built-in
   unicode = str
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_Experimenter_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class ExperimenterI(_omero_model.Experimenter):

      # Property Metadata
      _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
      _field_info_type = namedtuple("FieldInfo", [
          "groupExperimenterMap",
          "omeName",
          "firstName",
          "middleName",
          "lastName",
          "institution",
          "ldap",
          "email",
          "config",
          "annotationLinks",
          "details",
      ])
      _field_info = _field_info_type(
          groupExperimenterMap=_field_info_data(wrapper=omero.proxy_to_instance, nullable=False),
          omeName=_field_info_data(wrapper=omero.rtypes.rstring, nullable=False),
          firstName=_field_info_data(wrapper=omero.rtypes.rstring, nullable=False),
          middleName=_field_info_data(wrapper=omero.rtypes.rstring, nullable=True),
          lastName=_field_info_data(wrapper=omero.rtypes.rstring, nullable=False),
          institution=_field_info_data(wrapper=omero.rtypes.rstring, nullable=True),
          ldap=_field_info_data(wrapper=omero.rtypes.rbool, nullable=False),
          email=_field_info_data(wrapper=omero.rtypes.rstring, nullable=True),
          config=_field_info_data(wrapper=omero.rtypes.rstring, nullable=True),
          annotationLinks=_field_info_data(wrapper=omero.proxy_to_instance, nullable=True),
          details=_field_info_data(wrapper=omero.proxy_to_instance, nullable=True),
      )  # end _field_info
      GROUPEXPERIMENTERMAP =  "ome.model.meta.Experimenter_groupExperimenterMap"
      OMENAME =  "ome.model.meta.Experimenter_omeName"
      FIRSTNAME =  "ome.model.meta.Experimenter_firstName"
      MIDDLENAME =  "ome.model.meta.Experimenter_middleName"
      LASTNAME =  "ome.model.meta.Experimenter_lastName"
      INSTITUTION =  "ome.model.meta.Experimenter_institution"
      LDAP =  "ome.model.meta.Experimenter_ldap"
      EMAIL =  "ome.model.meta.Experimenter_email"
      CONFIG =  "ome.model.meta.Experimenter_config"
      ANNOTATIONLINKS =  "ome.model.meta.Experimenter_annotationLinks"
      DETAILS =  "ome.model.meta.Experimenter_details"
      def errorIfUnloaded(self):
          if not self._loaded:
              raise _omero.UnloadedEntityException("Object unloaded:"+str(self))

      def throwNullCollectionException(self,propertyName):
          raise _omero.UnloadedEntityException(""+
          "Error updating collection:" + propertyName +"\n"+
          "Collection is currently null. This can be seen\n" +
          "by testing \""+ propertyName +"Loaded\". This implies\n"+
          "that this collection was unloaded. Please refresh this object\n"+
          "in order to update this collection.\n")

      def _toggleCollectionsLoaded(self, load):
          if load:
              self._groupExperimenterMapSeq = []
              self._groupExperimenterMapLoaded = True;
          else:
              self._groupExperimenterMapSeq = []
              self._groupExperimenterMapLoaded = False;

          if load:
              self._annotationLinksSeq = []
              self._annotationLinksLoaded = True;
          else:
              self._annotationLinksSeq = []
              self._annotationLinksLoaded = False;

          pass

      def __init__(self, id=None, loaded=None):
          super(ExperimenterI, self).__init__()
          if id is not None and isinstance(id, (str, unicode)) and ":" in id:
              parts = id.split(":")
              if len(parts) != 2:
                  raise Exception("Invalid proxy string: %s", id)
              if parts[0] != self.__class__.__name__ and \
                 parts[0]+"I" != self.__class__.__name__:
                  raise Exception("Proxy class mismatch: %s<>%s" %
                  (self.__class__.__name__, parts[0]))
              self._id = rlong(parts[1])
              if loaded is None:
                  # If no loadedness was requested with
                  # a proxy string, then assume False.
                  loaded = False
          else:
              # Relying on omero.rtypes.rlong's error-handling
              self._id = rlong(id)
              if loaded is None:
                  loaded = True  # Assume true as previously
          self._loaded = loaded
          if self._loaded:
             self._details = _omero_model.DetailsI()
             self._toggleCollectionsLoaded(True)

      def unload(self, current = None):
          self._loaded = False
          self.unloadGroupExperimenterMap( )
          self.unloadOmeName( )
          self.unloadFirstName( )
          self.unloadMiddleName( )
          self.unloadLastName( )
          self.unloadInstitution( )
          self.unloadLdap( )
          self.unloadEmail( )
          self.unloadConfig( )
          self.unloadAnnotationLinks( )
          self.unloadDetails( )

      def isLoaded(self, current = None):
          return self._loaded
      def unloadCollections(self, current = None):
          self._toggleCollectionsLoaded( False )
      def isGlobal(self, current = None):
          return  True ;
      def isMutable(self, current = None):
          return  True ;
      def isAnnotated(self, current = None):
          return  True ;
      def isLink(self, current = None):
          return  False ;
      def shallowCopy(self, current = None):
            if not self._loaded: return self.proxy()
            copy = ExperimenterI()
            copy._id = self._id;
            copy._version = self._version;
            copy._details = None  # Unloading for the moment.
            raise omero.ClientError("NYI")
      def proxy(self, current = None):
          if self._id is None: raise omero.ClientError("Proxies require an id")
          return ExperimenterI( self._id.getValue(), False )

      def getDetails(self, current = None):
          self.errorIfUnloaded()
          return self._details

      def unloadDetails(self, current = None):
          self._details = None

      def getId(self, current = None):
          return self._id

      def setId(self, _id, current = None):
          self._id = _id

      def checkUnloadedProperty(self, value, loadedField):
          if value == None:
              self.__dict__[loadedField] = False
          else:
              self.__dict__[loadedField] = True

      def getVersion(self, current = None):
          self.errorIfUnloaded()
          return self._version

      def setVersion(self, version, current = None):
          self.errorIfUnloaded()
          self._version = version

      def unloadGroupExperimenterMap(self, current = None):
          self._groupExperimenterMapLoaded = False
          self._groupExperimenterMapSeq = None;

      def _getGroupExperimenterMap(self, current = None):
          self.errorIfUnloaded()
          return self._groupExperimenterMapSeq

      def _setGroupExperimenterMap(self, _groupExperimenterMap, current = None, wrap=False):
          self.errorIfUnloaded()
          if wrap and self._field_info.groupExperimenterMapSeq.wrapper is not None:
              if _groupExperimenterMap is not None:
                  _groupExperimenterMap = self._field_info.groupExperimenterMapSeq.wrapper(_groupExperimenterMap)
          self._groupExperimenterMapSeq = _groupExperimenterMap
          self.checkUnloadedProperty(_groupExperimenterMap,'groupExperimenterMapLoaded')

      def isGroupExperimenterMapLoaded(self):
          return self._groupExperimenterMapLoaded

      def sizeOfGroupExperimenterMap(self, current = None):
          self.errorIfUnloaded()
          if not self._groupExperimenterMapLoaded: return -1
          return len(self._groupExperimenterMapSeq)

      def copyGroupExperimenterMap(self, current = None):
          self.errorIfUnloaded()
          if not self._groupExperimenterMapLoaded: self.throwNullCollectionException("groupExperimenterMapSeq")
          return list(self._groupExperimenterMapSeq)

      def iterateGroupExperimenterMap(self):
          self.errorIfUnloaded()
          if not self._groupExperimenterMapLoaded: self.throwNullCollectionException("groupExperimenterMapSeq")
          return iter(self._groupExperimenterMapSeq)

      def addGroupExperimenterMap(self, target, current = None):
          self.errorIfUnloaded()
          if not self._groupExperimenterMapLoaded: self.throwNullCollectionException("groupExperimenterMapSeq")
          self._groupExperimenterMapSeq.append( target );
          target.setChild( self )

      def addAllGroupExperimenterMapSet(self, targets, current = None):
          self.errorIfUnloaded()
          if  not self._groupExperimenterMapLoaded: self.throwNullCollectionException("groupExperimenterMapSeq")
          self._groupExperimenterMapSeq.extend( targets )
          for target in targets:
              target.setChild( self )

      def removeGroupExperimenterMap(self, target, current = None):
          self.errorIfUnloaded()
          if not self._groupExperimenterMapLoaded: self.throwNullCollectionException("groupExperimenterMapSeq")
          self._groupExperimenterMapSeq.remove( target )
          target.setChild( None )

      def removeAllGroupExperimenterMapSet(self, targets, current = None):
          self.errorIfUnloaded()
          if not self._groupExperimenterMapLoaded: self.throwNullCollectionException("groupExperimenterMapSeq")
          for elt in targets:
              elt.setChild( None )
              self._groupExperimenterMapSeq.remove( elt )

      def clearGroupExperimenterMap(self, current = None):
          self.errorIfUnloaded()
          if not self._groupExperimenterMapLoaded: self.throwNullCollectionException("groupExperimenterMapSeq")
          for elt in self._groupExperimenterMapSeq:
              elt.setChild( None )
          self._groupExperimenterMapSeq = list()

      def reloadGroupExperimenterMap(self, toCopy, current = None):
          self.errorIfUnloaded()
          if self._groupExperimenterMapLoaded:
              raise omero.ClientError("Cannot reload active collection: groupExperimenterMapSeq")
          if not toCopy:
              raise omero.ClientError("Argument cannot be null")
          if toCopy.getId().getValue() != self.getId().getValue():
             raise omero.ClientError("Argument must have the same id as this instance")
          if toCopy.getDetails().getUpdateEvent().getId().getValue() < self.getDetails().getUpdateEvent().getId().getValue():
             raise omero.ClientError("Argument may not be older than this instance")
          copy = toCopy.copyGroupExperimenterMap() # May also throw
          for elt in copy:
              elt.setChild( self )
          self._groupExperimenterMapSeq = copy
          toCopy.unloadGroupExperimenterMap()
          self._groupExperimenterMapLoaded = True

      def getGroupExperimenterMap(self, index, current = None):
          self.errorIfUnloaded()
          if not self._groupExperimenterMapLoaded: self.throwNullCollectionException("groupExperimenterMapSeq")
          return self._groupExperimenterMapSeq[index]

      def setGroupExperimenterMap(self, index, element, current = None, wrap=False):
          self.errorIfUnloaded()
          if not self._groupExperimenterMapLoaded: self.throwNullCollectionException("groupExperimenterMapSeq")
          old = self._groupExperimenterMapSeq[index]
          if wrap and self._field_info.groupExperimenterMapSeq.wrapper is not None:
              if element is not None:
                  element = self._field_info.groupExperimenterMapSeq.wrapper(_groupExperimenterMap)
          self._groupExperimenterMapSeq[index] =  element
          if element is not None and element.isLoaded():
              element.setChild( self )
          return old

      def getPrimaryGroupExperimenterMap(self, current = None):
          self.errorIfUnloaded()
          if not self._groupExperimenterMapLoaded: self.throwNullCollectionException("groupExperimenterMapSeq")
          return self._groupExperimenterMapSeq[0]

      def setPrimaryGroupExperimenterMap(self, element, current = None):
          self.errorIfUnloaded()
          if not self._groupExperimenterMapLoaded: self.throwNullCollectionException("groupExperimenterMapSeq")
          index = self._groupExperimenterMapSeq.index(element)
          old = self._groupExperimenterMapSeq[0]
          self._groupExperimenterMapSeq[index] = old
          self._groupExperimenterMapSeq[0] = element
          return old

      def linkExperimenterGroup(self, addition, current = None):
          self.errorIfUnloaded()
          if not self._groupExperimenterMapLoaded: self.throwNullCollectionException("groupExperimenterMapSeq")
          link = _omero_model.GroupExperimenterMapI()
          link.link( addition, self );
          self.addGroupExperimenterMapToBoth( link, True )
          return link

      def addGroupExperimenterMapToBoth(self, link, bothSides):
          self.errorIfUnloaded()
          if not self._groupExperimenterMapLoaded: self.throwNullCollectionException("groupExperimenterMapSeq")
          self._groupExperimenterMapSeq.append( link )
          if bothSides and link.getParent().isLoaded():
              link.getParent().addGroupExperimenterMapToBoth( link, False )

      def findGroupExperimenterMap(self, removal, current = None):
          self.errorIfUnloaded()
          if not self._groupExperimenterMapLoaded: self.throwNullCollectionException("groupExperimenterMapSeq")
          result = list()
          for link in self._groupExperimenterMapSeq:
              if link.getParent() == removal: result.append(link)
          return result

      def unlinkExperimenterGroup(self, removal, current = None):
          self.errorIfUnloaded()
          if not self._groupExperimenterMapLoaded: self.throwNullCollectionException("groupExperimenterMapSeq")
          toRemove = self.findGroupExperimenterMap(removal)
          for next in toRemove:
              self.removeGroupExperimenterMapFromBoth( next, True )

      def removeGroupExperimenterMapFromBoth(self, link, bothSides, current = None):
          self.errorIfUnloaded()
          if not self._groupExperimenterMapLoaded: self.throwNullCollectionException("groupExperimenterMapSeq")
          self._groupExperimenterMapSeq.remove( link )
          if bothSides and link.getParent().isLoaded():
              link.getParent().removeGroupExperimenterMapFromBoth(link, False)

      def linkedExperimenterGroupList(self, current = None):
          self.errorIfUnloaded()
          if not self.groupExperimenterMapLoaded: self.throwNullCollectionException("GroupExperimenterMap")
          linked = []
          for link in self._groupExperimenterMapSeq:
              linked.append( link.getParent() )
          return linked

      def unloadOmeName(self, ):
          self._omeNameLoaded = False
          self._omeName = None;

      def getOmeName(self, current = None):
          self.errorIfUnloaded()
          return self._omeName

      def setOmeName(self, _omeName, current = None, wrap=False):
          self.errorIfUnloaded()
          if wrap and self._field_info.omeName.wrapper is not None:
              if _omeName is not None:
                  _omeName = self._field_info.omeName.wrapper(_omeName)
          self._omeName = _omeName
          pass

      def unloadFirstName(self, ):
          self._firstNameLoaded = False
          self._firstName = None;

      def getFirstName(self, current = None):
          self.errorIfUnloaded()
          return self._firstName

      def setFirstName(self, _firstName, current = None, wrap=False):
          self.errorIfUnloaded()
          if wrap and self._field_info.firstName.wrapper is not None:
              if _firstName is not None:
                  _firstName = self._field_info.firstName.wrapper(_firstName)
          self._firstName = _firstName
          pass

      def unloadMiddleName(self, ):
          self._middleNameLoaded = False
          self._middleName = None;

      def getMiddleName(self, current = None):
          self.errorIfUnloaded()
          return self._middleName

      def setMiddleName(self, _middleName, current = None, wrap=False):
          self.errorIfUnloaded()
          if wrap and self._field_info.middleName.wrapper is not None:
              if _middleName is not None:
                  _middleName = self._field_info.middleName.wrapper(_middleName)
          self._middleName = _middleName
          pass

      def unloadLastName(self, ):
          self._lastNameLoaded = False
          self._lastName = None;

      def getLastName(self, current = None):
          self.errorIfUnloaded()
          return self._lastName

      def setLastName(self, _lastName, current = None, wrap=False):
          self.errorIfUnloaded()
          if wrap and self._field_info.lastName.wrapper is not None:
              if _lastName is not None:
                  _lastName = self._field_info.lastName.wrapper(_lastName)
          self._lastName = _lastName
          pass

      def unloadInstitution(self, ):
          self._institutionLoaded = False
          self._institution = None;

      def getInstitution(self, current = None):
          self.errorIfUnloaded()
          return self._institution

      def setInstitution(self, _institution, current = None, wrap=False):
          self.errorIfUnloaded()
          if wrap and self._field_info.institution.wrapper is not None:
              if _institution is not None:
                  _institution = self._field_info.institution.wrapper(_institution)
          self._institution = _institution
          pass

      def unloadLdap(self, ):
          self._ldapLoaded = False
          self._ldap = None;

      def getLdap(self, current = None):
          self.errorIfUnloaded()
          return self._ldap

      def setLdap(self, _ldap, current = None, wrap=False):
          self.errorIfUnloaded()
          if wrap and self._field_info.ldap.wrapper is not None:
              if _ldap is not None:
                  _ldap = self._field_info.ldap.wrapper(_ldap)
          self._ldap = _ldap
          pass

      def unloadEmail(self, ):
          self._emailLoaded = False
          self._email = None;

      def getEmail(self, current = None):
          self.errorIfUnloaded()
          return self._email

      def setEmail(self, _email, current = None, wrap=False):
          self.errorIfUnloaded()
          if wrap and self._field_info.email.wrapper is not None:
              if _email is not None:
                  _email = self._field_info.email.wrapper(_email)
          self._email = _email
          pass

      def unloadConfig(self, ):
          self._configLoaded = False
          self._config = None;

      def getConfig(self, current = None):
          self.errorIfUnloaded()
          return self._config

      def setConfig(self, _config, current = None, wrap=False):
          self.errorIfUnloaded()
          if wrap and self._field_info.config.wrapper is not None:
              if _config is not None:
                  _config = self._field_info.config.wrapper(_config)
          self._config = _config
          pass

      def getConfigAsMap(self, current = None):
          self.errorIfUnloaded()
          rv = dict()
          for nv in self._config:
              if nv is not None:
                  rv[nv.name] = nv.value
          return rv

      def unloadAnnotationLinks(self, current = None):
          self._annotationLinksLoaded = False
          self._annotationLinksSeq = None;

      def _getAnnotationLinks(self, current = None):
          self.errorIfUnloaded()
          return self._annotationLinksSeq

      def _setAnnotationLinks(self, _annotationLinks, current = None, wrap=False):
          self.errorIfUnloaded()
          if wrap and self._field_info.annotationLinksSeq.wrapper is not None:
              if _annotationLinks is not None:
                  _annotationLinks = self._field_info.annotationLinksSeq.wrapper(_annotationLinks)
          self._annotationLinksSeq = _annotationLinks
          self.checkUnloadedProperty(_annotationLinks,'annotationLinksLoaded')

      def isAnnotationLinksLoaded(self):
          return self._annotationLinksLoaded

      def sizeOfAnnotationLinks(self, current = None):
          self.errorIfUnloaded()
          if not self._annotationLinksLoaded: return -1
          return len(self._annotationLinksSeq)

      def copyAnnotationLinks(self, current = None):
          self.errorIfUnloaded()
          if not self._annotationLinksLoaded: self.throwNullCollectionException("annotationLinksSeq")
          return list(self._annotationLinksSeq)

      def iterateAnnotationLinks(self):
          self.errorIfUnloaded()
          if not self._annotationLinksLoaded: self.throwNullCollectionException("annotationLinksSeq")
          return iter(self._annotationLinksSeq)

      def addExperimenterAnnotationLink(self, target, current = None):
          self.errorIfUnloaded()
          if not self._annotationLinksLoaded: self.throwNullCollectionException("annotationLinksSeq")
          self._annotationLinksSeq.append( target );
          target.setParent( self )

      def addAllExperimenterAnnotationLinkSet(self, targets, current = None):
          self.errorIfUnloaded()
          if  not self._annotationLinksLoaded: self.throwNullCollectionException("annotationLinksSeq")
          self._annotationLinksSeq.extend( targets )
          for target in targets:
              target.setParent( self )

      def removeExperimenterAnnotationLink(self, target, current = None):
          self.errorIfUnloaded()
          if not self._annotationLinksLoaded: self.throwNullCollectionException("annotationLinksSeq")
          self._annotationLinksSeq.remove( target )
          target.setParent( None )

      def removeAllExperimenterAnnotationLinkSet(self, targets, current = None):
          self.errorIfUnloaded()
          if not self._annotationLinksLoaded: self.throwNullCollectionException("annotationLinksSeq")
          for elt in targets:
              elt.setParent( None )
              self._annotationLinksSeq.remove( elt )

      def clearAnnotationLinks(self, current = None):
          self.errorIfUnloaded()
          if not self._annotationLinksLoaded: self.throwNullCollectionException("annotationLinksSeq")
          for elt in self._annotationLinksSeq:
              elt.setParent( None )
          self._annotationLinksSeq = list()

      def reloadAnnotationLinks(self, toCopy, current = None):
          self.errorIfUnloaded()
          if self._annotationLinksLoaded:
              raise omero.ClientError("Cannot reload active collection: annotationLinksSeq")
          if not toCopy:
              raise omero.ClientError("Argument cannot be null")
          if toCopy.getId().getValue() != self.getId().getValue():
             raise omero.ClientError("Argument must have the same id as this instance")
          if toCopy.getDetails().getUpdateEvent().getId().getValue() < self.getDetails().getUpdateEvent().getId().getValue():
             raise omero.ClientError("Argument may not be older than this instance")
          copy = toCopy.copyAnnotationLinks() # May also throw
          for elt in copy:
              elt.setParent( self )
          self._annotationLinksSeq = copy
          toCopy.unloadAnnotationLinks()
          self._annotationLinksLoaded = True

      def getAnnotationLinksCountPerOwner(self, current = None):
          return self._annotationLinksCountPerOwner

      def linkAnnotation(self, addition, current = None):
          self.errorIfUnloaded()
          if not self._annotationLinksLoaded: self.throwNullCollectionException("annotationLinksSeq")
          link = _omero_model.ExperimenterAnnotationLinkI()
          link.link( self, addition );
          self.addExperimenterAnnotationLinkToBoth( link, True )
          return link

      def addExperimenterAnnotationLinkToBoth(self, link, bothSides):
          self.errorIfUnloaded()
          if not self._annotationLinksLoaded: self.throwNullCollectionException("annotationLinksSeq")
          self._annotationLinksSeq.append( link )

      def findExperimenterAnnotationLink(self, removal, current = None):
          self.errorIfUnloaded()
          if not self._annotationLinksLoaded: self.throwNullCollectionException("annotationLinksSeq")
          result = list()
          for link in self._annotationLinksSeq:
              if link.getChild() == removal: result.append(link)
          return result

      def unlinkAnnotation(self, removal, current = None):
          self.errorIfUnloaded()
          if not self._annotationLinksLoaded: self.throwNullCollectionException("annotationLinksSeq")
          toRemove = self.findExperimenterAnnotationLink(removal)
          for next in toRemove:
              self.removeExperimenterAnnotationLinkFromBoth( next, True )

      def removeExperimenterAnnotationLinkFromBoth(self, link, bothSides, current = None):
          self.errorIfUnloaded()
          if not self._annotationLinksLoaded: self.throwNullCollectionException("annotationLinksSeq")
          self._annotationLinksSeq.remove( link )

      def linkedAnnotationList(self, current = None):
          self.errorIfUnloaded()
          if not self.annotationLinksLoaded: self.throwNullCollectionException("AnnotationLinks")
          linked = []
          for link in self._annotationLinksSeq:
              linked.append( link.getChild() )
          return linked


      def ice_postUnmarshal(self):
          """
          Provides additional initialization once all data loaded
          """
          pass # Currently unused


      def ice_preMarshal(self):
          """
          Provides additional validation before data is sent
          """
          pass # Currently unused

      def __getattr__(self, name):
          """
          Reroutes all access to object.field through object.getField() or object.isField()
          """
          if "_" in name:  # Ice disallows underscores, so these should be treated normally.
              return object.__getattribute__(self, name)
          field  = "_" + name
          capitalized = name[0].capitalize() + name[1:]
          getter = "get" + capitalized
          questn = "is" + capitalized
          try:
              self.__dict__[field]
              if hasattr(self, getter):
                  method = getattr(self, getter)
                  return method()
              elif hasattr(self, questn):
                  method = getattr(self, questn)
                  return method()
          except:
              pass
          raise AttributeError("'%s' object has no attribute '%s' or '%s'" % (self.__class__.__name__, getter, questn))

      def __setattr__(self, name, value):
          """
          Reroutes all access to object.field through object.getField(), with the caveat
          that all sets on variables starting with "_" are permitted directly.
          """
          if name.startswith("_"):
              self.__dict__[name] = value
              return
          else:
              field  = "_" + name
              setter = "set" + name[0].capitalize() + name[1:]
              if hasattr(self, field) and hasattr(self, setter):
                  method = getattr(self, setter)
                  return method(value)
          raise AttributeError("'%s' object has no attribute '%s'" % (self.__class__.__name__, setter))

_omero_model.ExperimenterI = ExperimenterI
