public class DBPatchI extends DBPatch implements ome.model.ModelBased
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CURRENTPATCH |
static java.lang.String |
CURRENTVERSION |
static java.lang.String |
DETAILS |
static java.lang.String |
FINISHED |
static java.lang.String |
MESSAGE |
static java.lang.String |
PREVIOUSPATCH |
static java.lang.String |
PREVIOUSVERSION |
__ids, currentPatch, currentVersion, finished, message, previousPatch, previousVersion, serialVersionUID
Constructor and Description |
---|
DBPatchI() |
DBPatchI(long id,
boolean loaded) |
DBPatchI(RLong id,
boolean loaded) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<DBPatchI> |
cast(java.util.List list)
Casts (without warning) the given list to a list of
the current type.
|
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. |
RInt |
getCurrentPatch(Ice.Current current) |
RString |
getCurrentVersion(Ice.Current current) |
Details |
getDetails(Ice.Current current) |
RTime |
getFinished(Ice.Current current) |
RLong |
getId(Ice.Current current) |
RString |
getMessage(Ice.Current current) |
RInt |
getPreviousPatch(Ice.Current current) |
RString |
getPreviousVersion(Ice.Current current) |
boolean |
isAnnotated(Ice.Current current)
Allows for the attachment of any omero.model.Annotation
subclasses.
|
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.
|
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 |
setCurrentPatch(RInt currentPatch,
Ice.Current current) |
void |
setCurrentVersion(RString currentVersion,
Ice.Current current) |
void |
setFinished(RTime finished,
Ice.Current current) |
void |
setId(RLong id,
Ice.Current current) |
void |
setMessage(RString message,
Ice.Current current) |
void |
setPreviousPatch(RInt previousPatch,
Ice.Current current) |
void |
setPreviousVersion(RString previousVersion,
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.
|
protected void |
throwNullCollectionException(java.lang.String propertyName) |
protected void |
toggleCollectionsLoaded(boolean load) |
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 |
unloadCollections(Ice.Current current)
Each collection can also be unloaded, independently
of the object itself.
|
void |
unloadCurrentPatch() |
void |
unloadCurrentVersion() |
void |
unloadDetails(Ice.Current current)
As with collections, the objects under details can link
to many other objects.
|
void |
unloadFinished() |
void |
unloadMessage() |
void |
unloadPreviousPatch() |
void |
unloadPreviousVersion() |
___getCurrentPatch, ___getCurrentVersion, ___getFinished, ___getMessage, ___getPreviousPatch, ___getPreviousVersion, ___setCurrentPatch, ___setCurrentVersion, ___setFinished, ___setMessage, ___setPreviousPatch, ___setPreviousVersion, __dispatch, __readImpl, __writeImpl, clone, getCurrentPatch, getCurrentVersion, getFinished, getMessage, getPreviousPatch, getPreviousVersion, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, setCurrentPatch, setCurrentVersion, setFinished, setMessage, setPreviousPatch, setPreviousVersion
___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 CURRENTVERSION
public static final java.lang.String CURRENTPATCH
public static final java.lang.String PREVIOUSVERSION
public static final java.lang.String PREVIOUSPATCH
public static final java.lang.String FINISHED
public static final java.lang.String MESSAGE
public static final java.lang.String DETAILS
public DBPatchI()
public DBPatchI(long id, boolean loaded)
public DBPatchI(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 void unloadCurrentVersion()
public RString getCurrentVersion(Ice.Current current) throws UnloadedEntityException
getCurrentVersion
in interface _DBPatchOperations
UnloadedEntityException
public void setCurrentVersion(RString currentVersion, Ice.Current current) throws UnloadedEntityException
setCurrentVersion
in interface _DBPatchOperations
UnloadedEntityException
public void unloadCurrentPatch()
public RInt getCurrentPatch(Ice.Current current) throws UnloadedEntityException
getCurrentPatch
in interface _DBPatchOperations
UnloadedEntityException
public void setCurrentPatch(RInt currentPatch, Ice.Current current) throws UnloadedEntityException
setCurrentPatch
in interface _DBPatchOperations
UnloadedEntityException
public void unloadPreviousVersion()
public RString getPreviousVersion(Ice.Current current) throws UnloadedEntityException
getPreviousVersion
in interface _DBPatchOperations
UnloadedEntityException
public void setPreviousVersion(RString previousVersion, Ice.Current current) throws UnloadedEntityException
setPreviousVersion
in interface _DBPatchOperations
UnloadedEntityException
public void unloadPreviousPatch()
public RInt getPreviousPatch(Ice.Current current) throws UnloadedEntityException
getPreviousPatch
in interface _DBPatchOperations
UnloadedEntityException
public void setPreviousPatch(RInt previousPatch, Ice.Current current) throws UnloadedEntityException
setPreviousPatch
in interface _DBPatchOperations
UnloadedEntityException
public void unloadFinished()
public RTime getFinished(Ice.Current current) throws UnloadedEntityException
getFinished
in interface _DBPatchOperations
UnloadedEntityException
public void setFinished(RTime finished, Ice.Current current) throws UnloadedEntityException
setFinished
in interface _DBPatchOperations
UnloadedEntityException
public void unloadMessage()
public RString getMessage(Ice.Current current) throws UnloadedEntityException
getMessage
in interface _DBPatchOperations
UnloadedEntityException
public void setMessage(RString message, Ice.Current current) throws UnloadedEntityException
setMessage
in interface _DBPatchOperations
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<DBPatchI> cast(java.util.List list)
java.lang.ClassCastException