public class AnyUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static io.crnk.meta.model.MetaAttribute |
findAttribute(io.crnk.meta.model.MetaDataObject meta,
java.lang.Object value)
Finds a matching attribute for a given value.
|
static void |
setValue(io.crnk.meta.MetaLookup metaLookup,
AnyTypeObject dataObject,
java.lang.Object value)
Sets the value of the given anytype.
|
public static void setValue(io.crnk.meta.MetaLookup metaLookup,
AnyTypeObject dataObject,
java.lang.Object value)
metaLookup - to use to retrieve informationdataObject - the anytype for which the value is set.value - the new valuepublic static io.crnk.meta.model.MetaAttribute findAttribute(io.crnk.meta.model.MetaDataObject meta,
java.lang.Object value)
meta - the metadataobjectvalue - the value