Class ParameterDescriptor


  • @OpenApiAll
    public final class ParameterDescriptor
    extends java.lang.Object
    Parameter descriptor.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String mName  
      private java.lang.Class<?> mType  
    • Constructor Summary

      Constructors 
      Constructor Description
      ParameterDescriptor​(java.lang.String name, java.lang.Class<?> type)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Get parameter name.
      java.lang.Class<?> getType()
      Get parameter type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • mName

        @CheckForNull
        private final java.lang.String mName
      • mType

        private final java.lang.Class<?> mType
    • Constructor Detail

      • ParameterDescriptor

        public ParameterDescriptor​(@CheckForNull
                                   java.lang.String name,
                                   java.lang.Class<?> type)
        Constructor.
        Parameters:
        name - parameter name.
        type - parameter type.
    • Method Detail

      • getName

        @CheckForNull
        public java.lang.String getName()
        Get parameter name.
        Returns:
        name.
      • getType

        public java.lang.Class<?> getType()
        Get parameter type.
        Returns:
        type.