public class OAObjectKeyDelegate extends Object
Constructor and Description |
---|
OAObjectKeyDelegate() |
Modifier and Type | Method and Description |
---|---|
static OAObjectKey |
convertToObjectKey(Class clazz,
Object value) |
static OAObjectKey |
convertToObjectKey(Class clazz,
Object[] values) |
static OAObjectKey |
convertToObjectKey(OAObjectInfo oi,
Object value)
Convert a value to an OAObjectKey
|
static int |
getGuid(OAObject oaObj) |
static OAObjectKey |
getKey(OAObject oaObj)
returns the OAObjectKey that uniquely represents this object.
|
static OAObjectKey |
getKey(OAObject oaObj,
Object keyValue)
Create a new key based on a certain value "keyValue".
|
protected static void |
setKey(OAObject oaObj,
OAObjectKey key) |
protected static boolean |
updateKey(OAObject oaObj,
boolean bVerify)
Used to update Hubs and HubController when an objects unique values (property Id) are changed.
|
static String |
verifyKeyChange(OAObject oaObj) |
public static OAObjectKey getKey(OAObject oaObj)
public static int getGuid(OAObject oaObj)
public static OAObjectKey getKey(OAObject oaObj, Object keyValue)
protected static void setKey(OAObject oaObj, OAObjectKey key)
protected static boolean updateKey(OAObject oaObj, boolean bVerify)
OAObjectKey
public static OAObjectKey convertToObjectKey(OAObjectInfo oi, Object value)
public static OAObjectKey convertToObjectKey(Class clazz, Object value)
public static OAObjectKey convertToObjectKey(Class clazz, Object[] values)
Copyright © 1999–2019 ViaOA. All rights reserved.