Class InformationEntity

  • All Implemented Interfaces:
    java.lang.Comparable

    public class InformationEntity
    extends java.lang.Object
    implements java.lang.Comparable

    A class to provide enumerated constants for the entities of the DICOM Information Model.

    Used to categorize attributes in the DicomDictionary and in the com.pixelmed.database package.

    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • fromString

        public static InformationEntity fromString​(java.lang.String name)

        Get the information entity corresponding to the string name

        Parameters:
        name - a String name, whose case is ignored
        Returns:
        the information entity if any, otherwise null
      • compareTo

        public int compareTo​(java.lang.Object ie)

        Is this information entity higher in the model than the specified information entity ?

        Specified by:
        compareTo in interface java.lang.Comparable
        Parameters:
        ie - the information entity with which to compare
        Returns:
        a -ve value if this information entity higher in the model than the specified information entity