类 LParameter


  • public class LParameter
    extends Object
    对于字段参数的封装
    作者:
    libo 2020年8月21日
    • 构造器详细资料

      • LParameter

        public LParameter()
    • 方法详细资料

      • isPath

        public boolean isPath()
        返回:
        the isPath
      • setPath

        public void setPath​(boolean isPath)
        参数:
        isPath - the isPath to set
      • isRequired

        public boolean isRequired()
        返回:
        the required
      • setRequired

        public void setRequired​(boolean required)
        参数:
        required - the required to set
      • getAnnotation

        public <T extends Annotation> T getAnnotation​(Class<T> annotationClass)
      • getAnnotations

        public Annotation[] getAnnotations()
        返回:
        the annotations
      • setAnnotations

        public void setAnnotations​(Annotation[] annotations)
        参数:
        annotations - the annotations to set
      • getParameterName

        public String getParameterName()
        返回:
        the parameterName
      • setParameterName

        public void setParameterName​(String parameterName)
        参数:
        parameterName - the parameterName to set
      • getParameterType

        public Class<?> getParameterType()
        返回:
        the parameterType
      • setParameterType

        public void setParameterType​(Class<?> parameterType)
        参数:
        parameterType - the parameterType to set
      • getGeneralType

        public Class<?>[] getGeneralType()
      • setGeneralType

        public void setGeneralType​(Class<?>[] generalType)
      • isGeneral

        public boolean isGeneral()
      • setGeneral

        public void setGeneral​(boolean general)