gov.nasa.pds.registry.model
Class RegistryObject
java.lang.Object
gov.nasa.pds.registry.model.Identifiable
gov.nasa.pds.registry.model.RegistryObject
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- Association, AuditableEvent, Classification, ClassificationNode, ClassificationScheme, ExternalIdentifier, ExternalLink, ExtrinsicObject, RegistryPackage, Service, ServiceBinding, SpecificationLink
@MappedSuperclass
public class RegistryObject
- extends Identifiable
The RegistryObject class extends the Identifiable class and serves as a
common super class for most classes in the information model.
- Author:
- pramirez
- See Also:
- Serialized Form
RegistryObject
public RegistryObject()
- Meant for JAXB only
RegistryObject
public RegistryObject(String guid,
String home,
String lid,
String name,
String objectType)
- Construct a registry object without a version
- Parameters:
guid
- globally unique identifierhome
- registry URIlid
- logical identifiername
- objectType
-
RegistryObject
public RegistryObject(RegistryObject object)
getLid
public String getLid()
- Returns:
- the lid
setLid
public void setLid(String lid)
- Parameters:
lid
- the lid to set
getName
public String getName()
- Returns:
- the name
setName
public void setName(String name)
- Parameters:
name
- the name to set
getObjectType
public String getObjectType()
- Returns:
- the objectType
setObjectType
public void setObjectType(String objectType)
- Parameters:
objectType
- the objectType to set
getStatus
public ObjectStatus getStatus()
- Returns:
- the status
setStatus
public void setStatus(ObjectStatus status)
- Parameters:
status
- the status to set
getDescription
public String getDescription()
- Returns:
- the description
setDescription
public void setDescription(String description)
- Parameters:
description
- the description to set
getVersionName
public String getVersionName()
- Returns:
- the internally tracked version
setVersionName
public void setVersionName(String versionName)
- Parameters:
versionName
- the version to set for the registry tracked version
getClassifications
public Set<Classification> getClassifications()
setClassifications
public void setClassifications(Set<Classification> classifications)
getExternalIdentifiers
public Set<ExternalIdentifier> getExternalIdentifiers()
setExternalIdentifiers
public void setExternalIdentifiers(Set<ExternalIdentifier> externalIdentifiers)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Identifiable
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Identifiable
Copyright © 2010-2013 Planetary Data System. All Rights Reserved.