类 ReflectiveModelExecutor.SupportedModelInfo<T extends ReflectiveModel<T>>

  • 类型参数:
    T - recursive generic type of the model.
    封闭类:
    ReflectiveModelExecutor

    public static final class ReflectiveModelExecutor.SupportedModelInfo<T extends ReflectiveModel<T>>
    extends java.lang.Object
    Information provided by an executor to communicate which classes it supports.
    • 构造器概要

      构造器 
      构造器 说明
      SupportedModelInfo​(java.lang.Class<T> modelClass, boolean supportsFullInheritance)  
    • 构造器详细资料

      • SupportedModelInfo

        public SupportedModelInfo​(java.lang.Class<T> modelClass,
                                  boolean supportsFullInheritance)
        参数:
        modelClass - a clazz of a model.
        supportsFullInheritance - whether the executor should support classes implementing the modeled class. "Full" support for inheritance means all methods, regardless of the fact they override the modeled method or not.
    • 方法详细资料

      • getModelClass

        public java.lang.Class<T> getModelClass()
      • isSupportsFullInheritance

        public boolean isSupportsFullInheritance()