gov.nasa.pds.registry.model
Class Classification

java.lang.Object
  extended by gov.nasa.pds.registry.model.Identifiable
      extended by gov.nasa.pds.registry.model.RegistryObject
          extended by gov.nasa.pds.registry.model.Classification
All Implemented Interfaces:
Serializable

@Entity
public class Classification
extends RegistryObject

A Classification instance classifies a RegistryObject instance by referencing a node defined within a particular ClassificationScheme. An internal Classification will always reference the node directly, by its id, while an external Classification will reference the node indirectly by specifying a representation of its value that is unique within the external classification scheme.

Author:
pramirez
See Also:
Serialized Form

Constructor Summary
Classification()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getClassificationScheme()
           
 String getClassificiationNode()
           
 String getClassifiedObject()
           
 String getNodeRepresentation()
           
 int hashCode()
           
 void setClassificationScheme(String classificationScheme)
           
 void setClassificiationNode(String classificiationNode)
           
 void setClassifiedObject(String classifiedObject)
           
 void setNodeRepresentation(String nodeRepresentation)
           
 
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
 
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

Classification

public Classification()
Method Detail

getClassificationScheme

public String getClassificationScheme()

setClassificationScheme

public void setClassificationScheme(String classificationScheme)

getClassificiationNode

public String getClassificiationNode()

setClassificiationNode

public void setClassificiationNode(String classificiationNode)

getClassifiedObject

public String getClassifiedObject()

setClassifiedObject

public void setClassifiedObject(String classifiedObject)

getNodeRepresentation

public String getNodeRepresentation()

setNodeRepresentation

public void setNodeRepresentation(String nodeRepresentation)

hashCode

public int hashCode()
Overrides:
hashCode in class RegistryObject

equals

public boolean equals(Object obj)
Overrides:
equals in class RegistryObject


Copyright © 2010–2014 Planetary Data System. All rights reserved.