Class SimpleTypeInfo

  • All Implemented Interfaces:
    TypeInfo

    public class SimpleTypeInfo
    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
      SimpleTypeInfo​(java.lang.String namespace, java.lang.String name, java.lang.String baseType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)
      Indicates whether this SimpleTypeInfo is equal to the parameter
      java.lang.String getBaseType()
      The base type of this SimpleTypeInfo
      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

      • SimpleTypeInfo

        public SimpleTypeInfo​(java.lang.String namespace,
                              java.lang.String name,
                              java.lang.String baseType)
    • 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 java.lang.String getBaseType()
        The base type of this SimpleTypeInfo
        Returns:
        the base type of this SimpleTypeInfo
      • equals

        public boolean equals​(java.lang.Object obj)
        Indicates whether this SimpleTypeInfo is equal to the parameter
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - the other Object
        Returns:
        true if SimpleTypeInfo is equal to the parameter, otherwise false
      • hashCode

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

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