Class CILevelValue

  • All Implemented Interfaces:
    java.lang.Comparable<CIValue>

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

      • CILevelValue

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

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

      • hashCode

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

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

        public java.lang.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​(java.lang.String presentationName)
        Set a human friendly name used to present the value in a dialog.
        Parameters:
        presentationName - The presentation.
      • getParentPath

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