"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_Path_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class PathI(_omero_model.Path):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "d",
        "textValue",
        "theZ",
        "theT",
        "theC",
示例#2
0
   Plugin for viewing and controlling active sessions for a local user.

   Plugin read by omero.cli.Cli during initialization. The method(s)
   defined here will be added to the Cli class for later use.
"""

import os
import sys
import Ice
import IceImport
import time
import traceback
import warnings
import omero.java

IceImport.load("Glacier2_Router_ice")

from Glacier2 import PermissionDeniedException

from omero.rtypes import rlong
from omero.rtypes import unwrap
from omero.util import get_user
from omero.util.sessions import SessionsStore
from omero.cli import BaseControl, CLI
from omero_ext.argparse import SUPPRESS

HELP = """Control and create user sessions

Sessions are stored locally on disk. Several can
be active simultaneously, but only one will be used
for a single invocation of bin/omero.
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_IlluminaArrayOfArraysType_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class IlluminaArrayOfArraysTypeI(_omero_model.IlluminaArrayOfArraysType):

      VALUE =  "ome.model.vl.IlluminaArrayOfArraysType_value"
      DETAILS =  "ome.model.vl.IlluminaArrayOfArraysType_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"+
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_EventLog_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class EventLogI(_omero_model.EventLog):

      ENTITYID =  "ome.model.meta.EventLog_entityId"
      ENTITYTYPE =  "ome.model.meta.EventLog_entityType"
      ACTION =  "ome.model.meta.EventLog_action"
      EVENT =  "ome.model.meta.EventLog_event"
      DETAILS =  "ome.model.meta.EventLog_details"
      def errorIfUnloaded(self):
          if not self._loaded:
              raise _omero.UnloadedEntityException("Object unloaded:"+str(self))

      def throwNullCollectionException(self,propertyName):
          raise _omero.UnloadedEntityException(""+
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
/*
 *   $Id$
 *
 *   Copyright 2007 Glencoe Software, Inc. All rights reserved.
 *   Use is subject to license terms supplied in LICENSE.txt
 *
 */
"""
import Ice
import IceImport
IceImport.load("omero_model_Details_ice")
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class DetailsI(_omero_model.Details):

    def __init__(self, client=None):
        super(DetailsI, self).__init__()
        self.__client = client
        self.__session = None
        if client:
            self.__session = client.getSession(False)

    def getClient(self):
        return self.__client
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_InformedConsent_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class InformedConsentI(_omero_model.InformedConsent):

      VID =  "ome.model.vl.InformedConsent_vid"
      LABEL =  "ome.model.vl.InformedConsent_label"
      DESCRIPTION =  "ome.model.vl.InformedConsent_description"
      DOCUMENTPATH =  "ome.model.vl.InformedConsent_documentPath"
      DOCUMENTHASH =  "ome.model.vl.InformedConsent_documentHash"
      ANSWERSDATA =  "ome.model.vl.InformedConsent_answersData"
      REFSTUDY =  "ome.model.vl.InformedConsent_refStudy"
      AUTHORS =  "ome.model.vl.InformedConsent_authors"
      APPROVINGCOMMISSION =  "ome.model.vl.InformedConsent_approvingCommission"
      APPROVALDATE =  "ome.model.vl.InformedConsent_approvalDate"
      DETAILS =  "ome.model.vl.InformedConsent_details"
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

"""
Code-generated omero.model.Temperature implementation,
based on omero.model.PermissionsI
"""


import Ice
import IceImport
IceImport.load("omero_model_Temperature_ice")
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"

from omero_model_UnitBase import UnitBase
from omero.model.enums import UnitsTemperature

from omero.conversions import Add  # nopep8
from omero.conversions import Int  # nopep8
from omero.conversions import Mul  # nopep8
from omero.conversions import Pow  # nopep8
from omero.conversions import Rat  # nopep8
from omero.conversions import Sym  # nopep8

"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_StageLabel_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class StageLabelI(_omero_model.StageLabel):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "positionX",
        "positionY",
        "positionZ",
        "name",
        "details",
示例#9
0
"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_QuantumDef_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class QuantumDefI(_omero_model.QuantumDef):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "cdStart",
        "cdEnd",
        "bitResolution",
        "details",
    ])
"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_PlaneSlicingContext_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class PlaneSlicingContextI(_omero_model.PlaneSlicingContext):

      # Property Metadata
      _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
      _field_info_type = namedtuple("FieldInfo", [
          "upperLimit",
          "lowerLimit",
          "planeSelected",
          "planePrevious",
          "constant",
          "channelBinding",
          "details",
"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_ParseJob_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class ParseJobI(_omero_model.ParseJob):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "params",
        "username",
        "groupname",
        "type",
        "message",
"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_PixelsType_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class PixelsTypeI(_omero_model.PixelsType):

      # Property Metadata
      _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
      _field_info_type = namedtuple("FieldInfo", [
          "value",
          "bitSize",
          "details",
      ])
      _field_info = _field_info_type(
          value=_field_info_data(wrapper=omero.rtypes.rstring, nullable=False),
          bitSize=_field_info_data(wrapper=omero.rtypes.rint, nullable=True),
示例#13
0
"""
Module which is responsible for creating rtypes from static
factory methods. Where possible, factory methods return cached values
(the fly-weight pattern) such that <code>rbool(true) == rbool(true)</code>
might hold true.

This module is meant to be kept in sync with the abstract Java class
omero.rtypes as well as the omero/rtypes.{h,cpp} files.
"""

from builtins import str
from past.builtins import basestring, long
import omero
import Ice
import IceImport
IceImport.load("omero_RTypes_ice")
IceImport.load("omero_Scripts_ice")
IceImport.load("omero_model_RTypes_ice")

sys = __import__("sys")  # Python sys


def rtype(val):
    """
    If None or an RType, return the argument itself. Otherwise,
    attempts to dispatch to the other omero.rtypes.* static methods
    to create a proper {@link RType} subclass by checking the type
    of the input. If no conversion is found, a {@link ClientError} is
    thrown.

    Note: unlike the statically typed languages, the rtype implementation
示例#14
0
"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero

IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_Channel_ice")
from omero.rtypes import rlong
from collections import namedtuple

_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class ChannelI(_omero_model.Channel):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "statsInfo",
        "red",
        "green",
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_Channel_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class ChannelI(_omero_model.Channel):

      STATSINFO =  "ome.model.core.Channel_statsInfo"
      RED =  "ome.model.core.Channel_red"
      GREEN =  "ome.model.core.Channel_green"
      BLUE =  "ome.model.core.Channel_blue"
      ALPHA =  "ome.model.core.Channel_alpha"
      LOGICALCHANNEL =  "ome.model.core.Channel_logicalChannel"
      PIXELS =  "ome.model.core.Channel_pixels"
      ANNOTATIONLINKS =  "ome.model.core.Channel_annotationLinks"
      DETAILS =  "ome.model.core.Channel_details"
      def errorIfUnloaded(self):
          if not self._loaded:
示例#16
0
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import IceImport
IceImport.load("omero_FS_ice")
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_ParseJob_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class ParseJobI(_omero_model.ParseJob):

      PARAMS =  "ome.model.jobs.ParseJob_params"
      USERNAME =  "******"
      GROUPNAME =  "ome.model.jobs.ParseJob_groupname"
      TYPE =  "ome.model.jobs.ParseJob_type"
      MESSAGE =  "ome.model.jobs.ParseJob_message"
      STATUS =  "ome.model.jobs.ParseJob_status"
      SUBMITTED =  "ome.model.jobs.ParseJob_submitted"
      SCHEDULEDFOR =  "ome.model.jobs.ParseJob_scheduledFor"
      STARTED =  "ome.model.jobs.ParseJob_started"
      FINISHED =  "ome.model.jobs.ParseJob_finished"
      ORIGINALFILELINKS =  "ome.model.jobs.ParseJob_originalFileLinks"
"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_Family_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class FamilyI(_omero_model.Family):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "value",
        "details",
    ])
    _field_info = _field_info_type(
        value=_field_info_data(wrapper=omero.rtypes.rstring, nullable=False),
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_StageLabel_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class StageLabelI(_omero_model.StageLabel):

      POSITIONX =  "ome.model.acquisition.StageLabel_positionX"
      POSITIONY =  "ome.model.acquisition.StageLabel_positionY"
      POSITIONZ =  "ome.model.acquisition.StageLabel_positionZ"
      NAME =  "ome.model.acquisition.StageLabel_name"
      DETAILS =  "ome.model.acquisition.StageLabel_details"
      def errorIfUnloaded(self):
          if not self._loaded:
              raise _omero.UnloadedEntityException("Object unloaded:"+str(self))

      def throwNullCollectionException(self,propertyName):
          raise _omero.UnloadedEntityException(""+
"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_WellSample_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class WellSampleI(_omero_model.WellSample):

      # Property Metadata
      _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
      _field_info_type = namedtuple("FieldInfo", [
          "posX",
          "posY",
          "timepoint",
          "plateAcquisition",
          "well",
          "image",
          "details",
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_WellReagentLink_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class WellReagentLinkI(_omero_model.WellReagentLink):

      PARENT =  "ome.model.screen.WellReagentLink_parent"
      CHILD =  "ome.model.screen.WellReagentLink_child"
      DETAILS =  "ome.model.screen.WellReagentLink_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" +
"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_MapAnnotation_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class MapAnnotationI(_omero_model.MapAnnotation):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "mapValue",
        "ns",
        "name",
        "description",
        "annotationLinks",
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_ExternalInfo_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class ExternalInfoI(_omero_model.ExternalInfo):

      ENTITYID =  "ome.model.meta.ExternalInfo_entityId"
      ENTITYTYPE =  "ome.model.meta.ExternalInfo_entityType"
      LSID =  "ome.model.meta.ExternalInfo_lsid"
      UUID =  "ome.model.meta.ExternalInfo_uuid"
      DETAILS =  "ome.model.meta.ExternalInfo_details"
      def errorIfUnloaded(self):
          if not self._loaded:
              raise _omero.UnloadedEntityException("Object unloaded:"+str(self))

      def throwNullCollectionException(self,propertyName):
          raise _omero.UnloadedEntityException(""+
示例#24
0
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

"""
Code-generated omero.model.Temperature implementation,
based on omero.model.PermissionsI
"""


import Ice
import IceImport
IceImport.load("omero_model_Temperature_ice")
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"

from omero_model_UnitBase import UnitBase
from omero.model.enums import UnitsTemperature

from omero.conversions import Add  # nopep8
from omero.conversions import Int  # nopep8
from omero.conversions import Mul  # nopep8
from omero.conversions import Pow  # nopep8
from omero.conversions import Rat  # nopep8
from omero.conversions import Sym  # nopep8

"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_LightEmittingDiode_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class LightEmittingDiodeI(_omero_model.LightEmittingDiode):

      MANUFACTURER =  "ome.model.acquisition.LightEmittingDiode_manufacturer"
      MODEL =  "ome.model.acquisition.LightEmittingDiode_model"
      POWER =  "ome.model.acquisition.LightEmittingDiode_power"
      LOTNUMBER =  "ome.model.acquisition.LightEmittingDiode_lotNumber"
      SERIALNUMBER =  "ome.model.acquisition.LightEmittingDiode_serialNumber"
      INSTRUMENT =  "ome.model.acquisition.LightEmittingDiode_instrument"
      DETAILS =  "ome.model.acquisition.LightEmittingDiode_details"
      def errorIfUnloaded(self):
          if not self._loaded:
              raise _omero.UnloadedEntityException("Object unloaded:"+str(self))
"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_BooleanAnnotation_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class BooleanAnnotationI(_omero_model.BooleanAnnotation):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "boolValue",
        "ns",
        "name",
        "description",
        "annotationLinks",
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_PhotometricInterpretation_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class PhotometricInterpretationI(_omero_model.PhotometricInterpretation):

      VALUE =  "ome.model.enums.PhotometricInterpretation_value"
      DETAILS =  "ome.model.enums.PhotometricInterpretation_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"+
示例#28
0
"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_ArcType_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class ArcTypeI(_omero_model.ArcType):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "value",
        "details",
    ])
    _field_info = _field_info_type(
        value=_field_info_data(wrapper=omero.rtypes.rstring, nullable=False),
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_SeqDataSample_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class SeqDataSampleI(_omero_model.SeqDataSample):

      SAMPLE =  "ome.model.vl.SeqDataSample_sample"
      VID =  "ome.model.vl.SeqDataSample_vid"
      LABEL =  "ome.model.vl.SeqDataSample_label"
      CREATIONDATE =  "ome.model.vl.SeqDataSample_creationDate"
      STATUS =  "ome.model.vl.SeqDataSample_status"
      ACTION =  "ome.model.vl.SeqDataSample_action"
      DETAILS =  "ome.model.vl.SeqDataSample_details"
      def errorIfUnloaded(self):
          if not self._loaded:
              raise _omero.UnloadedEntityException("Object unloaded:"+str(self))
示例#30
0
"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_Format_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class FormatI(_omero_model.Format):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "value",
        "details",
    ])
    _field_info = _field_info_type(
        value=_field_info_data(wrapper=omero.rtypes.rstring, nullable=False),
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_PlateAcquisitionAnnotationLink_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class PlateAcquisitionAnnotationLinkI(_omero_model.PlateAcquisitionAnnotationLink):

      PARENT =  "ome.model.annotations.PlateAcquisitionAnnotationLink_parent"
      CHILD =  "ome.model.annotations.PlateAcquisitionAnnotationLink_child"
      DETAILS =  "ome.model.annotations.PlateAcquisitionAnnotationLink_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" +
"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_RoiAnnotationLink_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class RoiAnnotationLinkI(_omero_model.RoiAnnotationLink):

      # Property Metadata
      _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
      _field_info_type = namedtuple("FieldInfo", [
          "parent",
          "child",
          "details",
      ])
      _field_info = _field_info_type(
          parent=_field_info_data(wrapper=omero.proxy_to_instance, nullable=False),
          child=_field_info_data(wrapper=omero.proxy_to_instance, nullable=False),
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_VLCollection_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class VLCollectionI(_omero_model.VLCollection):

      VID =  "ome.model.vl.VLCollection_vid"
      LABEL =  "ome.model.vl.VLCollection_label"
      CREATIONDATE =  "ome.model.vl.VLCollection_creationDate"
      ACTION =  "ome.model.vl.VLCollection_action"
      LASTUPDATE =  "ome.model.vl.VLCollection_lastUpdate"
      DETAILS =  "ome.model.vl.VLCollection_details"
      def errorIfUnloaded(self):
          if not self._loaded:
              raise _omero.UnloadedEntityException("Object unloaded:"+str(self))

      def throwNullCollectionException(self,propertyName):
示例#34
0
"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_ContrastStretchingContext_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class ContrastStretchingContextI(_omero_model.ContrastStretchingContext):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "xstart",
        "ystart",
        "xend",
        "yend",
        "channelBinding",
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_Rect_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class RectI(_omero_model.Rect):

      X =  "ome.model.roi.Rect_x"
      Y =  "ome.model.roi.Rect_y"
      WIDTH =  "ome.model.roi.Rect_width"
      HEIGHT =  "ome.model.roi.Rect_height"
      RX =  "ome.model.roi.Rect_rx"
      TEXTVALUE =  "ome.model.roi.Rect_textValue"
      THEZ =  "ome.model.roi.Rect_theZ"
      THET =  "ome.model.roi.Rect_theT"
      THEC =  "ome.model.roi.Rect_theC"
      ROI =  "ome.model.roi.Rect_roi"
      LOCKED =  "ome.model.roi.Rect_locked"
示例#36
0
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# This file is an import-only file providing a mechanism for other files to
# import a range of modules in a controlled way. It could be made to pass
# flake8 but given its simplicity it is being marked as noqa for now.
#
# flake8: noqa

from omero import ObjectFactoryRegistrar

import IceImport

IceImport.load("omero_model_NamedValue_ice")
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_GenomeVariationsDataSample_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class GenomeVariationsDataSampleI(_omero_model.GenomeVariationsDataSample):

      REFERENCEGENOME =  "ome.model.vl.GenomeVariationsDataSample_referenceGenome"
      VID =  "ome.model.vl.GenomeVariationsDataSample_vid"
      LABEL =  "ome.model.vl.GenomeVariationsDataSample_label"
      CREATIONDATE =  "ome.model.vl.GenomeVariationsDataSample_creationDate"
      STATUS =  "ome.model.vl.GenomeVariationsDataSample_status"
      ACTION =  "ome.model.vl.GenomeVariationsDataSample_action"
      DETAILS =  "ome.model.vl.GenomeVariationsDataSample_details"
      def errorIfUnloaded(self):
          if not self._loaded:
              raise _omero.UnloadedEntityException("Object unloaded:"+str(self))
示例#38
0
"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_GroupExperimenterMap_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class GroupExperimenterMapI(_omero_model.GroupExperimenterMap):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "parent",
        "child",
        "owner",
        "details",
    ])
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_Share_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class ShareI(_omero_model.Share):

      GROUP =  "ome.model.meta.Share_group"
      ITEMCOUNT =  "ome.model.meta.Share_itemCount"
      ACTIVE =  "ome.model.meta.Share_active"
      DATA =  "ome.model.meta.Share_data"
      NODE =  "ome.model.meta.Share_node"
      UUID =  "ome.model.meta.Share_uuid"
      OWNER =  "ome.model.meta.Share_owner"
      TIMETOIDLE =  "ome.model.meta.Share_timeToIdle"
      TIMETOLIVE =  "ome.model.meta.Share_timeToLive"
      STARTED =  "ome.model.meta.Share_started"
      CLOSED =  "ome.model.meta.Share_closed"
"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_LightPathExcitationFilterLink_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class LightPathExcitationFilterLinkI(_omero_model.LightPathExcitationFilterLink
                                     ):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "parent",
        "child",
        "details",
    ])
