gov.nasa.pds.registry.model
Class RegistryObject

java.lang.Object
  extended by gov.nasa.pds.registry.model.Identifiable
      extended by 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

Constructor Summary
RegistryObject()
          Meant for JAXB only
RegistryObject(RegistryObject object)
           
RegistryObject(String guid, String home, String lid, String name, String objectType)
          Construct a registry object without a version
 
Method Summary
 boolean equals(Object obj)
           
 Set<Classification> getClassifications()
           
 String getDescription()
           
 Set<ExternalIdentifier> getExternalIdentifiers()
           
 String getLid()
           
 String getName()
           
 String getObjectType()
           
 ObjectStatus getStatus()
           
 String getVersionName()
           
 int hashCode()
           
 void setClassifications(Set<Classification> classifications)
           
 void setDescription(String description)
           
 void setExternalIdentifiers(Set<ExternalIdentifier> externalIdentifiers)
           
 void setLid(String lid)
           
 void setName(String name)
           
 void setObjectType(String objectType)
           
 void setStatus(ObjectStatus status)
           
 void setVersionName(String versionName)
           
 
Methods inherited from class gov.nasa.pds.registry.model.Identifiable
addSlot, getGuid, getHome, getSlot, getSlots, setGuid, setHome, setSlots
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 identifier
home - registry URI
lid - logical identifier
name -
objectType -

RegistryObject

public RegistryObject(RegistryObject object)
Method Detail

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.