public final class InstanceUtils
extends java.lang.Object
Entitys.| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
formatValuePath(java.lang.String[] path)
Deprecated.
replaced by
ObjectPathUtils.formatValuePath(String[]) |
static <T> T |
getValueEx(io.jmix.core.Entity entity,
io.jmix.core.metamodel.model.PropertyPath propertyPath)
Deprecated.
replaced by
EntityValues.getValueEx(Object, PropertyPath) |
static <T> T |
getValueEx(io.jmix.core.Entity entity,
java.lang.String propertyPath)
Deprecated.
replaced by
EntityValues.getValueEx(Object, String) |
static <T> T |
getValueEx(io.jmix.core.Entity entity,
java.lang.String[] properties)
Deprecated.
replaced by
EntityValues.getValueEx(Object, String[]) |
static java.lang.String[] |
parseValuePath(java.lang.String path)
Deprecated.
replaced by
ObjectPathUtils.parseValuePath(String) |
static boolean |
propertyValueEquals(java.lang.Object a,
java.lang.Object b)
Deprecated.
replaced by
EntityValues.propertyValueEquals(Object, Object) |
static void |
setValueEx(io.jmix.core.Entity entity,
io.jmix.core.metamodel.model.PropertyPath propertyPath,
java.lang.Object value)
Deprecated.
replaced by
EntityValues.setValueEx(Object, PropertyPath, Object) |
static void |
setValueEx(io.jmix.core.Entity entity,
java.lang.String[] properties,
java.lang.Object value)
Deprecated.
replaces by
EntityValues.setValueEx(Object, String[], Object) |
static void |
setValueEx(io.jmix.core.Entity entity,
java.lang.String propertyPath,
java.lang.Object value)
Deprecated.
replaced by
EntityValues.setValueEx(Object, String, Object) |
@Deprecated
public static java.lang.String[] parseValuePath(@Nullable
java.lang.String path)
ObjectPathUtils.parseValuePath(String)
car.driver.name
[car.field].driver.name
path - value path as string@Deprecated public static java.lang.String formatValuePath(java.lang.String[] path)
ObjectPathUtils.formatValuePath(String[])path - value path as array@Deprecated
public static <T> T getValueEx(io.jmix.core.Entity entity,
java.lang.String propertyPath)
EntityValues.getValueEx(Object, String)EntityValues.getValueEx(Object, String).entity - instancepropertyPath - attribute path@Deprecated
public static <T> T getValueEx(io.jmix.core.Entity entity,
io.jmix.core.metamodel.model.PropertyPath propertyPath)
EntityValues.getValueEx(Object, PropertyPath)EntityValues.getValueEx(Object, PropertyPath).entity - entitypropertyPath - attribute path@Deprecated
public static <T> T getValueEx(io.jmix.core.Entity entity,
java.lang.String[] properties)
EntityValues.getValueEx(Object, String[])EntityValues.getValueEx(Object, String[]).entity - entityproperties - path to the attribute@Deprecated
public static void setValueEx(io.jmix.core.Entity entity,
java.lang.String propertyPath,
java.lang.Object value)
EntityValues.setValueEx(Object, String, Object)EntityValues.setValueEx(Object, String, Object).entity - entitypropertyPath - path to the attributevalue - attribute value@Deprecated
public static void setValueEx(io.jmix.core.Entity entity,
io.jmix.core.metamodel.model.PropertyPath propertyPath,
java.lang.Object value)
EntityValues.setValueEx(Object, PropertyPath, Object)EntityValues.setValueEx(Object, PropertyPath, Object).entity - entitypropertyPath - path to the attributevalue - attribute value@Deprecated
public static void setValueEx(io.jmix.core.Entity entity,
java.lang.String[] properties,
java.lang.Object value)
EntityValues.setValueEx(Object, String[], Object)EntityValues.setValueEx(Object, String[], Object).entity - entityproperties - path to the attributevalue - attribute value@Deprecated
public static boolean propertyValueEquals(java.lang.Object a,
java.lang.Object b)
EntityValues.propertyValueEquals(Object, Object)a - an objectb - an objecta equals to b, but in case of a is or Collection returns
true only if a is the same instance as b