public abstract class ReactivePanacheMongoEntity extends ReactivePanacheMongoEntityBase
id
of type ObjectId
. If your
Mongo entities extend this class they gain the ID field and auto-generated accessors
to all their public fields, as well as all the useful methods from ReactivePanacheMongoEntityBase
.
If you want a custom ID type or strategy, you can directly extend ReactivePanacheMongoEntityBase
instead, and write your own ID field. You will still get auto-generated accessors and
all the useful methods.ReactivePanacheMongoEntityBase
Modifier and Type | Field and Description |
---|---|
org.bson.types.ObjectId |
id
The auto-generated ID field.
|
Constructor and Description |
---|
ReactivePanacheMongoEntity() |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
count, count, count, count, count, delete, delete, delete, delete, delete, deleteAll, deleteById, find, find, find, find, find, find, find, find, findAll, findAll, findById, findByIdOptional, list, list, list, list, list, list, list, list, listAll, listAll, mongoCollection, mongoDatabase, persist, persist, persist, persist, persistOrUpdate, persistOrUpdate, persistOrUpdate, persistOrUpdate, stream, stream, stream, stream, stream, stream, stream, stream, streamAll, streamAll, update, update, update, update, update, update, update
public org.bson.types.ObjectId id
ReactivePanacheMongoEntityBase.persist()
Copyright © 2021 JBoss by Red Hat. All rights reserved.