interface Model
The model of the naming conventions of a class used for Codegen
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract java.util.Map<java.lang.String, java.lang.Object> |
asMap()
|
|
abstract java.lang.String |
convention(java.lang.String conventionName)Returns the convention of this model for the given name. |
|
abstract java.lang.String |
getClassName()
|
|
abstract java.lang.String |
getFullName()
|
|
abstract java.lang.String |
getLowerCaseName()A lower case version of the class name separated by hyphens. |
|
abstract java.lang.String |
getModelName()A property name version of the class name. |
|
abstract java.lang.String |
getPackageName()
|
|
abstract java.lang.String |
getPackagePath()
|
|
abstract java.lang.String |
getPropertyName()A property name version of the class name. |
|
abstract java.lang.String |
getSimpleName()
|
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"
conventionName - The name
A lower case version of the class name separated by hyphens. For example 'FooBar' becomes 'foo-bar'
A property name version of the class name. For example 'FooBar' becomes 'fooBar'
A property name version of the class name. For example 'FooBar' becomes 'fooBar'