public interface RevisionBean extends RegistryBean
RegistryBean
extension aware of revisions. Extends the interface with
methods to check if this instance is a revision or actual object and to
retrieve the checkpoint(label) name if it is revision indeed. Note that
revision beans isRevision()
returning true
can not be
modified - exception will be thrown when saving them.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCheckpointName()
Retrieves the checkpoint (lebel) name.
|
boolean |
isRevision()
Checks if this instance is revision or actual object.
|
getDescription, getKey, getName, setDescription, setName
boolean isRevision()
java.lang.String getCheckpointName()
null
if this
instance is not a revision object.null
when isRevision()
returns
false