Package com.vaadin.hilla.generator.model
Interface EntityModel
- All Known Implementing Classes:
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 ClassesModifier and TypeInterfaceDescriptionstatic final recordA type whose values are objects with properties.static final recordThe property saying which subtype a value is.static final recordA type whose values are one of a set of constants. -
Method Summary
-
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.
-