public class FileAnnotationI extends FileAnnotation implements ome.model.ModelBased
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ANNOTATIONLINKS |
static java.lang.String |
DESCRIPTION |
static java.lang.String |
DETAILS |
static java.lang.String |
FILE |
static java.lang.String |
NAME |
static java.lang.String |
NS |
__ids, file, serialVersionUIDannotationLinksCountPerOwner, annotationLinksLoaded, annotationLinksSeq, description, name, ns, version| Constructor and Description |
|---|
FileAnnotationI() |
FileAnnotationI(long id,
boolean loaded) |
FileAnnotationI(RLong id,
boolean loaded) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllAnnotationAnnotationLinkSet(java.util.List<AnnotationAnnotationLink> targets,
Ice.Current current) |
void |
addAnnotationAnnotationLink(AnnotationAnnotationLink target,
Ice.Current current) |
void |
addAnnotationAnnotationLinkToBoth(AnnotationAnnotationLink link,
boolean bothSides,
Ice.Current current) |
static java.util.List<FileAnnotationI> |
cast(java.util.List list)
Casts (without warning) the given list to a list of
the current type.
|
void |
clearAnnotationLinks(Ice.Current current) |
java.util.List |
copyAnnotationLinks(Ice.Current current) |
void |
copyObject(ome.util.Filterable model,
ome.util.ModelMapper _mapper)
Used by
IceMapper to inject an "ome.model" object into this
"omero.model" object. |
protected void |
errorIfUnloaded() |
ome.util.Filterable |
fillObject(ome.util.ReverseModelMapper _mapper)
Used by
IceMapper produce an "ome.model" object from this
"omero.model" object. |
java.util.List<AnnotationAnnotationLink> |
findAnnotationAnnotationLink(Annotation removal,
Ice.Current current) |
protected java.util.List |
getAnnotationLinks(Ice.Current current) |
java.util.Map<java.lang.Long,java.lang.Long> |
getAnnotationLinksCountPerOwner(Ice.Current current) |
RString |
getDescription(Ice.Current current) |
Details |
getDetails(Ice.Current current) |
OriginalFile |
getFile(Ice.Current current) |
RLong |
getId(Ice.Current current) |
RString |
getName(Ice.Current current) |
RString |
getNs(Ice.Current current) |
RInt |
getVersion(Ice.Current current) |
boolean |
isAnnotated(Ice.Current current)
Allows for the attachment of any omero.model.Annotation
subclasses.
|
boolean |
isAnnotationLinksLoaded() |
boolean |
isGlobal(Ice.Current current)
Marker interface which means that special rules apply
for both reading and writing these instances.
|
boolean |
isLink(Ice.Current current)
A link between two other types.
|
boolean |
isLoaded(Ice.Current current)
Tests if the objects are loaded or not.
|
boolean |
isMutable(Ice.Current current)
The server will persist changes made to these types.
|
java.util.Iterator |
iterateAnnotationLinks() |
AnnotationAnnotationLink |
linkAnnotation(Annotation addition,
Ice.Current current) |
java.util.List<Annotation> |
linkedAnnotationList(Ice.Current current) |
IObject |
proxy(Ice.Current current)
Return another instance of the same type as this instance
constructed as if by: new InstanceI( this.id.val, false );
|
void |
reloadAnnotationLinks(Annotation toCopy,
Ice.Current current) |
void |
removeAllAnnotationAnnotationLinkSet(java.util.List<AnnotationAnnotationLink> targets,
Ice.Current current) |
void |
removeAnnotationAnnotationLink(AnnotationAnnotationLink target,
Ice.Current current) |
void |
removeAnnotationAnnotationLinkFromBoth(AnnotationAnnotationLink link,
boolean bothSides,
Ice.Current current) |
protected void |
setAnnotationLinks(java.util.List annotationLinks,
Ice.Current current) |
void |
setDescription(RString description,
Ice.Current current) |
void |
setFile(OriginalFile file,
Ice.Current current) |
void |
setId(RLong id,
Ice.Current current) |
void |
setName(RString name,
Ice.Current current) |
void |
setNs(RString ns,
Ice.Current current) |
void |
setVersion(RInt version,
Ice.Current current) |
IObject |
shallowCopy(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.
|
int |
sizeOfAnnotationLinks(Ice.Current current) |
protected void |
throwNullCollectionException(java.lang.String propertyName) |
protected void |
toggleCollectionsLoaded(boolean load) |
void |
unlinkAnnotation(Annotation removal,
Ice.Current current) |
void |
unload(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.
|
void |
unloadAnnotationLinks(Ice.Current current) |
void |
unloadCollections(Ice.Current current)
Each collection can also be unloaded, independently
of the object itself.
|
void |
unloadDescription() |
void |
unloadDetails(Ice.Current current)
As with collections, the objects under details can link
to many other objects.
|
void |
unloadFile() |
void |
unloadName() |
void |
unloadNs() |
___getFile, ___setFile, __dispatch, __readImpl, __writeImpl, clone, getFile, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, setFile___addAllAnnotationAnnotationLinkSet, ___addAnnotationAnnotationLink, ___addAnnotationAnnotationLinkToBoth, ___clearAnnotationLinks, ___copyAnnotationLinks, ___findAnnotationAnnotationLink, ___getAnnotationLinksCountPerOwner, ___getDescription, ___getName, ___getNs, ___getVersion, ___linkAnnotation, ___linkedAnnotationList, ___reloadAnnotationLinks, ___removeAllAnnotationAnnotationLinkSet, ___removeAnnotationAnnotationLink, ___removeAnnotationAnnotationLinkFromBoth, ___setDescription, ___setName, ___setNs, ___setVersion, ___sizeOfAnnotationLinks, ___unlinkAnnotation, ___unloadAnnotationLinks, addAllAnnotationAnnotationLinkSet, addAnnotationAnnotationLink, addAnnotationAnnotationLinkToBoth, clearAnnotationLinks, copyAnnotationLinks, findAnnotationAnnotationLink, getAnnotationLinksCountPerOwner, getDescription, getName, getNs, getVersion, linkAnnotation, linkedAnnotationList, reloadAnnotationLinks, removeAllAnnotationAnnotationLinkSet, removeAnnotationAnnotationLink, removeAnnotationAnnotationLinkFromBoth, setDescription, setName, setNs, setVersion, sizeOfAnnotationLinks, unlinkAnnotation, unloadAnnotationLinks___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___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_preMarshalequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAllAnnotationAnnotationLinkSet, addAnnotationAnnotationLink, addAnnotationAnnotationLinkToBoth, clearAnnotationLinks, copyAnnotationLinks, findAnnotationAnnotationLink, getAnnotationLinksCountPerOwner, getDescription, getName, getNs, getVersion, linkAnnotation, linkedAnnotationList, reloadAnnotationLinks, removeAllAnnotationAnnotationLinkSet, removeAnnotationAnnotationLink, removeAnnotationAnnotationLinkFromBoth, setDescription, setName, setNs, setVersion, sizeOfAnnotationLinks, unlinkAnnotation, unloadAnnotationLinksgetDetails, getId, isAnnotated, isGlobal, isLink, isLoaded, isMutable, proxy, setId, shallowCopy, unload, unloadCollections, unloadDetailspublic static final java.lang.String FILE
public static final java.lang.String NS
public static final java.lang.String NAME
public static final java.lang.String DESCRIPTION
public static final java.lang.String ANNOTATIONLINKS
public static final java.lang.String DETAILS
public FileAnnotationI()
public FileAnnotationI(long id,
boolean loaded)
public FileAnnotationI(RLong id, boolean loaded)
protected void errorIfUnloaded()
throws UnloadedEntityException
UnloadedEntityExceptionprotected void throwNullCollectionException(java.lang.String propertyName)
throws UnloadedCollectionException
UnloadedCollectionExceptionprotected void toggleCollectionsLoaded(boolean load)
public void unload(Ice.Current current)
_IObjectOperationsunload in interface _IObjectOperationscurrent - The Current object for the invocation.public boolean isLoaded(Ice.Current current)
_IObjectOperationsisLoaded in interface _IObjectOperationscurrent - The Current object for the invocation.public void unloadCollections(Ice.Current current)
_IObjectOperationsunloadCollections in interface _IObjectOperationscurrent - The Current object for the invocation.public boolean isGlobal(Ice.Current current)
_IObjectOperationsisGlobal in interface _IObjectOperationscurrent - The Current object for the invocation.public boolean isMutable(Ice.Current current)
_IObjectOperationsisMutable in interface _IObjectOperationscurrent - The Current object for the invocation.public boolean isAnnotated(Ice.Current current)
_IObjectOperationsisAnnotated in interface _IObjectOperationscurrent - The Current object for the invocation.public boolean isLink(Ice.Current current)
_IObjectOperationsisLink in interface _IObjectOperationscurrent - The Current object for the invocation.public IObject shallowCopy(Ice.Current current)
_IObjectOperationsshallowCopy in interface _IObjectOperationscurrent - The Current object for the invocation.public IObject proxy(Ice.Current current)
_IObjectOperationsproxy in interface _IObjectOperationscurrent - The Current object for the invocation.public RLong getId(Ice.Current current)
getId in interface _IObjectOperationspublic void setId(RLong id, Ice.Current current)
setId in interface _IObjectOperationspublic Details getDetails(Ice.Current current)
getDetails in interface _IObjectOperationspublic void unloadDetails(Ice.Current current)
_IObjectOperationsunloadDetails in interface _IObjectOperationscurrent - The Current object for the invocation.public RInt getVersion(Ice.Current current)
getVersion in interface _AnnotationOperationspublic void setVersion(RInt version, Ice.Current current)
setVersion in interface _AnnotationOperationspublic void unloadFile()
public OriginalFile getFile(Ice.Current current) throws UnloadedEntityException
getFile in interface _FileAnnotationOperationsUnloadedEntityExceptionpublic void setFile(OriginalFile file, Ice.Current current) throws UnloadedEntityException
setFile in interface _FileAnnotationOperationsUnloadedEntityExceptionpublic void unloadNs()
public RString getNs(Ice.Current current) throws UnloadedEntityException
getNs in interface _AnnotationOperationsUnloadedEntityExceptionpublic void setNs(RString ns, Ice.Current current) throws UnloadedEntityException
setNs in interface _AnnotationOperationsUnloadedEntityExceptionpublic void unloadName()
public RString getName(Ice.Current current) throws UnloadedEntityException
getName in interface _AnnotationOperationsUnloadedEntityExceptionpublic void setName(RString name, Ice.Current current) throws UnloadedEntityException
setName in interface _AnnotationOperationsUnloadedEntityExceptionpublic void unloadDescription()
public RString getDescription(Ice.Current current) throws UnloadedEntityException
getDescription in interface _AnnotationOperationsUnloadedEntityExceptionpublic void setDescription(RString description, Ice.Current current) throws UnloadedEntityException
setDescription in interface _AnnotationOperationsUnloadedEntityExceptionpublic void unloadAnnotationLinks(Ice.Current current)
unloadAnnotationLinks in interface _AnnotationOperationsprotected java.util.List getAnnotationLinks(Ice.Current current)
throws UnloadedEntityException
UnloadedEntityExceptionprotected void setAnnotationLinks(java.util.List annotationLinks,
Ice.Current current)
throws UnloadedEntityException
UnloadedEntityExceptionpublic boolean isAnnotationLinksLoaded()
public int sizeOfAnnotationLinks(Ice.Current current)
throws UnloadedEntityException
sizeOfAnnotationLinks in interface _AnnotationOperationsUnloadedEntityExceptionpublic java.util.List copyAnnotationLinks(Ice.Current current)
throws UnloadedEntityException
copyAnnotationLinks in interface _AnnotationOperationsUnloadedEntityExceptionpublic java.util.Iterator iterateAnnotationLinks()
throws UnloadedEntityException
UnloadedEntityExceptionpublic void addAnnotationAnnotationLink(AnnotationAnnotationLink target, Ice.Current current) throws UnloadedEntityException
addAnnotationAnnotationLink in interface _AnnotationOperationsUnloadedEntityExceptionpublic void addAllAnnotationAnnotationLinkSet(java.util.List<AnnotationAnnotationLink> targets, Ice.Current current) throws UnloadedEntityException
addAllAnnotationAnnotationLinkSet in interface _AnnotationOperationsUnloadedEntityExceptionpublic void removeAnnotationAnnotationLink(AnnotationAnnotationLink target, Ice.Current current) throws UnloadedEntityException
removeAnnotationAnnotationLink in interface _AnnotationOperationsUnloadedEntityExceptionpublic void removeAllAnnotationAnnotationLinkSet(java.util.List<AnnotationAnnotationLink> targets, Ice.Current current) throws UnloadedEntityException
removeAllAnnotationAnnotationLinkSet in interface _AnnotationOperationsUnloadedEntityExceptionpublic void clearAnnotationLinks(Ice.Current current)
throws UnloadedEntityException
clearAnnotationLinks in interface _AnnotationOperationsUnloadedEntityExceptionpublic void reloadAnnotationLinks(Annotation toCopy, Ice.Current current) throws UnloadedEntityException
reloadAnnotationLinks in interface _AnnotationOperationsUnloadedEntityExceptionpublic java.util.Map<java.lang.Long,java.lang.Long> getAnnotationLinksCountPerOwner(Ice.Current current)
getAnnotationLinksCountPerOwner in interface _AnnotationOperationspublic AnnotationAnnotationLink linkAnnotation(Annotation addition, Ice.Current current) throws UnloadedEntityException
linkAnnotation in interface _AnnotationOperationsUnloadedEntityExceptionpublic void addAnnotationAnnotationLinkToBoth(AnnotationAnnotationLink link, boolean bothSides, Ice.Current current) throws UnloadedEntityException
addAnnotationAnnotationLinkToBoth in interface _AnnotationOperationsUnloadedEntityExceptionpublic java.util.List<AnnotationAnnotationLink> findAnnotationAnnotationLink(Annotation removal, Ice.Current current) throws UnloadedEntityException
findAnnotationAnnotationLink in interface _AnnotationOperationsUnloadedEntityExceptionpublic void unlinkAnnotation(Annotation removal, Ice.Current current) throws UnloadedEntityException
unlinkAnnotation in interface _AnnotationOperationsUnloadedEntityExceptionpublic void removeAnnotationAnnotationLinkFromBoth(AnnotationAnnotationLink link, boolean bothSides, Ice.Current current) throws UnloadedEntityException, UnloadedCollectionException
removeAnnotationAnnotationLinkFromBoth in interface _AnnotationOperationsUnloadedEntityExceptionUnloadedCollectionExceptionpublic java.util.List<Annotation> linkedAnnotationList(Ice.Current current) throws UnloadedEntityException
linkedAnnotationList in interface _AnnotationOperationsUnloadedEntityExceptionpublic void copyObject(ome.util.Filterable model,
ome.util.ModelMapper _mapper)
IceMapper to inject an "ome.model" object into this
"omero.model" object.copyObject in interface ome.model.ModelBasedpublic ome.util.Filterable fillObject(ome.util.ReverseModelMapper _mapper)
IceMapper produce an "ome.model" object from this
"omero.model" object.fillObject in interface ome.model.ModelBasedpublic static java.util.List<FileAnnotationI> cast(java.util.List list)
java.lang.ClassCastException