Class ClassInfo

  • All Implemented Interfaces:
    TypeInfo

    public class ClassInfo
    extends java.lang.Object
    implements TypeInfo
    This class is part of the implementation for the Types and Reflection section of the FHIRPath specification:
    See Also:
    FHIRPath Types and Reflection
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassInfo​(java.lang.String namespace, java.lang.String name, java.lang.String baseType, java.util.List<ClassInfoElement> element)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getBaseType()
      The base type of this ClassInfo
      java.util.List<ClassInfoElement> getElement()
      The list of elements that are part of this ClassInfo
      java.lang.String getName()
      The name of this TypeInfo
      java.lang.String getNamespace()
      The namespace of this TypeInfo
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ClassInfo

        public ClassInfo​(java.lang.String namespace,
                         java.lang.String name,
                         java.lang.String baseType,
                         java.util.List<ClassInfoElement> element)
    • Method Detail

      • getNamespace

        public java.lang.String getNamespace()
        Description copied from interface: TypeInfo
        The namespace of this TypeInfo
        Specified by:
        getNamespace in interface TypeInfo
        Returns:
        the namespace of this TypeInfo
      • getName

        public java.lang.String getName()
        Description copied from interface: TypeInfo
        The name of this TypeInfo
        Specified by:
        getName in interface TypeInfo
        Returns:
        the name of this TypeInfo
      • getBaseType

        public final java.lang.String getBaseType()
        The base type of this ClassInfo
        Returns:
        the base type of this ClassInfo
      • getElement

        public java.util.List<ClassInfoElement> getElement()
        The list of elements that are part of this ClassInfo
        Returns:
        the list of elements that are part of this ClassInfo
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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