The model of the naming conventions of a class used for Codegen
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 |
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'