Azure / azure-cosmosdb-java

Java Async SDK for SQL API of Azure Cosmos DB
MIT License
54 stars 61 forks source link

[V3] Object Model fluency #152

Closed christopheranderson closed 5 years ago

christopheranderson commented 5 years ago

The design pattern used in track two for model classes is to drop the get, set, and is prefixes common in the JavaBean pattern, and to have the methods simply named as the noun they represent. Setters should always return this, so that a fluent pattern emerges allowing developers to chain method calls (sometimes multiple levels deep) with ease, whilst constructing their object model.

(This only applies to our "POJO" data classes like ContainerSettings)

christopheranderson commented 5 years ago

done