Package gov.nasa.pds.registry.model
Class ExternalIdentifier
- java.lang.Object
-
- gov.nasa.pds.registry.model.Identifiable
-
- gov.nasa.pds.registry.model.RegistryObject
-
- gov.nasa.pds.registry.model.ExternalIdentifier
-
- All Implemented Interfaces:
Serializable
@Entity public class ExternalIdentifier extends RegistryObject
ExternalIdentifier instances provide the additional identifier information to RegistryObject such as DUNS number, Social Security Number, or an alias name of the organization. The attribute identificationScheme is used to reference the identification scheme (e.g., DUNS, Social Security #), and the attribute value contains the actual information (e.g., the DUNS number, the social security number). Each RegistryObject MAY contain 0 or more ExternalIdentifier instances.- Author:
- pramirez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExternalIdentifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getIdentificationScheme()
String
getRegistryObject()
String
getValue()
int
hashCode()
void
setIdentificationScheme(String identificationScheme)
void
setRegistryObject(String registryObject)
void
setValue(String value)
-
Methods inherited from class gov.nasa.pds.registry.model.RegistryObject
getClassifications, getDescription, getExternalIdentifiers, getLid, getName, getObjectType, getStatus, getVersionName, setClassifications, setDescription, setExternalIdentifiers, setLid, setName, setObjectType, setStatus, setVersionName
-
-
-
-
Method Detail
-
getIdentificationScheme
public String getIdentificationScheme()
-
setIdentificationScheme
public void setIdentificationScheme(String identificationScheme)
-
getRegistryObject
public String getRegistryObject()
-
setRegistryObject
public void setRegistryObject(String registryObject)
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classRegistryObject
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classRegistryObject
-
-