Ejemplo n.º 1
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_Filter_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class FilterI(_omero_model.Filter):

      # Property Metadata
      _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
      _field_info_type = namedtuple("FieldInfo", [
          "manufacturer",
          "model",
          "lotNumber",
          "serialNumber",
          "filterWheel",
          "type",
          "transmittanceRange",
"""
   /*
   **   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" +
"""
   /*
   **   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_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))
"""
   /*
   **   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_ProjectDatasetLink_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class ProjectDatasetLinkI(_omero_model.ProjectDatasetLink):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "parent",
        "child",
        "details",
    ])
    _field_info = _field_info_type(
Ejemplo n.º 7
0
     *
     *   Copyright 2009 Glencoe Software, Inc. All rights reserved.
     *   Use is subject to license terms supplied in LICENSE.txt
     *
     */
"""
"""
Concrete implementations of the omero.grid.Column
type hierarchy which know how to convert themselves
to PyTables types.
"""

import omero
import Ice
import IceImport
IceImport.load("omero_Tables_ice")

try:
    import numpy
    tables = __import__("tables")  # Pytables
    has_pytables = True
    if hasattr(tables, "open_file"):
        has_pytables3 = True
    else:
        has_pytables3 = False
except ImportError:
    has_pytables = False


def columns2definition(cols):
    """
Ejemplo n.º 8
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_ScreenPlateLink_ice")
from omero.rtypes import rlong
from collections import namedtuple

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


class ScreenPlateLinkI(_omero_model.ScreenPlateLink):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "parent",
        "child",
        "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_Ellipse_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class EllipseI(_omero_model.Ellipse):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "x",
        "y",
        "radiusX",
        "radiusY",
        "textValue",
Ejemplo n.º 10
0
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import IceImport
IceImport.load("omero_FS_ice")

#
# Copied from:
# blitz/src/ome/formats/importer/transfers/AbstractFileTransfer.java
#
TRANSFERS = {
    "ome.formats.importer.transfers.CopyFileTransfer": "cp",
    "ome.formats.importer.transfers.CopyMoveFileTransfer": "cp_rm",
    "ome.formats.importer.transfers.HardlinkFileTransfer": "ln",
    "ome.formats.importer.transfers.MoveFileTransfer": "ln_rm",
    "ome.formats.importer.transfers.SymlinkFileTransfer": "ln_s",
    "ome.formats.importer.transfers.UploadRmFileTransfer": "upload_rm",
    "ome.formats.importer.transfers.UploadFileTransfer": "",
}
# -*- coding: utf-8 -*-
"""
/*
 *   Used to be generated by blitz/templates/resources/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):
Ejemplo n.º 12
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_MicroscopeType_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class MicroscopeTypeI(_omero_model.MicroscopeType):

    # 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/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_Detector_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class DetectorI(_omero_model.Detector):

      # Property Metadata
      _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
      _field_info_type = namedtuple("FieldInfo", [
          "manufacturer",
          "model",
          "lotNumber",
          "serialNumber",
          "voltage",
          "gain",
          "offsetValue",
Ejemplo n.º 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_ProjectAnnotationLink_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class ProjectAnnotationLinkI(_omero_model.ProjectAnnotationLink):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "parent",
        "child",
        "details",
    ])
    _field_info = _field_info_type(
"""
   /*
   **   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_Immersion_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class ImmersionI(_omero_model.Immersion):

      # 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),
          details=_field_info_data(wrapper=omero.proxy_to_instance, nullable=True),
      )  # end _field_info
Ejemplo n.º 16
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_JobStatus_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class JobStatusI(_omero_model.JobStatus):

    # 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),
#!/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
Ejemplo n.º 19
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_LightSettings_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class LightSettingsI(_omero_model.LightSettings):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "attenuation",
        "wavelength",
        "lightSource",
        "microbeamManipulation",
        "details",
Ejemplo n.º 20
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.
Ejemplo n.º 21
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_Plate_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class PlateI(_omero_model.Plate):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "defaultSample",
        "columnNamingConvention",
        "rowNamingConvention",
        "wellOriginX",
        "wellOriginY",
"""
   /*
   **   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(""+
"""
   /*
   **   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_ImageAnnotationLink_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class ImageAnnotationLinkI(_omero_model.ImageAnnotationLink):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "parent",
        "child",
        "details",
    ])
    _field_info = _field_info_type(
Ejemplo n.º 24
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_FileAnnotation_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class FileAnnotationI(_omero_model.FileAnnotation):

      # Property Metadata
      _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
      _field_info_type = namedtuple("FieldInfo", [
          "file",
          "ns",
          "name",
          "description",
          "annotationLinks",
          "details",
      ])
Ejemplo n.º 25
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_ChecksumAlgorithm_ice")
from omero.rtypes import rlong
from collections import namedtuple

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


class ChecksumAlgorithmI(_omero_model.ChecksumAlgorithm):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "value",
        "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_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/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_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/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" +
Ejemplo n.º 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_ProjectionDef_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class ProjectionDefI(_omero_model.ProjectionDef):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "renderingDef",
        "axis",
        "type",
        "active",
        "startPlane",
"""
   /*
   **   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:
"""
   /*
   **   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(""+
Ejemplo n.º 33
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_Experiment_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class ExperimentI(_omero_model.Experiment):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "type",
        "microbeamManipulation",
        "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_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(""+
"""
   /*
   **   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):
Ejemplo n.º 36
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
    """
"""
   /*
   **   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/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"+
Ejemplo n.º 39
0
"""
   /*
   **   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"
"""
   /*
   **   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))
"""
   /*
   **   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"
"""
   /*
   **   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"
"""
   /*
   **   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))
"""
   /*
   **   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"+
"""
   /*
   **   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/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/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_LaserType_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class LaserTypeI(_omero_model.LaserType):

    # 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),
Ejemplo n.º 48
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_NamespaceAnnotationLink_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class NamespaceAnnotationLinkI(_omero_model.NamespaceAnnotationLink):

      # 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),
Ejemplo n.º 49
0
"""
   /*
   **   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_FilesetAnnotationLink_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class FilesetAnnotationLinkI(_omero_model.FilesetAnnotationLink):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "parent",
        "child",
        "details",
    ])
    _field_info = _field_info_type(
Ejemplo n.º 51
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/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_WellReagentLink_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class WellReagentLinkI(_omero_model.WellReagentLink):

      # 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),
Ejemplo n.º 53
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_ScriptJob_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"


class ScriptJobI(_omero_model.ScriptJob):

    # Property Metadata
    _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
    _field_info_type = namedtuple("FieldInfo", [
        "description",
        "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_LightEmittingDiode_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_model = Ice.openModule("omero.model")
__name__ = "omero.model"
class LightEmittingDiodeI(_omero_model.LightEmittingDiode):

      # Property Metadata
      _field_info_data = namedtuple("FieldData", ["wrapper", "nullable"])
      _field_info_type = namedtuple("FieldInfo", [
          "manufacturer",
          "model",
          "power",
          "lotNumber",
          "serialNumber",
          "instrument",
          "annotationLinks",