Class CILevelValue

All Implemented Interfaces:
Comparable<CIValue>

@API(type=EXTENDABLE, src=PRIVATE) public class CILevelValue extends CIValue
CI Value which also has a level.
  • Constructor Details

    • CILevelValue

      public CILevelValue(String name, int level)
      Constructor.
      Parameters:
      name - The actual value.
      level - The level in the Subject Scheme hierarchy.
    • CILevelValue

      public CILevelValue(String name, int level, String[] parentPath)
      Constructor.
      Parameters:
      name - The actual value.
      level - The level in the Subject Scheme hierarchy.
      parentPath - The path of ancestors values.
  • Method Details

    • equals

      public boolean equals(Object obj)
      Description copied from class: CIValue
      Test if a CIValue is equal with this one.
      Overrides:
      equals in class CIValue
      See Also:
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class CIValue
      See Also:
    • getLevel

      public int getLevel()
      Get the level in the Subject Scheme hierarchy.
      Returns:
      Returns the level in the Subject Scheme hierarchy.
    • getPresentationName

      public String getPresentationName()
      Returns a human friendly name used to present the value in a dialog.
      Returns:
      a human friendly name used to present the value in a dialog.
    • setPresentationName

      public void setPresentationName(String presentationName)
      Set a human friendly name used to present the value in a dialog.
      Parameters:
      presentationName - The presentation.
    • getParentPath

      public String[] getParentPath()
      Returns:
      Returns the parents path.