com.softwareag.centrasite.appl.framework.beans
Interface RevisionBean

All Superinterfaces:
RegistryBean
All Known Implementing Classes:
AssociationImpl, AuditableEventImpl, ClassificationImpl, ClassificationSchemeImpl, ConceptImpl, DynamicRegistryBean, ExternalIdentifierImpl, ExternalLinkImpl, ExtrinsicObjectImpl, LCAwareClassificationSchemeImpl, LCAwareDynamicRegistryBean, LCAwareRegistryEntryImpl, LCAwareRegistryObjectImpl, OrganizationImpl, RegistryEntryImpl, RegistryObjectImpl, RegistryPackageImpl, ServiceBindingImpl, ServiceImpl, SpecificationLinkImpl, UserImpl

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.


Method Summary
 java.lang.String getCheckpointName()
          Retrieves the checkpoint (lebel) name.
 boolean isRevision()
          Checks if this instance is revision or actual object.
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.beans.RegistryBean
getDescription, getKey, getName, setDescription, setName
 

Method Detail

isRevision

boolean isRevision()
Checks if this instance is revision or actual object.

Returns:
boolean

getCheckpointName

java.lang.String getCheckpointName()
Retrieves the checkpoint (lebel) name. Returns null if this instance is not a revision object.

Returns:
The checkpoint (label) name of this revision object. null when isRevision() returns false