Package omero.model
Class DichroicI
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.model.IObject
-
- omero.model.Dichroic
-
- omero.model.DichroicI
-
- All Implemented Interfaces:
Ice.Object,java.io.Serializable,java.lang.Cloneable,ome.model.ModelBased,_DichroicOperations,_DichroicOperationsNC,_IObjectOperations,_IObjectOperationsNC
public class DichroicI extends Dichroic implements ome.model.ModelBased
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringANNOTATIONLINKSstatic java.lang.StringDETAILSstatic java.lang.StringINSTRUMENTstatic java.lang.StringLOTNUMBERstatic java.lang.StringMANUFACTURERstatic java.lang.StringMODELstatic java.lang.StringSERIALNUMBER-
Fields inherited from class omero.model.Dichroic
__ids, annotationLinksCountPerOwner, annotationLinksLoaded, annotationLinksSeq, instrument, lotNumber, manufacturer, model, serialNumber, serialVersionUID, version
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAllDichroicAnnotationLinkSet(java.util.List<DichroicAnnotationLink> targets, Ice.Current current)voidaddDichroicAnnotationLink(DichroicAnnotationLink target, Ice.Current current)voidaddDichroicAnnotationLinkToBoth(DichroicAnnotationLink link, boolean bothSides, Ice.Current current)static java.util.List<DichroicI>cast(java.util.List list)Casts (without warning) the given list to a list of the current type.voidclearAnnotationLinks(Ice.Current current)java.util.ListcopyAnnotationLinks(Ice.Current current)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.java.util.List<DichroicAnnotationLink>findDichroicAnnotationLink(Annotation removal, Ice.Current current)protected java.util.ListgetAnnotationLinks(Ice.Current current)java.util.Map<java.lang.Long,java.lang.Long>getAnnotationLinksCountPerOwner(Ice.Current current)DetailsgetDetails(Ice.Current current)RLonggetId(Ice.Current current)InstrumentgetInstrument(Ice.Current current)RStringgetLotNumber(Ice.Current current)RStringgetManufacturer(Ice.Current current)RStringgetModel(Ice.Current current)RStringgetSerialNumber(Ice.Current current)RIntgetVersion(Ice.Current current)booleanisAnnotated(Ice.Current current)Allows for the attachment of any omero.model.Annotation subclasses.booleanisAnnotationLinksLoaded()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.java.util.IteratoriterateAnnotationLinks()DichroicAnnotationLinklinkAnnotation(Annotation addition, Ice.Current current)java.util.List<Annotation>linkedAnnotationList(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 );voidreloadAnnotationLinks(Dichroic toCopy, Ice.Current current)voidremoveAllDichroicAnnotationLinkSet(java.util.List<DichroicAnnotationLink> targets, Ice.Current current)voidremoveDichroicAnnotationLink(DichroicAnnotationLink target, Ice.Current current)voidremoveDichroicAnnotationLinkFromBoth(DichroicAnnotationLink link, boolean bothSides, Ice.Current current)protected voidsetAnnotationLinks(java.util.List annotationLinks, Ice.Current current)voidsetId(RLong id, Ice.Current current)voidsetInstrument(Instrument instrument, Ice.Current current)voidsetLotNumber(RString lotNumber, Ice.Current current)voidsetManufacturer(RString manufacturer, Ice.Current current)voidsetModel(RString model, Ice.Current current)voidsetSerialNumber(RString serialNumber, 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.intsizeOfAnnotationLinks(Ice.Current current)protected voidthrowNullCollectionException(java.lang.String propertyName)protected voidtoggleCollectionsLoaded(boolean load)voidunlinkAnnotation(Annotation removal, Ice.Current current)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.voidunloadAnnotationLinks(Ice.Current current)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.voidunloadInstrument()voidunloadLotNumber()voidunloadManufacturer()voidunloadModel()voidunloadSerialNumber()-
Methods inherited from class omero.model.Dichroic
___addAllDichroicAnnotationLinkSet, ___addDichroicAnnotationLink, ___addDichroicAnnotationLinkToBoth, ___clearAnnotationLinks, ___copyAnnotationLinks, ___findDichroicAnnotationLink, ___getAnnotationLinksCountPerOwner, ___getInstrument, ___getLotNumber, ___getManufacturer, ___getModel, ___getSerialNumber, ___getVersion, ___linkAnnotation, ___linkedAnnotationList, ___reloadAnnotationLinks, ___removeAllDichroicAnnotationLinkSet, ___removeDichroicAnnotationLink, ___removeDichroicAnnotationLinkFromBoth, ___setInstrument, ___setLotNumber, ___setManufacturer, ___setModel, ___setSerialNumber, ___setVersion, ___sizeOfAnnotationLinks, ___unlinkAnnotation, ___unloadAnnotationLinks, __dispatch, __readImpl, __writeImpl, addAllDichroicAnnotationLinkSet, addDichroicAnnotationLink, addDichroicAnnotationLinkToBoth, clearAnnotationLinks, clone, copyAnnotationLinks, findDichroicAnnotationLink, getAnnotationLinksCountPerOwner, getInstrument, getLotNumber, getManufacturer, getModel, getSerialNumber, getVersion, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, linkAnnotation, linkedAnnotationList, reloadAnnotationLinks, removeAllDichroicAnnotationLinkSet, removeDichroicAnnotationLink, removeDichroicAnnotationLinkFromBoth, setInstrument, setLotNumber, setManufacturer, setModel, setSerialNumber, setVersion, sizeOfAnnotationLinks, unlinkAnnotation, unloadAnnotationLinks
-
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._IObjectOperationsNC
getDetails, getId, isAnnotated, isGlobal, isLink, isLoaded, isMutable, proxy, setId, shallowCopy, unload, unloadCollections, unloadDetails
-
-
-
-
Field Detail
-
MANUFACTURER
public static final java.lang.String MANUFACTURER
- See Also:
- Constant Field Values
-
MODEL
public static final java.lang.String MODEL
- See Also:
- Constant Field Values
-
LOTNUMBER
public static final java.lang.String LOTNUMBER
- See Also:
- Constant Field Values
-
SERIALNUMBER
public static final java.lang.String SERIALNUMBER
- See Also:
- Constant Field Values
-
INSTRUMENT
public static final java.lang.String INSTRUMENT
- See Also:
- Constant Field Values
-
ANNOTATIONLINKS
public static final java.lang.String ANNOTATIONLINKS
- See Also:
- Constant Field Values
-
DETAILS
public static final java.lang.String DETAILS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DichroicI
public DichroicI()
-
DichroicI
public DichroicI(long id, boolean loaded)
-
DichroicI
public DichroicI(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_DichroicOperations
-
setVersion
public void setVersion(RInt version, Ice.Current current)
- Specified by:
setVersionin interface_DichroicOperations
-
unloadManufacturer
public void unloadManufacturer()
-
getManufacturer
public RString getManufacturer(Ice.Current current) throws UnloadedEntityException
- Specified by:
getManufacturerin interface_DichroicOperations- Throws:
UnloadedEntityException
-
setManufacturer
public void setManufacturer(RString manufacturer, Ice.Current current) throws UnloadedEntityException
- Specified by:
setManufacturerin interface_DichroicOperations- Throws:
UnloadedEntityException
-
unloadModel
public void unloadModel()
-
getModel
public RString getModel(Ice.Current current) throws UnloadedEntityException
- Specified by:
getModelin interface_DichroicOperations- Throws:
UnloadedEntityException
-
setModel
public void setModel(RString model, Ice.Current current) throws UnloadedEntityException
- Specified by:
setModelin interface_DichroicOperations- Throws:
UnloadedEntityException
-
unloadLotNumber
public void unloadLotNumber()
-
getLotNumber
public RString getLotNumber(Ice.Current current) throws UnloadedEntityException
- Specified by:
getLotNumberin interface_DichroicOperations- Throws:
UnloadedEntityException
-
setLotNumber
public void setLotNumber(RString lotNumber, Ice.Current current) throws UnloadedEntityException
- Specified by:
setLotNumberin interface_DichroicOperations- Throws:
UnloadedEntityException
-
unloadSerialNumber
public void unloadSerialNumber()
-
getSerialNumber
public RString getSerialNumber(Ice.Current current) throws UnloadedEntityException
- Specified by:
getSerialNumberin interface_DichroicOperations- Throws:
UnloadedEntityException
-
setSerialNumber
public void setSerialNumber(RString serialNumber, Ice.Current current) throws UnloadedEntityException
- Specified by:
setSerialNumberin interface_DichroicOperations- Throws:
UnloadedEntityException
-
unloadInstrument
public void unloadInstrument()
-
getInstrument
public Instrument getInstrument(Ice.Current current) throws UnloadedEntityException
- Specified by:
getInstrumentin interface_DichroicOperations- Throws:
UnloadedEntityException
-
setInstrument
public void setInstrument(Instrument instrument, Ice.Current current) throws UnloadedEntityException
- Specified by:
setInstrumentin interface_DichroicOperations- Throws:
UnloadedEntityException
-
unloadAnnotationLinks
public void unloadAnnotationLinks(Ice.Current current)
- Specified by:
unloadAnnotationLinksin interface_DichroicOperations
-
getAnnotationLinks
protected java.util.List getAnnotationLinks(Ice.Current current) throws UnloadedEntityException- Throws:
UnloadedEntityException
-
setAnnotationLinks
protected void setAnnotationLinks(java.util.List annotationLinks, Ice.Current current) throws UnloadedEntityException- Throws:
UnloadedEntityException
-
isAnnotationLinksLoaded
public boolean isAnnotationLinksLoaded()
-
sizeOfAnnotationLinks
public int sizeOfAnnotationLinks(Ice.Current current) throws UnloadedEntityException- Specified by:
sizeOfAnnotationLinksin interface_DichroicOperations- Throws:
UnloadedEntityException
-
copyAnnotationLinks
public java.util.List copyAnnotationLinks(Ice.Current current) throws UnloadedEntityException- Specified by:
copyAnnotationLinksin interface_DichroicOperations- Throws:
UnloadedEntityException
-
iterateAnnotationLinks
public java.util.Iterator iterateAnnotationLinks() throws UnloadedEntityException- Throws:
UnloadedEntityException
-
addDichroicAnnotationLink
public void addDichroicAnnotationLink(DichroicAnnotationLink target, Ice.Current current) throws UnloadedEntityException
- Specified by:
addDichroicAnnotationLinkin interface_DichroicOperations- Throws:
UnloadedEntityException
-
addAllDichroicAnnotationLinkSet
public void addAllDichroicAnnotationLinkSet(java.util.List<DichroicAnnotationLink> targets, Ice.Current current) throws UnloadedEntityException
- Specified by:
addAllDichroicAnnotationLinkSetin interface_DichroicOperations- Throws:
UnloadedEntityException
-
removeDichroicAnnotationLink
public void removeDichroicAnnotationLink(DichroicAnnotationLink target, Ice.Current current) throws UnloadedEntityException
- Specified by:
removeDichroicAnnotationLinkin interface_DichroicOperations- Throws:
UnloadedEntityException
-
removeAllDichroicAnnotationLinkSet
public void removeAllDichroicAnnotationLinkSet(java.util.List<DichroicAnnotationLink> targets, Ice.Current current) throws UnloadedEntityException
- Specified by:
removeAllDichroicAnnotationLinkSetin interface_DichroicOperations- Throws:
UnloadedEntityException
-
clearAnnotationLinks
public void clearAnnotationLinks(Ice.Current current) throws UnloadedEntityException- Specified by:
clearAnnotationLinksin interface_DichroicOperations- Throws:
UnloadedEntityException
-
reloadAnnotationLinks
public void reloadAnnotationLinks(Dichroic toCopy, Ice.Current current) throws UnloadedEntityException
- Specified by:
reloadAnnotationLinksin interface_DichroicOperations- Throws:
UnloadedEntityException
-
getAnnotationLinksCountPerOwner
public java.util.Map<java.lang.Long,java.lang.Long> getAnnotationLinksCountPerOwner(Ice.Current current)
- Specified by:
getAnnotationLinksCountPerOwnerin interface_DichroicOperations
-
linkAnnotation
public DichroicAnnotationLink linkAnnotation(Annotation addition, Ice.Current current) throws UnloadedEntityException
- Specified by:
linkAnnotationin interface_DichroicOperations- Throws:
UnloadedEntityException
-
addDichroicAnnotationLinkToBoth
public void addDichroicAnnotationLinkToBoth(DichroicAnnotationLink link, boolean bothSides, Ice.Current current) throws UnloadedEntityException
- Specified by:
addDichroicAnnotationLinkToBothin interface_DichroicOperations- Throws:
UnloadedEntityException
-
findDichroicAnnotationLink
public java.util.List<DichroicAnnotationLink> findDichroicAnnotationLink(Annotation removal, Ice.Current current) throws UnloadedEntityException
- Specified by:
findDichroicAnnotationLinkin interface_DichroicOperations- Throws:
UnloadedEntityException
-
unlinkAnnotation
public void unlinkAnnotation(Annotation removal, Ice.Current current) throws UnloadedEntityException
- Specified by:
unlinkAnnotationin interface_DichroicOperations- Throws:
UnloadedEntityException
-
removeDichroicAnnotationLinkFromBoth
public void removeDichroicAnnotationLinkFromBoth(DichroicAnnotationLink link, boolean bothSides, Ice.Current current) throws UnloadedEntityException, UnloadedCollectionException
- Specified by:
removeDichroicAnnotationLinkFromBothin interface_DichroicOperations- Throws:
UnloadedEntityExceptionUnloadedCollectionException
-
linkedAnnotationList
public java.util.List<Annotation> linkedAnnotationList(Ice.Current current) throws UnloadedEntityException
- Specified by:
linkedAnnotationListin interface_DichroicOperations- 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<DichroicI> cast(java.util.List list)
Casts (without warning) the given list to a list of the current type.- Throws:
java.lang.ClassCastException
-
-