com.softwareag.centrasite.appl.framework.beans
Class DynamicRegistryBean

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.beans.DynamicRegistryBean
All Implemented Interfaces:
RegistryBean, RevisionBean
Direct Known Subclasses:
LCAwareDynamicRegistryBean, RegistryObjectImpl

public class DynamicRegistryBean
extends java.lang.Object
implements RevisionBean

Base class for derivation of concrete subclasses.


Constructor Summary
DynamicRegistryBean()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCheckpointName()
          Retrieves the checkpoint (lebel) name.
 java.lang.String getDescription()
          Returns the registry objects description.
 Identity getIdentity()
           
 Key getKey()
          Returns the registry objects key.
 java.lang.String getName()
          Returns the registry objects name.
 int hashCode()
           
 boolean isRevision()
          Checks if this instance is revision or actual object.
 void setCheckpointName(java.lang.String checkpointName)
           
 void setDescription(java.lang.String pDescription)
          Sets the registry objects description.
 void setIdentity(Identity id)
          Set the identity.
 void setKey(Key key)
           
 void setName(java.lang.String pName)
          Sets the registry objects name.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DynamicRegistryBean

public DynamicRegistryBean()
Method Detail

getName

public java.lang.String getName()
Returns the registry objects name.

Specified by:
getName in interface RegistryBean

setName

public void setName(java.lang.String pName)
Sets the registry objects name.

Specified by:
setName in interface RegistryBean

getDescription

public java.lang.String getDescription()
Returns the registry objects description.

Specified by:
getDescription in interface RegistryBean

setDescription

public void setDescription(java.lang.String pDescription)
Sets the registry objects description.

Specified by:
setDescription in interface RegistryBean

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getKey

public Key getKey()
Description copied from interface: RegistryBean
Returns the registry objects key.

Specified by:
getKey in interface RegistryBean

setKey

public void setKey(Key key)
Parameters:
key -

getCheckpointName

public java.lang.String getCheckpointName()
Description copied from interface: RevisionBean
Retrieves the checkpoint (lebel) name. Returns null if this instance is not a revision object.

Specified by:
getCheckpointName in interface RevisionBean
Returns:
The checkpoint (label) name of this revision object. null when RevisionBean.isRevision() returns false

setCheckpointName

public void setCheckpointName(java.lang.String checkpointName)

isRevision

public boolean isRevision()
Description copied from interface: RevisionBean
Checks if this instance is revision or actual object.

Specified by:
isRevision in interface RevisionBean
Returns:
boolean

getIdentity

public Identity getIdentity()
Returns:
the identity

setIdentity

public void setIdentity(Identity id)
Set the identity.

Parameters:
id - the identity