public final class OracleElementHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
areEqual(OracleElement a, java.lang.Object b) |
static boolean |
areEqual(OraclePropertyBase a, java.lang.Object b) |
static void |
attachProperties(OracleElement element, java.lang.Object... propertyKeyValues) |
static void |
attachProperties(OracleVertexBase vertex, java.lang.Object... propertyKeyValues) |
static java.util.Optional<java.lang.Object> |
getIdValue(java.lang.Object... keyValues) |
static java.util.Optional<java.lang.String> |
getLabelValue(java.lang.Object... keyValues) |
static int |
hashCode(OracleElement element) |
static int |
hashCode(OraclePropertyBase property) |
static boolean |
haveEqualIds(OracleElement a, OracleElement b) |
static void |
legalPropertyKeyValueArray(java.lang.Object... propertyKeyValues) |
static void |
validateLabel(java.lang.String label) |
static void |
validateMixedElementIds(java.lang.Class<? extends OracleElementBase> clazz, java.lang.Object... ids) |
static void |
validateProperty(java.lang.String key, java.lang.Object value) |
public static boolean areEqual(OracleElement a, java.lang.Object b)
public static boolean areEqual(OraclePropertyBase a, java.lang.Object b)
public static void attachProperties(OracleElement element, java.lang.Object... propertyKeyValues)
public static void attachProperties(OracleVertexBase vertex, java.lang.Object... propertyKeyValues)
public static java.util.Optional<java.lang.Object> getIdValue(java.lang.Object... keyValues)
public static java.util.Optional<java.lang.String> getLabelValue(java.lang.Object... keyValues)
public static int hashCode(OracleElement element)
public static int hashCode(OraclePropertyBase property)
public static boolean haveEqualIds(OracleElement a, OracleElement b)
public static void legalPropertyKeyValueArray(java.lang.Object... propertyKeyValues) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public static void validateLabel(java.lang.String label) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public static void validateMixedElementIds(java.lang.Class<? extends OracleElementBase> clazz, java.lang.Object... ids) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public static void validateProperty(java.lang.String key, java.lang.Object value) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException