"reference" is an element attribute, not property.
This commit is contained in:
parent
7623372601
commit
7d4f9afb08
|
@ -55,17 +55,17 @@ public class ReferenceUtils {
|
|||
|
||||
public static boolean isIDLookup(Element element)
|
||||
{
|
||||
return "id".equals(element.properties.get("reference"));
|
||||
return "id".equals(element.attributes.getValue("reference"));
|
||||
}
|
||||
|
||||
public static boolean isUUIDLookup(Element element)
|
||||
{
|
||||
return "uuid".equals(element.properties.get("reference"));
|
||||
return "uuid".equals(element.attributes.getValue("reference"));
|
||||
}
|
||||
|
||||
public static boolean isTableLookup(Element element)
|
||||
{
|
||||
return "table".equals(element.properties.get("reference"));
|
||||
return "table".equals(element.attributes.getValue("reference"));
|
||||
}
|
||||
|
||||
public static String getTableReference(String tableName, String searchColumn, int id, AttributesImpl atts)
|
||||
|
|
Loading…
Reference in New Issue