Class Hierarchy
- java.lang.Object
-
- cern.nxcals.api.backport.domain.core.metadata.Hierarchy
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Hierarchy>
public class Hierarchy extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<Hierarchy>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Hierarchy()
Hierarchy(java.lang.String nodePath, java.lang.String nodeDelimiter)
Deprecated.please useHierarchy()
insteadHierarchy(java.lang.String nodePath, java.lang.String description, java.lang.String hierarchyName, long hierarchyID, long parentID, int nodeLevel)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
int
compareTo(Hierarchy hier)
boolean
equals(java.lang.Object o)
static Hierarchy
from(Hierarchy hierarchy)
java.lang.String
getDescription()
long
getHierarchyID()
java.lang.String
getHierarchyName()
int
getNodeLevel()
java.lang.String
getNodePath()
long
getParentID()
int
hashCode()
void
setDescription(java.lang.String description)
void
setHierarchyID(long hierarchyID)
void
setHierarchyName(java.lang.String hierarchyName)
void
setNodeLevel(int nodeLevel)
void
setNodePath(java.lang.String nodePath)
void
setParentID(long parentID)
java.lang.String
toString()
-
-
-
Constructor Detail
-
Hierarchy
@Deprecated public Hierarchy(java.lang.String nodePath, java.lang.String nodeDelimiter)
Deprecated.please useHierarchy()
instead
-
Hierarchy
public Hierarchy(java.lang.String nodePath, java.lang.String description, java.lang.String hierarchyName, long hierarchyID, long parentID, int nodeLevel)
-
Hierarchy
public Hierarchy()
-
-
Method Detail
-
compareTo
public int compareTo(Hierarchy hier)
- Specified by:
compareTo
in interfacejava.lang.Comparable<Hierarchy>
-
getNodePath
public java.lang.String getNodePath()
-
getDescription
public java.lang.String getDescription()
-
getHierarchyName
public java.lang.String getHierarchyName()
-
getHierarchyID
public long getHierarchyID()
-
getParentID
public long getParentID()
-
getNodeLevel
public int getNodeLevel()
-
setNodePath
public void setNodePath(java.lang.String nodePath)
-
setDescription
public void setDescription(java.lang.String description)
-
setHierarchyName
public void setHierarchyName(java.lang.String hierarchyName)
-
setHierarchyID
public void setHierarchyID(long hierarchyID)
-
setParentID
public void setParentID(long parentID)
-
setNodeLevel
public void setNodeLevel(int nodeLevel)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-