Package gov.nasa.pds.registry.model
Class Classification
- java.lang.Object
-
- gov.nasa.pds.registry.model.Identifiable
-
- gov.nasa.pds.registry.model.RegistryObject
-
- 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
Constructors Constructor Description Classification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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 classRegistryObject
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classRegistryObject
-
-