com.softwareag.centrasite.appl.framework.lcm.beans.impl
Class LCAwareRegistryEntryImpl

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.beans.DynamicRegistryBean
      extended by com.softwareag.centrasite.appl.framework.lcm.beans.LCAwareDynamicRegistryBean
          extended by com.softwareag.centrasite.appl.framework.lcm.beans.impl.LCAwareRegistryObjectImpl
              extended by com.softwareag.centrasite.appl.framework.lcm.beans.impl.LCAwareRegistryEntryImpl
All Implemented Interfaces:
RegistryBean, RevisionBean, ExtensibleObject, Versionable, LCAwareRegistryEntry, LCAwareRegistryObject, LifeCycleAware
Direct Known Subclasses:
LCAwareClassificationSchemeImpl

public class LCAwareRegistryEntryImpl
extends LCAwareRegistryObjectImpl
implements LCAwareRegistryEntry


Field Summary
 
Fields inherited from interface com.softwareag.centrasite.appl.framework.lcm.beans.LCAwareRegistryEntry
STABILITY_DYNAMIC, STABILITY_DYNAMIC_COMPATIBLE, STABILITY_STATIC, STATUS_APPROVED, STATUS_DEPRECATED, STATUS_SUBMITTED, STATUS_WITHDRAWN
 
Constructor Summary
LCAwareRegistryEntryImpl()
           
 
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.lcm.beans.impl.LCAwareRegistryObjectImpl
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.lcm.beans.LCAwareDynamicRegistryBean
approveStateChange, findLCModel, getLCState, rejectStateChange, setBeanPool, setLCState, setRegistryProvider
 
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.lcm.beans.LCAwareRegistryObject
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSubmittingOrganization, setAssociations, setClassifications, setExternalIdentifiers, setExternalLinks
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.lcm.beans.LifeCycleAware
approveStateChange, findLCModel, getLCState, rejectStateChange, setLCState
 
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

LCAwareRegistryEntryImpl

public LCAwareRegistryEntryImpl()
Method Detail

getExpiration

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

Specified by:
getExpiration in interface LCAwareRegistryEntry
Returns:
Date

getStability

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

Specified by:
getStability in interface LCAwareRegistryEntry
Returns:
int

getStatus

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

Specified by:
getStatus in interface LCAwareRegistryEntry
Returns:
int

setExpiration

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

Specified by:
setExpiration in interface LCAwareRegistryEntry

setStability

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

Specified by:
setStability in interface LCAwareRegistryEntry

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 LCAwareRegistryObjectImpl

hashCode

public int hashCode()
Overrides:
hashCode in class LCAwareRegistryObjectImpl

setStatus

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

Parameters:
status -