Class TemplateVariableType


  • public final class TemplateVariableType
    extends java.lang.Object
    Value object that represents the type of a template variable. A type is defined by its name and may have parameters.
    Since:
    3.3
    Restriction:
    This class is not intended to be instantiated by clients.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getName()
      Returns the type name of this variable type.
      java.util.List<java.lang.String> getParams()
      Returns the unmodifiable and possibly empty list of parameters
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the type name of this variable type.
        Returns:
        the type name of this variable type
      • getParams

        public java.util.List<java.lang.String> getParams()
        Returns the unmodifiable and possibly empty list of parameters
        Returns:
        the list of parameters
      • 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