public final class EntityWithColumnsSpec
extends java.lang.Object
implements io.spine.code.gen.java.GeneratedTypeSpec
The type inherits EntityWithColumns
and is named XWithColumns
where X
is the message type name.
The entity columns then become the interface methods which have to be implemented once the entity class inherits from the interface.
EntityWithColumns
Constructor and Description |
---|
EntityWithColumnsSpec(io.spine.type.MessageType messageType) |
Modifier and Type | Method and Description |
---|---|
io.spine.code.java.PackageName |
packageName() |
com.squareup.javapoet.TypeSpec |
typeSpec() |