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

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.RegistryPackageImpl
All Implemented Interfaces:
RegistryBean, RevisionBean, ExtensibleObject, RegistryObject, RegistryPackage, Versionable

public class RegistryPackageImpl
extends RegistryObjectImpl
implements RegistryPackage


Constructor Summary
RegistryPackageImpl()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 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.
 java.util.Set<RegistryBean> getRegistryObjects()
          Gets the collection of member RegistryObjects of this RegistryPackage.
 java.lang.String getUserVersion()
          Gets the user-specified revision number for this version of the Versionable object.
 int hashCode()
           
 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 setRegistryObjects(java.util.Set<RegistryBean> registryBeans)
          Sets the collection of member RegistryObjects of this RegistryPackage.
 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

RegistryPackageImpl

public RegistryPackageImpl()
Method Detail

getRegistryObjects

public java.util.Set<RegistryBean> getRegistryObjects()
Gets the collection of member RegistryObjects of this RegistryPackage.

Specified by:
getRegistryObjects in interface RegistryPackage
Returns:
Set

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

setRegistryObjects

public void setRegistryObjects(java.util.Set<RegistryBean> registryBeans)
Sets the collection of member RegistryObjects of this RegistryPackage.

Specified by:
setRegistryObjects in interface RegistryPackage