public class AssociationImpl extends RegistryObjectImpl implements Association
Association
.Constructor and Description |
---|
AssociationImpl() |
Modifier and Type | Method and Description |
---|---|
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.
|
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSlots, getSubmittingOrganization, setAssociatedObjects, setAssociations, setAuditTrail, setClassifications, setExternalIdentifiers, setExternalLinks, setObjectType, setRegistryPackages, setSlots, setSubmittingOrganization
getCheckpointName, getDescription, getIdentity, getKey, getName, isRevision, setCheckpointName, setDescription, setIdentity, setKey, setName, toString
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSubmittingOrganization, setAssociations, setClassifications, setExternalIdentifiers, setExternalLinks, setSubmittingOrganization
getDescription, getKey, getName, setDescription, setName
getSlots, setSlots
public Concept getAssociationType()
getAssociationType
in interface Association
public RegistryBean getSourceObject()
getSourceObject
in interface Association
RegistryBean
.public RegistryBean getTargetObject()
getTargetObject
in interface Association
RegistryBean
public boolean isConfirmed()
isConfirmed
in interface Association
public boolean isConfirmedBySourceOwner()
isConfirmedBySourceOwner
in interface Association
true
if it is confirmed by source owner.public boolean isConfirmedByTargetOwner()
isConfirmedByTargetOwner
in interface Association
true
if it is confirmed by target owner.public boolean isExtramural()
isExtramural
in interface Association
true
if it is extramural.public void setAssociationType(Concept associationType)
setAssociationType
in interface Association
associationType
- the association type object.public void setSourceObject(RegistryBean srcObject)
setSourceObject
in interface Association
srcObject
- the source object of type RegistryBean
.public void setTargetObject(RegistryBean targetObject)
setTargetObject
in interface Association
targetObject
- the registry bean object.public boolean equals(java.lang.Object other)
equals
in class RegistryObjectImpl
public int hashCode()
hashCode
in class RegistryObjectImpl
public void setConfirmed(boolean confirmed)
confirmed
- true
if it is confirmed.public void setConfirmedBySourceOwner(boolean confirmedBySourceOwner)
confirmedBySourceOwner
- true
if it is confirmed by source owner.public void setExtramural(boolean extramural)
extramural
- true
if it is extramural.public void setConfirmedByTargetOwner(boolean confirmedByTargetOwner)
confirmedByTargetOwner
- true
if it is confirmed by target owner.