Package gov.nasa.pds.registry.model
Class ClassificationNode
- java.lang.Object
-
- gov.nasa.pds.registry.model.Identifiable
-
- gov.nasa.pds.registry.model.RegistryObject
-
- gov.nasa.pds.registry.model.ClassificationNode
-
- All Implemented Interfaces:
Serializable
@Entity public class ClassificationNode extends RegistryObject
ClassificationNode instances are used to define tree structures where each node in the tree is a ClassificationNode. Such ClassificationScheme trees are constructed with ClassificationNode instances under a ClassificationScheme instance, and are used to define Classification schemes or ontologies.- Author:
- pramirez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClassificationNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getCode()
String
getParent()
String
getPath()
int
hashCode()
void
setCode(String code)
void
setParent(String parent)
void
setPath(String path)
-
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
-
getParent
public String getParent()
-
setParent
public void setParent(String parent)
-
getCode
public String getCode()
-
setCode
public void setCode(String code)
-
getPath
public String getPath()
-
setPath
public void setPath(String path)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classRegistryObject
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classRegistryObject
-
-