Package gov.nasa.pds.registry.model
Class Association
- java.lang.Object
- 
- gov.nasa.pds.registry.model.Identifiable
- 
- gov.nasa.pds.registry.model.RegistryObject
- 
- gov.nasa.pds.registry.model.Association
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 @Entity public class Association extends RegistryObject This class allows one to relate a source and target registry object along a named relationship. The source and target can be identified by either the guid or the pairing of a lid vid. The home indicates where the registered originated.- Author:
- pramirez
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description Association()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAssociationType()StringgetSourceObject()StringgetTargetObject()inthashCode()voidsetAssociationType(String associationType)voidsetSourceObject(String sourceObject)voidsetTargetObject(String targetObject)- 
Methods inherited from class gov.nasa.pds.registry.model.RegistryObjectgetClassifications, getDescription, getExternalIdentifiers, getLid, getName, getObjectType, getStatus, getVersionName, setClassifications, setDescription, setExternalIdentifiers, setLid, setName, setObjectType, setStatus, setVersionName
 
- 
 
- 
- 
- 
Method Detail- 
getAssociationTypepublic String getAssociationType() - Returns:
- the type of association that exists between the source and target artifact
 
 - 
setAssociationTypepublic void setAssociationType(String associationType) - Parameters:
- associationType- the type of association between the source and target
 
 - 
getSourceObjectpublic String getSourceObject() 
 - 
setSourceObjectpublic void setSourceObject(String sourceObject) 
 - 
getTargetObjectpublic String getTargetObject() 
 - 
setTargetObjectpublic void setTargetObject(String targetObject) 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- RegistryObject
 
 - 
equalspublic boolean equals(Object obj) - Overrides:
- equalsin class- RegistryObject
 
 
- 
 
-