Package omero.model

Class ImmersionI

    • Constructor Detail

      • ImmersionI

        public ImmersionI()
      • ImmersionI

        public ImmersionI​(long id,
                          boolean loaded)
      • ImmersionI

        public ImmersionI​(RLong id,
                          boolean loaded)
    • Method Detail

      • toggleCollectionsLoaded

        protected void toggleCollectionsLoaded​(boolean load)
      • unload

        public void unload​(Ice.Current current)
        Description copied from interface: _IObjectOperations
        Sets the loaded boolean to false and empties all state from this entity to make sending it over the network less costly.
        Specified by:
        unload in interface _IObjectOperations
        Parameters:
        current - The Current object for the invocation.
      • isLoaded

        public boolean isLoaded​(Ice.Current current)
        Description copied from interface: _IObjectOperations
        Tests if the objects are loaded or not. If this value is false, then any method call on this instance other than getId or setId will result in an exception.
        Specified by:
        isLoaded in interface _IObjectOperations
        Parameters:
        current - The Current object for the invocation.
      • unloadCollections

        public void unloadCollections​(Ice.Current current)
        Description copied from interface: _IObjectOperations
        Each collection can also be unloaded, independently of the object itself. To unload all collections, use: object.unloadCollections(); This is useful when it is possible that a collection no longer represents the state in the database, and passing the collections back to the server might delete some entities. Sending back empty collections can also save a significant amount of bandwidth, when working with large data graphs.
        Specified by:
        unloadCollections in interface _IObjectOperations
        Parameters:
        current - The Current object for the invocation.
      • isGlobal

        public boolean isGlobal​(Ice.Current current)
        Description copied from interface: _IObjectOperations
        Marker interface which means that special rules apply for both reading and writing these instances.
        Specified by:
        isGlobal in interface _IObjectOperations
        Parameters:
        current - The Current object for the invocation.
      • isMutable

        public boolean isMutable​(Ice.Current current)
        Description copied from interface: _IObjectOperations
        The server will persist changes made to these types. Methods provided: - getVersion() - setVersion()
        Specified by:
        isMutable in interface _IObjectOperations
        Parameters:
        current - The Current object for the invocation.
      • isAnnotated

        public boolean isAnnotated​(Ice.Current current)
        Description copied from interface: _IObjectOperations
        Allows for the attachment of any omero.model.Annotation subclasses. Methods provided are: - linkAnnotation(Annotation) -
        Specified by:
        isAnnotated in interface _IObjectOperations
        Parameters:
        current - The Current object for the invocation.
      • isLink

        public boolean isLink​(Ice.Current current)
        Description copied from interface: _IObjectOperations
        A link between two other types. Methods provided: - getParent() - getChild()
        Specified by:
        isLink in interface _IObjectOperations
        Parameters:
        current - The Current object for the invocation.
      • shallowCopy

        public IObject shallowCopy​(Ice.Current current)
        Description copied from interface: _IObjectOperations
        Return another instance of the same type as this instance with all single-value entities unloaded and all members of collections also unloaded.
        Specified by:
        shallowCopy in interface _IObjectOperations
        Parameters:
        current - The Current object for the invocation.
      • proxy

        public IObject proxy​(Ice.Current current)
        Description copied from interface: _IObjectOperations
        Return another instance of the same type as this instance constructed as if by: new InstanceI( this.id.val, false );
        Specified by:
        proxy in interface _IObjectOperations
        Parameters:
        current - The Current object for the invocation.
      • unloadDetails

        public void unloadDetails​(Ice.Current current)
        Description copied from interface: _IObjectOperations
        As with collections, the objects under details can link to many other objects. Unloading the details can same bandwidth and simplify the server logic.
        Specified by:
        unloadDetails in interface _IObjectOperations
        Parameters:
        current - The Current object for the invocation.
      • unloadValue

        public void unloadValue()
      • copyObject

        public void copyObject​(ome.util.Filterable model,
                               ome.util.ModelMapper _mapper)
        Used by IceMapper to inject an "ome.model" object into this "omero.model" object.
        Specified by:
        copyObject in interface ome.model.ModelBased
      • fillObject

        public ome.util.Filterable fillObject​(ome.util.ReverseModelMapper _mapper)
        Used by IceMapper produce an "ome.model" object from this "omero.model" object.
        Specified by:
        fillObject in interface ome.model.ModelBased
      • cast

        public static java.util.List<ImmersionI> cast​(java.util.List list)
        Casts (without warning) the given list to a list of the current type.
        Throws:
        java.lang.ClassCastException