org.ofbiz.entity.util
Class EntityDataAssert
java.lang.Object
org.ofbiz.entity.util.EntityDataAssert
public class EntityDataAssert
- extends java.lang.Object
Some utility routines for loading seed data.
Field Summary |
static java.lang.String |
module
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
module
public static final java.lang.String module
EntityDataAssert
public EntityDataAssert()
assertData
public static int assertData(java.net.URL dataUrl,
GenericDelegator delegator,
java.util.List<java.lang.Object> errorMessages)
throws GenericEntityException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException,
java.io.IOException
- Throws:
GenericEntityException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
java.io.IOException
checkValueList
public static void checkValueList(java.util.List valueList,
GenericDelegator delegator,
java.util.List<java.lang.Object> errorMessages)
throws GenericEntityException
- Throws:
GenericEntityException
checkSingleValue
public static void checkSingleValue(GenericValue checkValue,
GenericDelegator delegator,
java.util.List<java.lang.Object> errorMessages)
throws GenericEntityException
- Throws:
GenericEntityException