public class EntityPropertiesUtils extends Object
| Constructor and Description |
|---|
EntityPropertiesUtils() |
| Modifier and Type | Method and Description |
|---|---|
static PrimitivePropertyValue |
createPrimitiveDatePropertyValue(Long timestamp) |
static PrimitivePropertyValue |
createPrimitiveIntPropertyValue(Integer value) |
static PrimitivePropertyValue |
createPrimitiveStringPropertyValue(String value) |
static Boolean |
getBooleanValueForProperty(InstanceProperties instanceProperties,
String name) |
static Integer |
getIntegerValueForProperty(InstanceProperties properties,
String name) |
static MapPropertyValue |
getMapValueForProperty(InstanceProperties instanceProperties,
String name) |
static String |
getStringValueForProperty(InstanceProperties instanceProperties,
String name) |
static boolean |
matchExactlyInstanceProperties(InstanceProperties properties1,
InstanceProperties properties2) |
static boolean |
matchExactlyPropertiesValues(InstancePropertyValue value1,
InstancePropertyValue value2) |
public static Boolean getBooleanValueForProperty(InstanceProperties instanceProperties, String name)
public static String getStringValueForProperty(InstanceProperties instanceProperties, String name)
public static Integer getIntegerValueForProperty(InstanceProperties properties, String name)
public static MapPropertyValue getMapValueForProperty(InstanceProperties instanceProperties, String name)
public static PrimitivePropertyValue createPrimitiveStringPropertyValue(String value)
public static PrimitivePropertyValue createPrimitiveIntPropertyValue(Integer value)
public static PrimitivePropertyValue createPrimitiveDatePropertyValue(Long timestamp)
public static boolean matchExactlyInstanceProperties(InstanceProperties properties1, InstanceProperties properties2)
public static boolean matchExactlyPropertiesValues(InstancePropertyValue value1, InstancePropertyValue value2)
Copyright © 2018–2020 ODPi. All rights reserved.