Annotation LinkImport

  • All Implemented Interfaces:

    
    public @interface LinkImport
    
                        

    Annotation representing Import scalar type that is used to by @link directive to import types from a specification.

    When importing schema elements we can either:

    • import elements directly, i.e. use name that matches the type name in the imported specification, e.g. @key

    • specify custom name for imported elements (allows to avoid schema collisions), e.g. { name = "@key, as = "@myKey"}`

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String name
      private final String as
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class java.lang.Object

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

    • Method Detail