Class InformationEntity

java.lang.Object
com.pixelmed.dicom.InformationEntity
All Implemented Interfaces:
Comparable

public class InformationEntity extends Object implements 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.

  • Field Details

  • Method Details

    • toString

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

      public static InformationEntity fromString(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(Object ie)

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

      Specified by:
      compareTo in interface 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