Package omero.model
Class WellAnnotationLinkI
- java.lang.Object
- 
- Ice.ObjectImpl
- 
- omero.model.IObject
- 
- omero.model.WellAnnotationLink
- 
- omero.model.WellAnnotationLinkI
 
 
 
 
- 
- All Implemented Interfaces:
- Ice.Object,- java.io.Serializable,- java.lang.Cloneable,- ome.model.ModelBased,- _IObjectOperations,- _IObjectOperationsNC,- _WellAnnotationLinkOperations,- _WellAnnotationLinkOperationsNC
 
 public class WellAnnotationLinkI extends WellAnnotationLink implements ome.model.ModelBased - See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringCHILDstatic java.lang.StringDETAILSstatic java.lang.StringPARENT- 
Fields inherited from class omero.model.WellAnnotationLink__ids, child, parent, serialVersionUID, version
 
- 
 - 
Constructor SummaryConstructors Constructor Description WellAnnotationLinkI()WellAnnotationLinkI(long id, boolean loaded)WellAnnotationLinkI(RLong id, boolean loaded)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List<WellAnnotationLinkI>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.AnnotationgetChild(Ice.Current current)DetailsgetDetails(Ice.Current current)RLonggetId(Ice.Current current)WellgetParent(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.voidlink(Well _parent, Annotation _child, Ice.Current current)IObjectproxy(Ice.Current current)Return another instance of the same type as this instance constructed as if by: new InstanceI( this.id.val, false );voidsetChild(Annotation child, Ice.Current current)voidsetId(RLong id, Ice.Current current)voidsetParent(Well parent, 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.voidunloadChild()voidunloadCollections(Ice.Current current)Each collection can also be unloaded, independently of the object itself.voidunloadDetails(Ice.Current current)As with collections, the objects under details can link to many other objects.voidunloadParent()- 
Methods inherited from class omero.model.WellAnnotationLink___getChild, ___getParent, ___getVersion, ___link, ___setChild, ___setParent, ___setVersion, __dispatch, __readImpl, __writeImpl, clone, getChild, getParent, getVersion, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, link, setChild, setParent, 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.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface omero.model._IObjectOperationsNCgetDetails, getId, isAnnotated, isGlobal, isLink, isLoaded, isMutable, proxy, setId, shallowCopy, unload, unloadCollections, unloadDetails
 
- 
 
- 
- 
- 
Field Detail- 
PARENTpublic static final java.lang.String PARENT - See Also:
- Constant Field Values
 
 - 
CHILDpublic static final java.lang.String CHILD - See Also:
- Constant Field Values
 
 - 
DETAILSpublic static final java.lang.String DETAILS - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
WellAnnotationLinkIpublic WellAnnotationLinkI() 
 - 
WellAnnotationLinkIpublic WellAnnotationLinkI(long id, boolean loaded)
 - 
WellAnnotationLinkIpublic WellAnnotationLinkI(RLong id, boolean loaded) 
 
- 
 - 
Method Detail- 
errorIfUnloadedprotected void errorIfUnloaded() throws UnloadedEntityException- Throws:
- UnloadedEntityException
 
 - 
throwNullCollectionExceptionprotected void throwNullCollectionException(java.lang.String propertyName) throws UnloadedCollectionException- Throws:
- UnloadedCollectionException
 
 - 
toggleCollectionsLoadedprotected void toggleCollectionsLoaded(boolean load) 
 - 
unloadpublic 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.
 
 - 
isLoadedpublic 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.
 
 - 
unloadCollectionspublic 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.
 
 - 
isGlobalpublic 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.
 
 - 
isMutablepublic 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.
 
 - 
isAnnotatedpublic 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.
 
 - 
isLinkpublic 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.
 
 - 
shallowCopypublic 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.
 
 - 
proxypublic 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.
 
 - 
getIdpublic RLong getId(Ice.Current current) - Specified by:
- getIdin interface- _IObjectOperations
 
 - 
setIdpublic void setId(RLong id, Ice.Current current) - Specified by:
- setIdin interface- _IObjectOperations
 
 - 
getDetailspublic Details getDetails(Ice.Current current) - Specified by:
- getDetailsin interface- _IObjectOperations
 
 - 
unloadDetailspublic 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.
 
 - 
getVersionpublic RInt getVersion(Ice.Current current) - Specified by:
- getVersionin interface- _WellAnnotationLinkOperations
 
 - 
setVersionpublic void setVersion(RInt version, Ice.Current current) - Specified by:
- setVersionin interface- _WellAnnotationLinkOperations
 
 - 
unloadParentpublic void unloadParent() 
 - 
getParentpublic Well getParent(Ice.Current current) throws UnloadedEntityException - Specified by:
- getParentin interface- _WellAnnotationLinkOperations
- Throws:
- UnloadedEntityException
 
 - 
setParentpublic void setParent(Well parent, Ice.Current current) throws UnloadedEntityException - Specified by:
- setParentin interface- _WellAnnotationLinkOperations
- Throws:
- UnloadedEntityException
 
 - 
unloadChildpublic void unloadChild() 
 - 
getChildpublic Annotation getChild(Ice.Current current) throws UnloadedEntityException - Specified by:
- getChildin interface- _WellAnnotationLinkOperations
- Throws:
- UnloadedEntityException
 
 - 
setChildpublic void setChild(Annotation child, Ice.Current current) throws UnloadedEntityException - Specified by:
- setChildin interface- _WellAnnotationLinkOperations
- Throws:
- UnloadedEntityException
 
 - 
linkpublic void link(Well _parent, Annotation _child, Ice.Current current) throws UnloadedEntityException - Specified by:
- linkin interface- _WellAnnotationLinkOperations
- Throws:
- UnloadedEntityException
 
 - 
copyObjectpublic 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 interface- ome.model.ModelBased
 
 - 
fillObjectpublic ome.util.Filterable fillObject(ome.util.ReverseModelMapper _mapper) Used byIceMapperproduce an "ome.model" object from this "omero.model" object.- Specified by:
- fillObjectin interface- ome.model.ModelBased
 
 - 
castpublic static java.util.List<WellAnnotationLinkI> cast(java.util.List list) Casts (without warning) the given list to a list of the current type.- Throws:
- java.lang.ClassCastException
 
 
- 
 
-