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"}`