Interface EntityModel

All Known Implementing Classes:
EntityModel.Bean, EntityModel.Enumeration

public sealed interface EntityModel permits EntityModel.Bean, EntityModel.Enumeration
A type which the endpoints refer to and which is generated as a TypeScript declaration of its own, such as the type of a parameter or of a return value.

The two kinds are what TypeScript has a different declaration for: a type with properties, which becomes an interface, and an enum, which becomes an enum of the values it is serialized as.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    A type whose values are objects with properties.
    static final record 
    The property saying which subtype a value is.
    static final record 
    A type whose values are one of a set of constants.
  • Method Summary

    Modifier and Type
    Method
    Description
    The fully qualified name of the Java class, which decides both the name and the location of the generated file.
  • Method Details

    • javaClass

      String javaClass()
      The fully qualified name of the Java class, which decides both the name and the location of the generated file.