public class OAAnnotationDelegate extends Object
Constructor and Description |
---|
OAAnnotationDelegate() |
Modifier and Type | Method and Description |
---|---|
static Class |
getHubObjectClass(OAMany annotation,
Method method)
Find the OAObject class that use contained by the Hub.
|
static String |
getPropertyName(String s) |
static String |
getPropertyName(String s,
boolean bToLower) |
static void |
main(String[] args) |
static void |
update(Database database,
Class[] classes) |
static void |
update(OAObjectInfo oi,
Class clazz)
Load/update ObjectInfo using annotations
|
static void |
update2(OAObjectInfo oi,
Class clazz)
needs to be called after OAObjectInfo has been created.
|
public static void update(OAObjectInfo oi, Class clazz)
public static void update2(OAObjectInfo oi, Class clazz)
public static Class getHubObjectClass(OAMany annotation, Method method)
public static void update(Database database, Class[] classes) throws Exception
Exception
Copyright © 1999–2019 ViaOA. All rights reserved.