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

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.AssociationImpl
All Implemented Interfaces:
RegistryBean, RevisionBean, Association, ExtensibleObject, RegistryObject

public class AssociationImpl
extends RegistryObjectImpl
implements Association


Constructor Summary
AssociationImpl()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 Concept getAssociationType()
          Gets the association type for this Association.
 RegistryBean getSourceObject()
          Gets the Object that is the source of this Association.
 RegistryBean getTargetObject()
          Gets the Object that is the target of this Association.
 int hashCode()
           
 boolean isConfirmed()
          Determines whether an Association has been confirmed completely.
 boolean isConfirmedBySourceOwner()
          Determines whether an Association has been confirmed by the owner of the source object.
 boolean isConfirmedByTargetOwner()
          Determines whether an Association has been confirmed by the owner of the target object.
 boolean isExtramural()
          Determines whether an Association is extramural or not.
 void setAssociationType(Concept associationType)
          Sets the association type for this Association.
 void setConfirmed(boolean confirmed)
          Sets the complete confirmation status
 void setConfirmedBySourceOwner(boolean confirmedBySourceOwner)
          Sets if the Association has been confirmed by it's source owner
 void setConfirmedByTargetOwner(boolean confirmedByTargetOwner)
          Sets if the Association has been confirmed by it's target owner
 void setExtramural(boolean extramural)
          Sets if the Association is extramural
 void setSourceObject(RegistryBean srcObject)
          Sets the Object that is the source of this Association
 void setTargetObject(RegistryBean targetObject)
          Sets the Object that is the target of this Association.
 
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

AssociationImpl

public AssociationImpl()
Method Detail

getAssociationType

public Concept getAssociationType()
Gets the association type for this Association.

Specified by:
getAssociationType in interface Association
Returns:
Concept

getSourceObject

public RegistryBean getSourceObject()
Gets the Object that is the source of this Association.

Specified by:
getSourceObject in interface Association
Returns:
RegistryBean

getTargetObject

public RegistryBean getTargetObject()
Gets the Object that is the target of this Association.

Specified by:
getTargetObject in interface Association
Returns:
RegistryBean

isConfirmed

public boolean isConfirmed()
Determines whether an Association has been confirmed completely.

Specified by:
isConfirmed in interface Association
Returns:
boolean

isConfirmedBySourceOwner

public boolean isConfirmedBySourceOwner()
Determines whether an Association has been confirmed by the owner of the source object.

Specified by:
isConfirmedBySourceOwner in interface Association
Returns:
boolean

isConfirmedByTargetOwner

public boolean isConfirmedByTargetOwner()
Determines whether an Association has been confirmed by the owner of the target object.

Specified by:
isConfirmedByTargetOwner in interface Association
Returns:
boolean

isExtramural

public boolean isExtramural()
Determines whether an Association is extramural or not.

Specified by:
isExtramural in interface Association
Returns:
boolean

setAssociationType

public void setAssociationType(Concept associationType)
Sets the association type for this Association.

Specified by:
setAssociationType in interface Association

setSourceObject

public void setSourceObject(RegistryBean srcObject)
Sets the Object that is the source of this Association

Specified by:
setSourceObject in interface Association

setTargetObject

public void setTargetObject(RegistryBean targetObject)
Sets the Object that is the target of this Association.

Specified by:
setTargetObject in interface Association

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class RegistryObjectImpl

setConfirmed

public void setConfirmed(boolean confirmed)
Sets the complete confirmation status

Parameters:
confirmed -

setConfirmedBySourceOwner

public void setConfirmedBySourceOwner(boolean confirmedBySourceOwner)
Sets if the Association has been confirmed by it's source owner

Parameters:
confirmedBySourceOwner -

setExtramural

public void setExtramural(boolean extramural)
Sets if the Association is extramural

Parameters:
extramural -

setConfirmedByTargetOwner

public void setConfirmedByTargetOwner(boolean confirmedByTargetOwner)
Sets if the Association has been confirmed by it's target owner

Parameters:
confirmedByTargetOwner -