public class NameConventions extends Object
Modifier and Type | Method and Description |
---|---|
static String |
backReferenceViewName(String fieldName)
The name of the view supporting a @DocumentReferences collection.
|
static String |
capitalize(String name)
Returns a String which capitalizes the first letter of the string.
|
static String |
designDocName(Class<?> klass)
The name for design document belonging to a specific type.
|
static String |
designDocName(String docName)
The name for a design document derived from a string.
|
static String |
getterName(String property) |
public static String backReferenceViewName(String fieldName)
fieldName
- public static String designDocName(Class<?> klass)
klass
- public static String designDocName(String docName)
docName
- Copyright © 2013. All Rights Reserved.