Package omero.model
Class PlaneSlicingContextI
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.model.IObject
-
- omero.model.CodomainMapContext
-
- omero.model.PlaneSlicingContext
-
- omero.model.PlaneSlicingContextI
-
- All Implemented Interfaces:
Ice.Object,java.io.Serializable,java.lang.Cloneable,ome.model.ModelBased,_CodomainMapContextOperations,_CodomainMapContextOperationsNC,_IObjectOperations,_IObjectOperationsNC,_PlaneSlicingContextOperations,_PlaneSlicingContextOperationsNC
public class PlaneSlicingContextI extends PlaneSlicingContext implements ome.model.ModelBased
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCHANNELBINDINGstatic java.lang.StringCONSTANTstatic java.lang.StringDETAILSstatic java.lang.StringLOWERLIMITstatic java.lang.StringPLANEPREVIOUSstatic java.lang.StringPLANESELECTEDstatic java.lang.StringUPPERLIMIT-
Fields inherited from class omero.model.PlaneSlicingContext
__ids, constant, lowerLimit, planePrevious, planeSelected, serialVersionUID, upperLimit
-
Fields inherited from class omero.model.CodomainMapContext
channelBinding, version
-
-
Constructor Summary
Constructors Constructor Description PlaneSlicingContextI()PlaneSlicingContextI(long id, boolean loaded)PlaneSlicingContextI(RLong id, boolean loaded)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List<PlaneSlicingContextI>cast(java.util.List list)Casts (without warning) the given list to a list of the current type.voidcopyObject(ome.util.Filterable model, ome.util.ModelMapper _mapper)Used byIceMapperto inject an "ome.model" object into this "omero.model" object.protected voiderrorIfUnloaded()ome.util.FilterablefillObject(ome.util.ReverseModelMapper _mapper)Used byIceMapperproduce an "ome.model" object from this "omero.model" object.ChannelBindinggetChannelBinding(Ice.Current current)RBoolgetConstant(Ice.Current current)DetailsgetDetails(Ice.Current current)RLonggetId(Ice.Current current)RIntgetLowerLimit(Ice.Current current)RIntgetPlanePrevious(Ice.Current current)RIntgetPlaneSelected(Ice.Current current)RIntgetUpperLimit(Ice.Current current)RIntgetVersion(Ice.Current current)booleanisAnnotated(Ice.Current current)Allows for the attachment of any omero.model.Annotation subclasses.booleanisGlobal(Ice.Current current)Marker interface which means that special rules apply for both reading and writing these instances.booleanisLink(Ice.Current current)A link between two other types.booleanisLoaded(Ice.Current current)Tests if the objects are loaded or not.booleanisMutable(Ice.Current current)The server will persist changes made to these types.IObjectproxy(Ice.Current current)Return another instance of the same type as this instance constructed as if by: new InstanceI( this.id.val, false );voidsetChannelBinding(ChannelBinding channelBinding, Ice.Current current)voidsetConstant(RBool constant, Ice.Current current)voidsetId(RLong id, Ice.Current current)voidsetLowerLimit(RInt lowerLimit, Ice.Current current)voidsetPlanePrevious(RInt planePrevious, Ice.Current current)voidsetPlaneSelected(RInt planeSelected, Ice.Current current)voidsetUpperLimit(RInt upperLimit, Ice.Current current)voidsetVersion(RInt version, Ice.Current current)IObjectshallowCopy(Ice.Current current)Return another instance of the same type as this instance with all single-value entities unloaded and all members of collections also unloaded.protected voidthrowNullCollectionException(java.lang.String propertyName)protected voidtoggleCollectionsLoaded(boolean load)voidunload(Ice.Current current)Sets the loaded boolean to false and empties all state from this entity to make sending it over the network less costly.voidunloadChannelBinding()voidunloadCollections(Ice.Current current)Each collection can also be unloaded, independently of the object itself.voidunloadConstant()voidunloadDetails(Ice.Current current)As with collections, the objects under details can link to many other objects.voidunloadLowerLimit()voidunloadPlanePrevious()voidunloadPlaneSelected()voidunloadUpperLimit()-
Methods inherited from class omero.model.PlaneSlicingContext
___getConstant, ___getLowerLimit, ___getPlanePrevious, ___getPlaneSelected, ___getUpperLimit, ___setConstant, ___setLowerLimit, ___setPlanePrevious, ___setPlaneSelected, ___setUpperLimit, __dispatch, __readImpl, __writeImpl, clone, getConstant, getLowerLimit, getPlanePrevious, getPlaneSelected, getUpperLimit, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, setConstant, setLowerLimit, setPlanePrevious, setPlaneSelected, setUpperLimit
-
Methods inherited from class omero.model.CodomainMapContext
___getChannelBinding, ___getVersion, ___setChannelBinding, ___setVersion, getChannelBinding, getVersion, setChannelBinding, setVersion
-
Methods inherited from class omero.model.IObject
___getDetails, ___getId, ___isAnnotated, ___isGlobal, ___isLink, ___isLoaded, ___isMutable, ___proxy, ___setId, ___shallowCopy, ___unload, ___unloadCollections, ___unloadDetails, getDetails, getId, isAnnotated, isGlobal, isLink, isLoaded, isMutable, proxy, setId, shallowCopy, unload, unloadCollections, unloadDetails
-
Methods inherited from class Ice.ObjectImpl
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface omero.model._CodomainMapContextOperationsNC
getChannelBinding, getVersion, setChannelBinding, setVersion
-
Methods inherited from interface omero.model._IObjectOperationsNC
getDetails, getId, isAnnotated, isGlobal, isLink, isLoaded, isMutable, proxy, setId, shallowCopy, unload, unloadCollections, unloadDetails
-
-
-
-
Field Detail
-
UPPERLIMIT
public static final java.lang.String UPPERLIMIT
- See Also:
- Constant Field Values
-
LOWERLIMIT
public static final java.lang.String LOWERLIMIT
- See Also:
- Constant Field Values
-
PLANESELECTED
public static final java.lang.String PLANESELECTED
- See Also:
- Constant Field Values
-
PLANEPREVIOUS
public static final java.lang.String PLANEPREVIOUS
- See Also:
- Constant Field Values
-
CONSTANT
public static final java.lang.String CONSTANT
- See Also:
- Constant Field Values
-
CHANNELBINDING
public static final java.lang.String CHANNELBINDING
- See Also:
- Constant Field Values
-
DETAILS
public static final java.lang.String DETAILS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PlaneSlicingContextI
public PlaneSlicingContextI()
-
PlaneSlicingContextI
public PlaneSlicingContextI(long id, boolean loaded)
-
PlaneSlicingContextI
public PlaneSlicingContextI(RLong id, boolean loaded)
-
-
Method Detail
-
errorIfUnloaded
protected void errorIfUnloaded() throws UnloadedEntityException- Throws:
UnloadedEntityException
-
throwNullCollectionException
protected void throwNullCollectionException(java.lang.String propertyName) throws UnloadedCollectionException- Throws:
UnloadedCollectionException
-
toggleCollectionsLoaded
protected void toggleCollectionsLoaded(boolean load)
-
unload
public void unload(Ice.Current current)
Description copied from interface:_IObjectOperationsSets the loaded boolean to false and empties all state from this entity to make sending it over the network less costly.- Specified by:
unloadin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
isLoaded
public boolean isLoaded(Ice.Current current)
Description copied from interface:_IObjectOperationsTests 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:
isLoadedin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
unloadCollections
public void unloadCollections(Ice.Current current)
Description copied from interface:_IObjectOperationsEach 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:
unloadCollectionsin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
isGlobal
public boolean isGlobal(Ice.Current current)
Description copied from interface:_IObjectOperationsMarker interface which means that special rules apply for both reading and writing these instances.- Specified by:
isGlobalin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
isMutable
public boolean isMutable(Ice.Current current)
Description copied from interface:_IObjectOperationsThe server will persist changes made to these types. Methods provided: - getVersion() - setVersion()- Specified by:
isMutablein interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
isAnnotated
public boolean isAnnotated(Ice.Current current)
Description copied from interface:_IObjectOperationsAllows for the attachment of any omero.model.Annotation subclasses. Methods provided are: - linkAnnotation(Annotation) -- Specified by:
isAnnotatedin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
isLink
public boolean isLink(Ice.Current current)
Description copied from interface:_IObjectOperationsA link between two other types. Methods provided: - getParent() - getChild()- Specified by:
isLinkin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
shallowCopy
public IObject shallowCopy(Ice.Current current)
Description copied from interface:_IObjectOperationsReturn another instance of the same type as this instance with all single-value entities unloaded and all members of collections also unloaded.- Specified by:
shallowCopyin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
proxy
public IObject proxy(Ice.Current current)
Description copied from interface:_IObjectOperationsReturn another instance of the same type as this instance constructed as if by: new InstanceI( this.id.val, false );- Specified by:
proxyin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
getId
public RLong getId(Ice.Current current)
- Specified by:
getIdin interface_IObjectOperations
-
setId
public void setId(RLong id, Ice.Current current)
- Specified by:
setIdin interface_IObjectOperations
-
getDetails
public Details getDetails(Ice.Current current)
- Specified by:
getDetailsin interface_IObjectOperations
-
unloadDetails
public void unloadDetails(Ice.Current current)
Description copied from interface:_IObjectOperationsAs 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:
unloadDetailsin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
getVersion
public RInt getVersion(Ice.Current current)
- Specified by:
getVersionin interface_CodomainMapContextOperations
-
setVersion
public void setVersion(RInt version, Ice.Current current)
- Specified by:
setVersionin interface_CodomainMapContextOperations
-
unloadUpperLimit
public void unloadUpperLimit()
-
getUpperLimit
public RInt getUpperLimit(Ice.Current current) throws UnloadedEntityException
- Specified by:
getUpperLimitin interface_PlaneSlicingContextOperations- Throws:
UnloadedEntityException
-
setUpperLimit
public void setUpperLimit(RInt upperLimit, Ice.Current current) throws UnloadedEntityException
- Specified by:
setUpperLimitin interface_PlaneSlicingContextOperations- Throws:
UnloadedEntityException
-
unloadLowerLimit
public void unloadLowerLimit()
-
getLowerLimit
public RInt getLowerLimit(Ice.Current current) throws UnloadedEntityException
- Specified by:
getLowerLimitin interface_PlaneSlicingContextOperations- Throws:
UnloadedEntityException
-
setLowerLimit
public void setLowerLimit(RInt lowerLimit, Ice.Current current) throws UnloadedEntityException
- Specified by:
setLowerLimitin interface_PlaneSlicingContextOperations- Throws:
UnloadedEntityException
-
unloadPlaneSelected
public void unloadPlaneSelected()
-
getPlaneSelected
public RInt getPlaneSelected(Ice.Current current) throws UnloadedEntityException
- Specified by:
getPlaneSelectedin interface_PlaneSlicingContextOperations- Throws:
UnloadedEntityException
-
setPlaneSelected
public void setPlaneSelected(RInt planeSelected, Ice.Current current) throws UnloadedEntityException
- Specified by:
setPlaneSelectedin interface_PlaneSlicingContextOperations- Throws:
UnloadedEntityException
-
unloadPlanePrevious
public void unloadPlanePrevious()
-
getPlanePrevious
public RInt getPlanePrevious(Ice.Current current) throws UnloadedEntityException
- Specified by:
getPlanePreviousin interface_PlaneSlicingContextOperations- Throws:
UnloadedEntityException
-
setPlanePrevious
public void setPlanePrevious(RInt planePrevious, Ice.Current current) throws UnloadedEntityException
- Specified by:
setPlanePreviousin interface_PlaneSlicingContextOperations- Throws:
UnloadedEntityException
-
unloadConstant
public void unloadConstant()
-
getConstant
public RBool getConstant(Ice.Current current) throws UnloadedEntityException
- Specified by:
getConstantin interface_PlaneSlicingContextOperations- Throws:
UnloadedEntityException
-
setConstant
public void setConstant(RBool constant, Ice.Current current) throws UnloadedEntityException
- Specified by:
setConstantin interface_PlaneSlicingContextOperations- Throws:
UnloadedEntityException
-
unloadChannelBinding
public void unloadChannelBinding()
-
getChannelBinding
public ChannelBinding getChannelBinding(Ice.Current current) throws UnloadedEntityException
- Specified by:
getChannelBindingin interface_CodomainMapContextOperations- Throws:
UnloadedEntityException
-
setChannelBinding
public void setChannelBinding(ChannelBinding channelBinding, Ice.Current current) throws UnloadedEntityException
- Specified by:
setChannelBindingin interface_CodomainMapContextOperations- Throws:
UnloadedEntityException
-
copyObject
public void copyObject(ome.util.Filterable model, ome.util.ModelMapper _mapper)Used byIceMapperto inject an "ome.model" object into this "omero.model" object.- Specified by:
copyObjectin interfaceome.model.ModelBased
-
fillObject
public ome.util.Filterable fillObject(ome.util.ReverseModelMapper _mapper)
Used byIceMapperproduce an "ome.model" object from this "omero.model" object.- Specified by:
fillObjectin interfaceome.model.ModelBased
-
cast
public static java.util.List<PlaneSlicingContextI> cast(java.util.List list)
Casts (without warning) the given list to a list of the current type.- Throws:
java.lang.ClassCastException
-
-