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

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.beans.DynamicRegistryBean
      extended by com.softwareag.centrasite.appl.framework.beans.standard.impl.RegistryObjectImpl
All Implemented Interfaces:
RegistryBean, RevisionBean, ExtensibleObject, RegistryObject
Direct Known Subclasses:
AssociationImpl, AuditableEventImpl, ClassificationImpl, ConceptImpl, ExternalIdentifierImpl, ExternalLinkImpl, ExtrinsicObjectImpl, OrganizationImpl, RegistryEntryImpl, RegistryPackageImpl, ServiceBindingImpl, SpecificationLinkImpl, UserImpl

public class RegistryObjectImpl
extends DynamicRegistryBean
implements RegistryObject


Constructor Summary
RegistryObjectImpl()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.util.Collection<RegistryBean> getAssociatedObjects()
          Returns the collection of RegistryObject instances associated with this object.
 java.util.Collection<Association> getAssociations()
          Gets all Associations where this object is source.
 java.util.Collection<AuditableEvent> getAuditTrail()
          Returns the complete audit trail of all requests that effected a state change in this object as an ordered Collection of AuditableEvent objects.
 java.util.Collection<Classification> getClassifications()
          Gets the Classification instances that classify this object.
 java.util.Collection<ExternalIdentifier> getExternalIdentifiers()
          Returns the ExternalIdentifiers associated with this object that are external identifiers for this object.
 java.util.Collection<ExternalLink> getExternalLinks()
          Returns the ExternalLinks associated with this object.
 Concept getObjectType()
          Gets the object type that best describes the RegistryObject.
 java.util.Collection<RegistryPackage> getRegistryPackages()
          Returns the Package associated with this object.
 java.util.Collection<Slot> getSlots()
          Returns the Slots associated with this object.
 Organization getSubmittingOrganization()
          Gets the Organization that submitted this RegistryObject.
 int hashCode()
           
 void setAssociatedObjects(java.util.Collection<RegistryBean> associatedObjects)
          Sets the associated objects
 void setAssociations(java.util.Collection<Association> associations)
          Sets the Associations for this object
 void setAuditTrail(java.util.Collection<AuditableEvent> auditTrail)
          Sets the audit trail
 void setClassifications(java.util.Collection<Classification> classifications)
          Sets the Classifications for this object
 void setExternalIdentifiers(java.util.Collection<ExternalIdentifier> externalIdentifiers)
          Sets the ExternalIdentifiers for this object
 void setExternalLinks(java.util.Collection<ExternalLink> externalLinks)
          Sets the ExternalLinks for this object
 void setObjectType(Concept objectType)
          Sets the object type
 void setRegistryPackages(java.util.Collection<RegistryPackage> registryPackages)
          Sets the RegistryPackage
 void setSlots(java.util.Collection<Slot> slots)
          Sets Slots to this object.
 void setSubmittingOrganization(Organization submittingOrganization)
          Sets the submitting organization
 
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.RegistryBean
getDescription, getKey, getName, setDescription, setName
 

Constructor Detail

RegistryObjectImpl

public RegistryObjectImpl()
Method Detail

getAssociatedObjects

public java.util.Collection<RegistryBean> getAssociatedObjects()
Returns the collection of RegistryObject instances associated with this object.

Specified by:
getAssociatedObjects in interface RegistryObject
Returns:
Collection

getAssociations

public java.util.Collection<Association> getAssociations()
Gets all Associations where this object is source.

Specified by:
getAssociations in interface RegistryObject
Returns:
Collection

getAuditTrail

public java.util.Collection<AuditableEvent> getAuditTrail()
Returns the complete audit trail of all requests that effected a state change in this object as an ordered Collection of AuditableEvent objects.

Specified by:
getAuditTrail in interface RegistryObject
Returns:
Collection

getClassifications

public java.util.Collection<Classification> getClassifications()
Gets the Classification instances that classify this object.

Specified by:
getClassifications in interface RegistryObject
Returns:
Collection

getExternalIdentifiers

public java.util.Collection<ExternalIdentifier> getExternalIdentifiers()
Returns the ExternalIdentifiers associated with this object that are external identifiers for this object.

Specified by:
getExternalIdentifiers in interface RegistryObject
Returns:
Collection

getExternalLinks

public java.util.Collection<ExternalLink> getExternalLinks()
Returns the ExternalLinks associated with this object.

Specified by:
getExternalLinks in interface RegistryObject
Returns:
Collection

getObjectType

public Concept getObjectType()
Gets the object type that best describes the RegistryObject.

Specified by:
getObjectType in interface RegistryObject
Returns:
Concept

getRegistryPackages

public java.util.Collection<RegistryPackage> getRegistryPackages()
Returns the Package associated with this object.

Specified by:
getRegistryPackages in interface RegistryObject
Returns:
Collection

getSubmittingOrganization

public Organization getSubmittingOrganization()
Gets the Organization that submitted this RegistryObject.

Specified by:
getSubmittingOrganization in interface RegistryObject
Returns:
Organization

setAssociations

public void setAssociations(java.util.Collection<Association> associations)
Sets the Associations for this object

Specified by:
setAssociations in interface RegistryObject

setClassifications

public void setClassifications(java.util.Collection<Classification> classifications)
Sets the Classifications for this object

Specified by:
setClassifications in interface RegistryObject

setExternalIdentifiers

public void setExternalIdentifiers(java.util.Collection<ExternalIdentifier> externalIdentifiers)
Sets the ExternalIdentifiers for this object

Specified by:
setExternalIdentifiers in interface RegistryObject

setExternalLinks

public void setExternalLinks(java.util.Collection<ExternalLink> externalLinks)
Sets the ExternalLinks for this object

Specified by:
setExternalLinks in interface RegistryObject

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class DynamicRegistryBean

setAssociatedObjects

public void setAssociatedObjects(java.util.Collection<RegistryBean> associatedObjects)
Sets the associated objects

Parameters:
associatedObjects -

setAuditTrail

public void setAuditTrail(java.util.Collection<AuditableEvent> auditTrail)
Sets the audit trail

Parameters:
auditTrail -

setObjectType

public void setObjectType(Concept objectType)
Sets the object type

Parameters:
objectType -

setRegistryPackages

public void setRegistryPackages(java.util.Collection<RegistryPackage> registryPackages)
Sets the RegistryPackage

Parameters:
registryPackages -

setSubmittingOrganization

public void setSubmittingOrganization(Organization submittingOrganization)
Sets the submitting organization

Specified by:
setSubmittingOrganization in interface RegistryObject
Parameters:
submittingOrganization -

getSlots

public java.util.Collection<Slot> getSlots()
Returns the Slots associated with this object.

Specified by:
getSlots in interface ExtensibleObject
Returns:
Collection

setSlots

public void setSlots(java.util.Collection<Slot> slots)
Sets Slots to this object.

Specified by:
setSlots in interface ExtensibleObject