@Documented @Inherited @Retention(value=RUNTIME) @Target(value=TYPE) public @interface Entity
| Modifier and Type | Optional Element and Description |
|---|---|
CappedAt |
cap
The capped collection configuration options
|
String |
concern
The default write concern to use when dealing with this entity
|
boolean |
noClassnameStored
When true, instructs Morphia to not include when serializing an entity to mongodb.
|
boolean |
queryNonPrimary
set slaveOk for queries for this Entity.
|
String |
value
Sets the collection name to for this entity.
|
public abstract CappedAt cap
public abstract String concern
public abstract boolean noClassnameStored
public abstract boolean queryNonPrimary
public abstract String value
Class.getSimpleName()