Annotation Type ExtensionField


  • @Retention(RUNTIME)
    @Target(FIELD)
    public @interface ExtensionField
    Marks a field in a class that is an extension and NOT part of the class itself. Note: this has NOTHING to do with ExtendedNode

    Extensions are in their own namespace "extension", which is reserved for this specific purpose. Extensions can be 0..1 just a regular field 0..* a field with a collection type

    This annotation is required for all fields that you want to load. All non-declared extensions will be loaded into the hidden extensions field

    Since:
    1.0
    Author:
    Oliver Krauss
    • Field Summary

      Fields 
      Modifier and Type Fields Description
      static String Name
      Name of the extension.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String name  
    • Field Detail

      • Name

        static final String Name
        Name of the extension. Please note that if this is not globally unique you will run into trouble.