com.holonplatform.datastore.mongo.core.expression

## Interface CollectionName

- All Superinterfaces:
    com.holonplatform.core.Expression

      public interface CollectionName
      extends com.holonplatform.core.Expression

  Mongo collection name expression.
  Since:
    5.2.0

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface com.holonplatform.core.Expression

      `com.holonplatform.core.Expression.ExpressionResolverFunction<E extends com.holonplatform.core.Expression,R extends com.holonplatform.core.Expression>, com.holonplatform.core.Expression.InvalidExpressionException`

  - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static CollectionName` | `create(String name)` Create a new `CollectionName` using given collection name.
    `String` | `getName()` Get the database collection name.

    - ### Methods inherited from interface com.holonplatform.core.Expression

      `validate`

- - ### Method Detail

    - #### getName

          String getName()

      Get the database collection name.
      Returns:
        The collection name

    - #### create

          static CollectionName create(String name)

      Create a new `CollectionName` using given collection name.
      Parameters:
        `name` - The collection name
      Returns:
        A new `CollectionName` instance

Copyright © 2019 The Holon Platform. All rights reserved.