Package org.adempiere.pipo2
Class ReferenceUtils
- java.lang.Object
-
- org.adempiere.pipo2.ReferenceUtils
-
public class ReferenceUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description ReferenceUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getTableReference(String tableName, int id, AttributesImpl atts)
static boolean
isIDLookup(Element element)
static boolean
isLookup(Element element)
static boolean
isUUIDLookup(Element element)
static int
resolveReference(Properties ctx, Element e, String trxName)
-
-
-
Method Detail
-
resolveReference
public static int resolveReference(Properties ctx, Element e, String trxName)
- Parameters:
ctx
-e
-trxName
-- Returns:
- positive id if found
-
isLookup
public static boolean isLookup(Element element)
-
isIDLookup
public static boolean isIDLookup(Element element)
-
isUUIDLookup
public static boolean isUUIDLookup(Element element)
-
getTableReference
public static String getTableReference(String tableName, int id, AttributesImpl atts)
-
-