com.softwareag.centrasite.appl.framework.beans.standard.impl
Class RegistryEntryImpl

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.beans.DynamicRegistryBean
      extended by com.softwareag.centrasite.appl.framework.beans.standard.impl.RegistryObjectImpl
          extended by com.softwareag.centrasite.appl.framework.beans.standard.impl.RegistryEntryImpl
All Implemented Interfaces:
RegistryBean, RevisionBean, ExtensibleObject, RegistryEntry, RegistryObject, Versionable
Direct Known Subclasses:
ClassificationSchemeImpl, ServiceImpl

public class RegistryEntryImpl
extends RegistryObjectImpl
implements RegistryEntry


Field Summary
 
Fields inherited from interface com.softwareag.centrasite.appl.framework.beans.standard.RegistryEntry
STABILITY_DYNAMIC, STABILITY_DYNAMIC_COMPATIBLE, STABILITY_STATIC, STATUS_APPROVED, STATUS_DEPRECATED, STATUS_SUBMITTED, STATUS_WITHDRAWN
 
Constructor Summary
RegistryEntryImpl()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.util.Date getExpiration()
          Gets expirationDate attribute of the RegistryEntry within the Registry.
 int getMajorVersion()
          Gets the major revision number for this version of the Versionable object.
 int getMinorVersion()
          Gets the minor revision number for this version of the Versionable object.
 int getStability()
          Gets the stability indicator for the RegistryEntry within the Registry.
 int getStatus()
          Gets the life cycle status of the RegistryEntry within the registry.
 java.lang.String getUserVersion()
          Gets the user-specified revision number for this version of the Versionable object.
 int hashCode()
           
 void setExpiration(java.util.Date expiration)
          Sets the expirationDate.
 void setMajorVersion(int majorVersion)
          Sets the major revision number for this version of the Versionable object.
 void setMinorVersion(int minorVersion)
          Sets the minor revision number for this version of the Versionable object.
 void setStability(int stability)
          Sets the stability indicator for the RegistryEntry.
 void setStatus(int status)
          Sets the status for this RegistryEntry
 void setUserVersion(java.lang.String userVersion)
          Sets the user specified revision number for this version of the Versionable object.
 
Methods inherited from class com.softwareag.centrasite.appl.framework.beans.standard.impl.RegistryObjectImpl
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSlots, getSubmittingOrganization, setAssociatedObjects, setAssociations, setAuditTrail, setClassifications, setExternalIdentifiers, setExternalLinks, setObjectType, setRegistryPackages, setSlots, setSubmittingOrganization
 
Methods inherited from class com.softwareag.centrasite.appl.framework.beans.DynamicRegistryBean
getCheckpointName, getDescription, getIdentity, getKey, getName, isRevision, setCheckpointName, setDescription, setIdentity, setKey, setName, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.beans.standard.RegistryObject
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSubmittingOrganization, setAssociations, setClassifications, setExternalIdentifiers, setExternalLinks, setSubmittingOrganization
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.beans.RegistryBean
getDescription, getKey, getName, setDescription, setName
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.beans.standard.ExtensibleObject
getSlots, setSlots
 

Constructor Detail

RegistryEntryImpl

public RegistryEntryImpl()
Method Detail

getExpiration

public java.util.Date getExpiration()
Gets expirationDate attribute of the RegistryEntry within the Registry.

Specified by:
getExpiration in interface RegistryEntry
Returns:
Date

getStability

public int getStability()
Gets the stability indicator for the RegistryEntry within the Registry.

Specified by:
getStability in interface RegistryEntry
Returns:
int

getStatus

public int getStatus()
Gets the life cycle status of the RegistryEntry within the registry.

Specified by:
getStatus in interface RegistryEntry
Returns:
int

setExpiration

public void setExpiration(java.util.Date expiration)
Sets the expirationDate.

Specified by:
setExpiration in interface RegistryEntry

setStability

public void setStability(int stability)
Sets the stability indicator for the RegistryEntry.

Specified by:
setStability in interface RegistryEntry

getMajorVersion

public int getMajorVersion()
Gets the major revision number for this version of the Versionable object.

Specified by:
getMajorVersion in interface Versionable
Returns:
int

getMinorVersion

public int getMinorVersion()
Gets the minor revision number for this version of the Versionable object.

Specified by:
getMinorVersion in interface Versionable
Returns:
int

getUserVersion

public java.lang.String getUserVersion()
Gets the user-specified revision number for this version of the Versionable object.

Specified by:
getUserVersion in interface Versionable
Returns:
String

setMajorVersion

public void setMajorVersion(int majorVersion)
Sets the major revision number for this version of the Versionable object.

Specified by:
setMajorVersion in interface Versionable

setMinorVersion

public void setMinorVersion(int minorVersion)
Sets the minor revision number for this version of the Versionable object.

Specified by:
setMinorVersion in interface Versionable

setUserVersion

public void setUserVersion(java.lang.String userVersion)
Sets the user specified revision number for this version of the Versionable object.

Specified by:
setUserVersion in interface Versionable

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class RegistryObjectImpl

setStatus

public void setStatus(int status)
Sets the status for this RegistryEntry

Parameters:
status -