示例#41
0
"""
   Copyright 2010 Glencoe Software, Inc. All rights reserved.
   Use is subject to license terms supplied in LICENSE.txt

"""

import IceImport
IceImport.load("omero_FS_ice")
IceImport.load("omero_Scripts_ice")
IceImport.load("omero_SharedResources_ice")
IceImport.load("omero_Tables_ice")


"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_OriginalFile_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class OriginalFileI(_omero_model.OriginalFile):

      # Property Metadata
      _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
      _field_info_type = namedtuple("FieldInfo", [
          "pixelsFileMaps",
          "path",
          "repo",
          "size",
          "atime",
          "mtime",
          "ctime",
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_LightPathExcitationFilterLink_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class LightPathExcitationFilterLinkI(_omero_model.LightPathExcitationFilterLink):

      PARENT =  "ome.model.acquisition.LightPathExcitationFilterLink_parent"
      CHILD =  "ome.model.acquisition.LightPathExcitationFilterLink_child"
      DETAILS =  "ome.model.acquisition.LightPathExcitationFilterLink_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" +
示例#44
0
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""

   Copyright 2010 Glencoe Software, Inc. All rights reserved.
   Use is subject to license terms supplied in LICENSE.txt

"""

import omero
import IceImport
if omero.__import_style__ is None:
    omero.__import_style__ = "min"

# New Command API
IceImport.load("omero_cmd_API_ice")
IceImport.load("omero_cmd_Basic_ice")
IceImport.load("omero_cmd_FS_ice")
IceImport.load("omero_cmd_Graphs_ice")

# Previous ServiceFactory API
IceImport.load("omero_API_ice")
IceImport.load("omero_ServicesF_ice")
IceImport.load("omero_Constants_ice")

IceImport.load("Glacier2_Router_ice")
import omero.rtypes
示例#45
0
# -*- coding: utf-8 -*-
"""

   Copyright 2010 Glencoe Software, Inc. All rights reserved.
   Use is subject to license terms supplied in LICENSE.txt

"""

import Ice, IceImport
import omero
if omero.__import_style__ is None:
    omero.__import_style__ = "all"
    import omero.min
    import omero.callbacks
    import omero.ObjectFactoryRegistrar
    IceImport.load("omero_FS_ice")
    IceImport.load("omero_System_ice")
    IceImport.load("omero_Collections_ice")
    IceImport.load("omero_Repositories_ice")
    IceImport.load("omero_SharedResources_ice")
    IceImport.load("omero_Scripts_ice")
    IceImport.load("omero_Tables_ice")
    IceImport.load("omero_api_Gateway_ice")
    IceImport.load("omero_api_IAdmin_ice")
    IceImport.load("omero_api_IConfig_ice")
    IceImport.load("omero_api_IContainer_ice")
    IceImport.load("omero_api_IDelete_ice")
    IceImport.load("omero_api_ILdap_ice")
    IceImport.load("omero_api_IMetadata_ice")
    IceImport.load("omero_api_IPixels_ice")
    IceImport.load("omero_api_IProjection_ice")
"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_ObjectiveSettings_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class ObjectiveSettingsI(_omero_model.ObjectiveSettings):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "correctionCollar",
        "medium",
        "refractiveIndex",
        "objective",
        "details",
示例#47
0
     */
"""

"""
Module which is responsible for creating rtypes from static
factory methods. Where possible, factory methods return cached values
(the fly-weight pattern) such that <code>rbool(true) == rbool(true)</code>
might hold true.

This module is meant to be kept in sync with the abstract Java class
omero.rtypes as well as the omero/rtypes.{h,cpp} files.
"""

import omero, Ice
import IceImport
IceImport.load("omero_RTypes_ice")
IceImport.load("omero_Scripts_ice")

def rtype(val):
    """
    If None or an RType, return the argument itself. Otherwise,
    attempts to dispatch to the other omero.rtypes.* static methods
    to create a proper {@link RType} subclass by checking the type
    of the input. If no conversion is found, a {@link ClientError} is
    thrown.

    Note: unlike the statically typed languages, the rtype implementation
    in Python is somewhat limited by the lack of types (float v. double)
    All float-like values will produce an omero.RFloat subclass. Similar
    problems may arise with rlong and rint
    """
# -*- coding: utf-8 -*-
"""
/*
 *   Generated by blitz/templates/resouces/combined.vm
 *
 *   Copyright 2007 Glencoe Software, Inc. All rights reserved.
 *   Use is subject to license terms supplied in LICENSE.txt
 *
 */
"""

import omero.constants.permissions as ocp

import Ice
import IceImport
IceImport.load("omero_model_Permissions_ice")
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"

"""Permissions class which implements Unix-like rw logic for user/group/world.

>>> p = PermissionsI()
object #0 (::omero::model::Permissions)
{
    perm1 = -35
}
"""


class PermissionsI(_omero_model.Permissions):
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_VesselStatus_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class VesselStatusI(_omero_model.VesselStatus):

      VALUE =  "ome.model.vl.VesselStatus_value"
      DETAILS =  "ome.model.vl.VesselStatus_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"+
"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_Node_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class NodeI(_omero_model.Node):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "sessions",
        "uuid",
        "conn",
        "up",
        "down",
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_IlluminaBeadChipMeasures_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class IlluminaBeadChipMeasuresI(_omero_model.IlluminaBeadChipMeasures):

      REDCHANNEL =  "ome.model.vl.IlluminaBeadChipMeasures_redChannel"
      GREENCHANNEL =  "ome.model.vl.IlluminaBeadChipMeasures_greenChannel"
      VID =  "ome.model.vl.IlluminaBeadChipMeasures_vid"
      LABEL =  "ome.model.vl.IlluminaBeadChipMeasures_label"
      CREATIONDATE =  "ome.model.vl.IlluminaBeadChipMeasures_creationDate"
      ACTION =  "ome.model.vl.IlluminaBeadChipMeasures_action"
      LASTUPDATE =  "ome.model.vl.IlluminaBeadChipMeasures_lastUpdate"
      DETAILS =  "ome.model.vl.IlluminaBeadChipMeasures_details"
      def errorIfUnloaded(self):
          if not self._loaded:
              raise _omero.UnloadedEntityException("Object unloaded:"+str(self))
示例#52
0
"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_Project_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class ProjectI(_omero_model.Project):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "datasetLinks",
        "annotationLinks",
        "name",
        "description",
        "details",
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_OriginalFile_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class OriginalFileI(_omero_model.OriginalFile):

      PIXELSFILEMAPS =  "ome.model.core.OriginalFile_pixelsFileMaps"
      PATH =  "ome.model.core.OriginalFile_path"
      SIZE =  "ome.model.core.OriginalFile_size"
      ATIME =  "ome.model.core.OriginalFile_atime"
      MTIME =  "ome.model.core.OriginalFile_mtime"
      CTIME =  "ome.model.core.OriginalFile_ctime"
      SHA1 =  "ome.model.core.OriginalFile_sha1"
      MIMETYPE =  "ome.model.core.OriginalFile_mimetype"
      ANNOTATIONLINKS =  "ome.model.core.OriginalFile_annotationLinks"
      NAME =  "ome.model.core.OriginalFile_name"
      DETAILS =  "ome.model.core.OriginalFile_details"
示例#54
0
"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero

IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_FolderImageLink_ice")
from omero.rtypes import rlong
from collections import namedtuple

_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class FolderImageLinkI(_omero_model.FolderImageLink):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "parent",
        "child",
        "details",
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_ExperimenterGroup_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class ExperimenterGroupI(_omero_model.ExperimenterGroup):

      NAME =  "ome.model.meta.ExperimenterGroup_name"
      GROUPEXPERIMENTERMAP =  "ome.model.meta.ExperimenterGroup_groupExperimenterMap"
      ANNOTATIONLINKS =  "ome.model.meta.ExperimenterGroup_annotationLinks"
      DESCRIPTION =  "ome.model.meta.ExperimenterGroup_description"
      DETAILS =  "ome.model.meta.ExperimenterGroup_details"
      def errorIfUnloaded(self):
          if not self._loaded:
              raise _omero.UnloadedEntityException("Object unloaded:"+str(self))

      def throwNullCollectionException(self,propertyName):
          raise _omero.UnloadedEntityException(""+
示例#56
0
try:
    api = __import__('omero.api')
    model = __import__('omero.model')
    util = __import__('omero.util')
    sys = __import__('omero.sys')
    import omero.all
finally:
    __name__ = __save__
    del __save__

sys = __import__("sys")
import exceptions, traceback, threading, logging
import IceImport, Ice
import omero_ext.uuid as uuid  # see ticket:3774

IceImport.load("Glacier2_Router_ice")
import Glacier2


class BaseClient(object):
    """
    Central client-side blitz entry point, and should be in sync with OmeroJava's omero.client
    and OmeroCpp's omero::client.

    Typical usage includes::

        client = omero.client()                          # Uses --Ice.Config argument or ICE_CONFIG variable
        client = omero.client(host = host)               # Defines "omero.host"
        client = omero.client(host = host, port = port)  # Defines "omero.host" and "omero.port"

    For more information, see:
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_ChannelAnnotationLink_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class ChannelAnnotationLinkI(_omero_model.ChannelAnnotationLink):

      PARENT =  "ome.model.annotations.ChannelAnnotationLink_parent"
      CHILD =  "ome.model.annotations.ChannelAnnotationLink_child"
      DETAILS =  "ome.model.annotations.ChannelAnnotationLink_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" +
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_Enrollment_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class EnrollmentI(_omero_model.Enrollment):

      VID =  "ome.model.vl.Enrollment_vid"
      INDIVIDUAL =  "ome.model.vl.Enrollment_individual"
      STUDY =  "ome.model.vl.Enrollment_study"
      STUDYCODE =  "ome.model.vl.Enrollment_studyCode"
      STCODEUK =  "ome.model.vl.Enrollment_stCodeUK"
      STINDUK =  "ome.model.vl.Enrollment_stIndUK"
      DETAILS =  "ome.model.vl.Enrollment_details"
      def errorIfUnloaded(self):
          if not self._loaded:
              raise _omero.UnloadedEntityException("Object unloaded:"+str(self))
"""
   /*
   **   Generated by blitz/templates/resouces/combined.vm
   **
   **   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   **   Use is subject to license terms supplied in LICENSE.txt
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_PixelsOriginalFileMap_ice")
from omero.rtypes import rlong
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class PixelsOriginalFileMapI(_omero_model.PixelsOriginalFileMap):

      PARENT =  "ome.model.core.PixelsOriginalFileMap_parent"
      CHILD =  "ome.model.core.PixelsOriginalFileMap_child"
      DETAILS =  "ome.model.core.PixelsOriginalFileMap_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" +
"""
   /*
   **   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
   **
   */
"""
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_PixelsOriginalFileMap_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class PixelsOriginalFileMapI(_omero_model.PixelsOriginalFileMap):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "parent",
        "child",
        "details",
    ])
    _field_info = _field_info_type(