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 OAObjectKey |
createChangedObjectKey(Class clazz,
OAObjectKey objKey,
String propertyName,
Object newValue) |
static OAObjectKey |
createChangedObjectKey(OAObject oaObj,
String propertyName,
Object newValue) |
static int |
getGuid(OAObject oaObj) |
static OAObjectKey |
getKey(OAObject oaObj)
returns the OAObjectKey that uniquely represents this object.
|
static OAObjectKey |
getKey(OAObject oaObj,
String property,
Object propertyValue)
Create a new key, based on property change.
|
static Object |
getProperty(Class clazz,
OAObjectKey objectKey,
String propertyName) |
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,
OAObjectKey newObjectKey) |
public static OAObjectKey getKey(OAObject oaObj)
public static int getGuid(OAObject oaObj)
public static OAObjectKey createChangedObjectKey(Class clazz, OAObjectKey objKey, String propertyName, Object newValue)
public static OAObjectKey createChangedObjectKey(OAObject oaObj, String propertyName, Object newValue)
public static OAObjectKey getKey(OAObject oaObj, String property, Object propertyValue)
protected static void setKey(OAObject oaObj, OAObjectKey key)
protected static boolean updateKey(OAObject oaObj, boolean bVerify)
OAObjectKey
public static String verifyKeyChange(OAObject oaObj, OAObjectKey newObjectKey)
public static OAObjectKey convertToObjectKey(OAObjectInfo oi, Object value)
public static OAObjectKey convertToObjectKey(Class clazz, Object value)
public static OAObjectKey convertToObjectKey(Class clazz, Object[] values)
public static Object getProperty(Class clazz, OAObjectKey objectKey, String propertyName)
Copyright © 1999–2025 ViaOA. All rights reserved.