public final class KeyUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getConcatedTypeNameValues(List<String> typeNames,
String typeNameStr)
Given a typeName string, get the first match from the typeNames setting.
|
static String |
getConcatedTypeNameValues(List<String> typeNames,
String typeNameStr,
String separator)
Given a typeName string, get the first match from the typeNames setting.
|
static String |
getConcatedTypeNameValues(Query query,
List<String> typeNames,
String typeName)
Given a typeName string, get the first match from the typeNames setting.
|
static String |
getKeyString(Query query,
Result result,
Map.Entry<String,Object> values,
List<String> typeNames)
Gets the key string, without rootPrefix nor Alias
|
static String |
getKeyString(Server server,
Query query,
Result result,
Map.Entry<String,Object> values,
List<String> typeNames,
String rootPrefix)
Gets the key string.
|
static Map<String,String> |
getTypeNameValueMap(String typeNameStr)
Given a typeName string, create a Map with every key and value in the typeName.
|
public static String getKeyString(Server server, Query query, Result result, Map.Entry<String,Object> values, List<String> typeNames, String rootPrefix)
server - query - the queryresult - the resultvalues - the valuestypeNames - the type namesrootPrefix - the root prefixpublic static String getKeyString(Query query, Result result, Map.Entry<String,Object> values, List<String> typeNames)
query - the queryresult - the resultvalues - the valuestypeNames - the type namespublic static String getConcatedTypeNameValues(List<String> typeNames, String typeNameStr)
typeNames - the type namestypeNameStr - the type name strpublic static String getConcatedTypeNameValues(List<String> typeNames, String typeNameStr, String separator)
typeNames - the type namestypeNameStr - the type name strseparator - public static Map<String,String> getTypeNameValueMap(String typeNameStr)
typeNameStr - the type name strpublic static String getConcatedTypeNameValues(Query query, List<String> typeNames, String typeName)
query - the querytypeNames - the type namestypeName - the type nameCopyright © 2015. All Rights Reserved.