Class TopLevelObject

  • All Implemented Interfaces:

    
    public final class TopLevelObject
    
                        

    Encapsulates an object to use as a target for schema generation and the class to be used for reflection.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Object obj
      private final KClass<?> kClass
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Object getObj()
      final KClass<?> getKClass()
      • Methods inherited from class java.lang.Object

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

      • TopLevelObject

        TopLevelObject(Object obj)
      • TopLevelObject

        TopLevelObject(KClass<?> kClass)
      • TopLevelObject

        TopLevelObject(Object obj, KClass<?> kClass)
        Parameters:
        obj - The target object (or proxy to target object)
        kClass - Optional KClass of the target (or the proxied object)