public class StoreMergeUtil extends java.lang.Object implements StoreConstants
ARRAY_FLAG, CLEANING_STATE, COLLECTION_FLAG, CREATE_OP, DELETE_OP, IDLE_STATE, INNER_LOGS, INNER_MILESTONE, INNER_PREFIX, INNER_SYNC, ITEM_ESCAPE_CHAR, ITEM_SEPARATOR, LOADING_STATE, MAP_ASSIGN, MAP_CHARS_TO_ESCAPE, MAP_CLASS_SEPARATOR, MAP_FLAG, NAMESPACE, REVISION, SH_SUFFIX, STORING_STATE, UPDATE_OP
Constructor and Description |
---|
StoreMergeUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
decodeArray(java.lang.String value)
Returns an String[] from the encoded value.
|
static java.util.Set<java.lang.String> |
decodeCollectionOrMapItemSet(java.lang.String value)
Returns a Set from the encoded value.
|
static java.util.List<java.lang.String> |
decodeList(java.lang.String value)
Returns a List from the encoded value.
|
static boolean |
isArrayAttribute(java.lang.String value1,
java.lang.String value2)
Returns true if one of the 2 values is an array.
|
static boolean |
isArrayOrCollectionAttribute(java.lang.String value1,
java.lang.String value2)
Returns true if one of the 2 values is an array or a collection.
|
static boolean |
isCollectionAttribute(java.lang.String value1,
java.lang.String value2)
Returns true if one of the 2 values is a collection.
|
static boolean |
isMapAttribute(java.lang.String value1,
java.lang.String value2)
Returns true if one of the 2 values is a map.
|
public static boolean isArrayOrCollectionAttribute(java.lang.String value1, java.lang.String value2)
value1
- the first valuevalue2
- the second value.public static boolean isMapAttribute(java.lang.String value1, java.lang.String value2)
value1
- the first valuevalue2
- the second value.public static boolean isCollectionAttribute(java.lang.String value1, java.lang.String value2)
value1
- the first valuevalue2
- the second value.public static boolean isArrayAttribute(java.lang.String value1, java.lang.String value2)
value1
- the first valuevalue2
- the second value.public static java.lang.String[] decodeArray(java.lang.String value)
value
- the encoded valuepublic static java.util.Set<java.lang.String> decodeCollectionOrMapItemSet(java.lang.String value)
value
- the encoded valuepublic static java.util.List<java.lang.String> decodeList(java.lang.String value)
value
- the encoded valueCopyright © 2001-2017 Jalios SA. All Rights Reserved.