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 StringgetTableReference(String tableName, int id, AttributesImpl atts)static booleanisIDLookup(Element element)static booleanisLookup(Element element)static booleanisUUIDLookup(Element element)static intresolveReference(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)
-
-