public class NodeI extends Node implements ome.model.ModelBased
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANNOTATIONLINKS |
static java.lang.String |
CONN |
static java.lang.String |
DETAILS |
static java.lang.String |
DOWN |
static java.lang.String |
SCALE |
static java.lang.String |
SESSIONS |
static java.lang.String |
UP |
static java.lang.String |
UUID |
__ids, annotationLinksCountPerOwner, annotationLinksLoaded, annotationLinksSeq, conn, down, scale, serialVersionUID, sessionsLoaded, sessionsSeq, up, uuid, version
Constructor and Description |
---|
NodeI() |
NodeI(long id,
boolean loaded) |
NodeI(RLong id,
boolean loaded) |
Modifier and Type | Method and Description |
---|---|
void |
addAllNodeAnnotationLinkSet(java.util.List<NodeAnnotationLink> targets,
Ice.Current current) |
void |
addAllSessionSet(java.util.List<Session> targets,
Ice.Current current) |
void |
addNodeAnnotationLink(NodeAnnotationLink target,
Ice.Current current) |
void |
addNodeAnnotationLinkToBoth(NodeAnnotationLink link,
boolean bothSides,
Ice.Current current) |
void |
addSession(Session target,
Ice.Current current) |
static java.util.List<NodeI> |
cast(java.util.List list)
Casts (without warning) the given list to a list of
the current type.
|
void |
clearAnnotationLinks(Ice.Current current) |
void |
clearSessions(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. |
java.util.List |
copySessions(Ice.Current current) |
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<NodeAnnotationLink> |
findNodeAnnotationLink(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 |
getConn(Ice.Current current) |
Details |
getDetails(Ice.Current current) |
RTime |
getDown(Ice.Current current) |
RLong |
getId(Ice.Current current) |
RInt |
getScale(Ice.Current current) |
protected java.util.List |
getSessions(Ice.Current current) |
RTime |
getUp(Ice.Current current) |
RString |
getUuid(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.
|
boolean |
isSessionsLoaded() |
java.util.Iterator |
iterateAnnotationLinks() |
java.util.Iterator |
iterateSessions() |
NodeAnnotationLink |
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(Node toCopy,
Ice.Current current) |
void |
reloadSessions(Node toCopy,
Ice.Current current) |
void |
removeAllNodeAnnotationLinkSet(java.util.List<NodeAnnotationLink> targets,
Ice.Current current) |
void |
removeAllSessionSet(java.util.List<Session> targets,
Ice.Current current) |
void |
removeNodeAnnotationLink(NodeAnnotationLink target,
Ice.Current current) |
void |
removeNodeAnnotationLinkFromBoth(NodeAnnotationLink link,
boolean bothSides,
Ice.Current current) |
void |
removeSession(Session target,
Ice.Current current) |
protected void |
setAnnotationLinks(java.util.List annotationLinks,
Ice.Current current) |
void |
setConn(RString conn,
Ice.Current current) |
void |
setDown(RTime down,
Ice.Current current) |
void |
setId(RLong id,
Ice.Current current) |
void |
setScale(RInt scale,
Ice.Current current) |
protected void |
setSessions(java.util.List sessions,
Ice.Current current) |
void |
setUp(RTime up,
Ice.Current current) |
void |
setUuid(RString uuid,
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) |
int |
sizeOfSessions(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 |
unloadConn() |
void |
unloadDetails(Ice.Current current)
As with collections, the objects under details can link
to many other objects.
|
void |
unloadDown() |
void |
unloadScale() |
void |
unloadSessions(Ice.Current current) |
void |
unloadUp() |
void |
unloadUuid() |
___addAllNodeAnnotationLinkSet, ___addAllSessionSet, ___addNodeAnnotationLink, ___addNodeAnnotationLinkToBoth, ___addSession, ___clearAnnotationLinks, ___clearSessions, ___copyAnnotationLinks, ___copySessions, ___findNodeAnnotationLink, ___getAnnotationLinksCountPerOwner, ___getConn, ___getDown, ___getScale, ___getUp, ___getUuid, ___getVersion, ___linkAnnotation, ___linkedAnnotationList, ___reloadAnnotationLinks, ___reloadSessions, ___removeAllNodeAnnotationLinkSet, ___removeAllSessionSet, ___removeNodeAnnotationLink, ___removeNodeAnnotationLinkFromBoth, ___removeSession, ___setConn, ___setDown, ___setScale, ___setUp, ___setUuid, ___setVersion, ___sizeOfAnnotationLinks, ___sizeOfSessions, ___unlinkAnnotation, ___unloadAnnotationLinks, ___unloadSessions, __dispatch, __readImpl, __writeImpl, addAllNodeAnnotationLinkSet, addAllSessionSet, addNodeAnnotationLink, addNodeAnnotationLinkToBoth, addSession, clearAnnotationLinks, clearSessions, clone, copyAnnotationLinks, copySessions, findNodeAnnotationLink, getAnnotationLinksCountPerOwner, getConn, getDown, getScale, getUp, getUuid, getVersion, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, linkAnnotation, linkedAnnotationList, reloadAnnotationLinks, reloadSessions, removeAllNodeAnnotationLinkSet, removeAllSessionSet, removeNodeAnnotationLink, removeNodeAnnotationLinkFromBoth, removeSession, setConn, setDown, setScale, setUp, setUuid, setVersion, sizeOfAnnotationLinks, sizeOfSessions, unlinkAnnotation, unloadAnnotationLinks, unloadSessions
___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_preMarshal
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDetails, getId, isAnnotated, isGlobal, isLink, isLoaded, isMutable, proxy, setId, shallowCopy, unload, unloadCollections, unloadDetails
public static final java.lang.String SESSIONS
public static final java.lang.String UUID
public static final java.lang.String CONN
public static final java.lang.String UP
public static final java.lang.String DOWN
public static final java.lang.String SCALE
public static final java.lang.String ANNOTATIONLINKS
public static final java.lang.String DETAILS
public NodeI()
public NodeI(long id, boolean loaded)
public NodeI(RLong id, boolean loaded)
protected void errorIfUnloaded() throws UnloadedEntityException
UnloadedEntityException
protected void throwNullCollectionException(java.lang.String propertyName) throws UnloadedCollectionException
UnloadedCollectionException
protected void toggleCollectionsLoaded(boolean load)
public void unload(Ice.Current current)
_IObjectOperations
unload
in interface _IObjectOperations
current
- The Current object for the invocation.public boolean isLoaded(Ice.Current current)
_IObjectOperations
isLoaded
in interface _IObjectOperations
current
- The Current object for the invocation.public void unloadCollections(Ice.Current current)
_IObjectOperations
unloadCollections
in interface _IObjectOperations
current
- The Current object for the invocation.public boolean isGlobal(Ice.Current current)
_IObjectOperations
isGlobal
in interface _IObjectOperations
current
- The Current object for the invocation.public boolean isMutable(Ice.Current current)
_IObjectOperations
isMutable
in interface _IObjectOperations
current
- The Current object for the invocation.public boolean isAnnotated(Ice.Current current)
_IObjectOperations
isAnnotated
in interface _IObjectOperations
current
- The Current object for the invocation.public boolean isLink(Ice.Current current)
_IObjectOperations
isLink
in interface _IObjectOperations
current
- The Current object for the invocation.public IObject shallowCopy(Ice.Current current)
_IObjectOperations
shallowCopy
in interface _IObjectOperations
current
- The Current object for the invocation.public IObject proxy(Ice.Current current)
_IObjectOperations
proxy
in interface _IObjectOperations
current
- The Current object for the invocation.public RLong getId(Ice.Current current)
getId
in interface _IObjectOperations
public void setId(RLong id, Ice.Current current)
setId
in interface _IObjectOperations
public Details getDetails(Ice.Current current)
getDetails
in interface _IObjectOperations
public void unloadDetails(Ice.Current current)
_IObjectOperations
unloadDetails
in interface _IObjectOperations
current
- The Current object for the invocation.public RInt getVersion(Ice.Current current)
getVersion
in interface _NodeOperations
public void setVersion(RInt version, Ice.Current current)
setVersion
in interface _NodeOperations
public void unloadSessions(Ice.Current current)
unloadSessions
in interface _NodeOperations
protected java.util.List getSessions(Ice.Current current) throws UnloadedEntityException
UnloadedEntityException
protected void setSessions(java.util.List sessions, Ice.Current current) throws UnloadedEntityException
UnloadedEntityException
public boolean isSessionsLoaded()
public int sizeOfSessions(Ice.Current current) throws UnloadedEntityException
sizeOfSessions
in interface _NodeOperations
UnloadedEntityException
public java.util.List copySessions(Ice.Current current) throws UnloadedEntityException
copySessions
in interface _NodeOperations
UnloadedEntityException
public java.util.Iterator iterateSessions() throws UnloadedEntityException
UnloadedEntityException
public void addSession(Session target, Ice.Current current) throws UnloadedEntityException
addSession
in interface _NodeOperations
UnloadedEntityException
public void addAllSessionSet(java.util.List<Session> targets, Ice.Current current) throws UnloadedEntityException
addAllSessionSet
in interface _NodeOperations
UnloadedEntityException
public void removeSession(Session target, Ice.Current current) throws UnloadedEntityException
removeSession
in interface _NodeOperations
UnloadedEntityException
public void removeAllSessionSet(java.util.List<Session> targets, Ice.Current current) throws UnloadedEntityException
removeAllSessionSet
in interface _NodeOperations
UnloadedEntityException
public void clearSessions(Ice.Current current) throws UnloadedEntityException
clearSessions
in interface _NodeOperations
UnloadedEntityException
public void reloadSessions(Node toCopy, Ice.Current current) throws UnloadedEntityException
reloadSessions
in interface _NodeOperations
UnloadedEntityException
public void unloadUuid()
public RString getUuid(Ice.Current current) throws UnloadedEntityException
getUuid
in interface _NodeOperations
UnloadedEntityException
public void setUuid(RString uuid, Ice.Current current) throws UnloadedEntityException
setUuid
in interface _NodeOperations
UnloadedEntityException
public void unloadConn()
public RString getConn(Ice.Current current) throws UnloadedEntityException
getConn
in interface _NodeOperations
UnloadedEntityException
public void setConn(RString conn, Ice.Current current) throws UnloadedEntityException
setConn
in interface _NodeOperations
UnloadedEntityException
public void unloadUp()
public RTime getUp(Ice.Current current) throws UnloadedEntityException
getUp
in interface _NodeOperations
UnloadedEntityException
public void setUp(RTime up, Ice.Current current) throws UnloadedEntityException
setUp
in interface _NodeOperations
UnloadedEntityException
public void unloadDown()
public RTime getDown(Ice.Current current) throws UnloadedEntityException
getDown
in interface _NodeOperations
UnloadedEntityException
public void setDown(RTime down, Ice.Current current) throws UnloadedEntityException
setDown
in interface _NodeOperations
UnloadedEntityException
public void unloadScale()
public RInt getScale(Ice.Current current) throws UnloadedEntityException
getScale
in interface _NodeOperations
UnloadedEntityException
public void setScale(RInt scale, Ice.Current current) throws UnloadedEntityException
setScale
in interface _NodeOperations
UnloadedEntityException
public void unloadAnnotationLinks(Ice.Current current)
unloadAnnotationLinks
in interface _NodeOperations
protected java.util.List getAnnotationLinks(Ice.Current current) throws UnloadedEntityException
UnloadedEntityException
protected void setAnnotationLinks(java.util.List annotationLinks, Ice.Current current) throws UnloadedEntityException
UnloadedEntityException
public boolean isAnnotationLinksLoaded()
public int sizeOfAnnotationLinks(Ice.Current current) throws UnloadedEntityException
sizeOfAnnotationLinks
in interface _NodeOperations
UnloadedEntityException
public java.util.List copyAnnotationLinks(Ice.Current current) throws UnloadedEntityException
copyAnnotationLinks
in interface _NodeOperations
UnloadedEntityException
public java.util.Iterator iterateAnnotationLinks() throws UnloadedEntityException
UnloadedEntityException
public void addNodeAnnotationLink(NodeAnnotationLink target, Ice.Current current) throws UnloadedEntityException
addNodeAnnotationLink
in interface _NodeOperations
UnloadedEntityException
public void addAllNodeAnnotationLinkSet(java.util.List<NodeAnnotationLink> targets, Ice.Current current) throws UnloadedEntityException
addAllNodeAnnotationLinkSet
in interface _NodeOperations
UnloadedEntityException
public void removeNodeAnnotationLink(NodeAnnotationLink target, Ice.Current current) throws UnloadedEntityException
removeNodeAnnotationLink
in interface _NodeOperations
UnloadedEntityException
public void removeAllNodeAnnotationLinkSet(java.util.List<NodeAnnotationLink> targets, Ice.Current current) throws UnloadedEntityException
removeAllNodeAnnotationLinkSet
in interface _NodeOperations
UnloadedEntityException
public void clearAnnotationLinks(Ice.Current current) throws UnloadedEntityException
clearAnnotationLinks
in interface _NodeOperations
UnloadedEntityException
public void reloadAnnotationLinks(Node toCopy, Ice.Current current) throws UnloadedEntityException
reloadAnnotationLinks
in interface _NodeOperations
UnloadedEntityException
public java.util.Map<java.lang.Long,java.lang.Long> getAnnotationLinksCountPerOwner(Ice.Current current)
getAnnotationLinksCountPerOwner
in interface _NodeOperations
public NodeAnnotationLink linkAnnotation(Annotation addition, Ice.Current current) throws UnloadedEntityException
linkAnnotation
in interface _NodeOperations
UnloadedEntityException
public void addNodeAnnotationLinkToBoth(NodeAnnotationLink link, boolean bothSides, Ice.Current current) throws UnloadedEntityException
addNodeAnnotationLinkToBoth
in interface _NodeOperations
UnloadedEntityException
public java.util.List<NodeAnnotationLink> findNodeAnnotationLink(Annotation removal, Ice.Current current) throws UnloadedEntityException
findNodeAnnotationLink
in interface _NodeOperations
UnloadedEntityException
public void unlinkAnnotation(Annotation removal, Ice.Current current) throws UnloadedEntityException
unlinkAnnotation
in interface _NodeOperations
UnloadedEntityException
public void removeNodeAnnotationLinkFromBoth(NodeAnnotationLink link, boolean bothSides, Ice.Current current) throws UnloadedEntityException, UnloadedCollectionException
removeNodeAnnotationLinkFromBoth
in interface _NodeOperations
UnloadedEntityException
UnloadedCollectionException
public java.util.List<Annotation> linkedAnnotationList(Ice.Current current) throws UnloadedEntityException
linkedAnnotationList
in interface _NodeOperations
UnloadedEntityException
public 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.ModelBased
public ome.util.Filterable fillObject(ome.util.ReverseModelMapper _mapper)
IceMapper
produce an "ome.model" object from this
"omero.model" object.fillObject
in interface ome.model.ModelBased
public static java.util.List<NodeI> cast(java.util.List list)
java.lang.ClassCastException