Model (Grails 3.3.8)
Date: 2018-08-10

Package: grails.codegen.model

## [Groovy] Interface Model

- The model of the naming conventions of a class used for Codegen

  Authors:
    Graeme Rocher
  Since:
    3.0

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `java.util.Map<java.lang.String, java.lang.Object>` | `asMap()` @return The model as a map
    `` | `java.lang.String` | `convention(java.lang.String conventionName)` Returns the convention of this model for the given name.
    `` | `java.lang.String` | `getClassName()` @return The class name excluding package
    `` | `java.lang.String` | `getFullName()` @return The class name including package
    `` | `java.lang.String` | `getLowerCaseName()` A lower case version of the class name separated by hyphens.
    `` | `java.lang.String` | `getModelName()` A property name version of the class name.
    `` | `java.lang.String` | `getPackageName()` @return The package name
    `` | `java.lang.String` | `getPackagePath()` @return The package name
    `` | `java.lang.String` | `getPropertyName()` A property name version of the class name.
    `` | `java.lang.String` | `getSimpleName()` @return The class name without package

- - ### Method Detail

    - #### java.util.Map<java.lang.String, java.lang.Object> asMap()

      Returns:
        The model as a map

    - #### java.lang.String convention(java.lang.String conventionName)

      Returns the convention of this model for the given name. For example given a getSimpleName() of "Foo" this method will return "FooController" where the name argument is "Controller"

      Parameters:
        `conventionName` - The name
      Returns:
        The convention for the given convention name

    - #### java.lang.String getClassName()

      Returns:
        The class name excluding package

    - #### java.lang.String getFullName()

      Returns:
        The class name including package

    - #### java.lang.String getLowerCaseName()

      A lower case version of the class name separated by hyphens. For example 'FooBar' becomes 'foo-bar'

      Returns:
        Lower case version of the class name

    - #### java.lang.String getModelName()

      A property name version of the class name. For example 'FooBar' becomes 'fooBar'

      Returns:
        The property name version of the class name

    - #### java.lang.String getPackageName()

      Returns:
        The package name

    - #### java.lang.String getPackagePath()

      Returns:
        The package name

    - #### java.lang.String getPropertyName()

      A property name version of the class name. For example 'FooBar' becomes 'fooBar'

      Returns:
        The property name version of the class name

    - #### java.lang.String getSimpleName()

      Returns:
        The class name without package