org.qi4j.entitystore.mongodb
Interface MongoEntityStoreConfiguration

All Superinterfaces:
Composite, ConfigurationComposite, EntityComposite, Identity

public interface MongoEntityStoreConfiguration
extends ConfigurationComposite


Nested Class Summary
static class MongoEntityStoreConfiguration.WriteConcern
           
 
Nested classes/interfaces inherited from interface org.qi4j.api.entity.Identity
Identity.IdentityMixin
 
Method Summary
 Property<java.lang.String> collection()
           
 Property<java.lang.String> database()
           
 Property<java.lang.String> hostname()
           
 Property<java.util.List<com.mongodb.ServerAddress>> nodes()
           
 Property<java.lang.String> password()
           
 Property<java.lang.Integer> port()
           
 Property<java.lang.String> username()
           
 Property<MongoEntityStoreConfiguration.WriteConcern> writeConcern()
           
 
Methods inherited from interface org.qi4j.api.entity.Identity
identity
 

Method Detail

hostname

@Optional
Property<java.lang.String> hostname()

port

@Optional
Property<java.lang.Integer> port()

nodes

@UseDefaults
Property<java.util.List<com.mongodb.ServerAddress>> nodes()

username

@UseDefaults
Property<java.lang.String> username()

password

@UseDefaults
Property<java.lang.String> password()

database

@Optional
Property<java.lang.String> database()

collection

@Optional
Property<java.lang.String> collection()

writeConcern

@UseDefaults
Property<MongoEntityStoreConfiguration.WriteConcern> writeConcern()