マイライブラリドキュメント

マルチルートサイドバー

flex-layout

  • Getting Started

  • Guides

  • Reference

typed-rx-http

  • Getting Started

  • Guides

  • Reference

global-rx-state

  • Getting Started

  • Guides

  • Reference

webflux-fe-dev-assistant

reactive-mongo-dsl

EntityフィールドとCollectionNames

Mongoエンティティで生のフィールド名を保持するenumとコレクションenumを生成します。


エンティティ判別

基本 webfluxDocumentName は Spring Data MongoDB の org.springframework.data.mongodb.core.mapping.Document です。 entityPackage 以下のクラスの中で、該当するアノテーションが付いたクラスを対象に処理します。

生成例
MemberEntityFields.java
java
rawフィールド名探索

Javaフィールド名がデフォルトであり、Spring Data @Field、リレーショナル/JPA @Column、Jackson @JsonProperty の値または名前を文字列ベースで読み取ります。Javaキーワード、数字で始まる名前、特殊文字は安全なenum識別子に変換されますが、rawNameは保持されます。

EntityFileWatcher.Config

rootPath

基本 src/main/java

entityPackage

entityソースパッケージ

fieldPackage

{Entity}Fields 出力パッケージ

collectionNamePackage

CollectionNames出力パッケージ

collectionNameEnum

基本 CollectionNames

webfluxDocumentName

entity判別アノテーションFQN

生成ファイルを直接修正しない
© 2026 Byeolnaerim. 無断転載を禁じます。紹介プライバシーポリシー