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 booleanequals(Object obj)StringgetClassificationScheme()StringgetClassificiationNode()StringgetClassifiedObject()StringgetNodeRepresentation()inthashCode()voidsetClassificationScheme(String classificationScheme)voidsetClassificiationNode(String classificiationNode)voidsetClassifiedObject(String classifiedObject)voidsetNodeRepresentation(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:
hashCodein classRegistryObject
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classRegistryObject
-
-