public static DataObject toDataObject(TypeHelper typeHelper, Object[] os, QName elementQName, boolean isWrapped) {
XSDHelper xsdHelper = SDOUtil.createXSDHelper(typeHelper);
Property property = xsdHelper.getGlobalProperty(elementQName.getNamespaceURI(), elementQName.getLocalPart(), true);
if (null == property) {
throw new InvocationRuntimeException("Type '" + elementQName.toString() + "' not found in registered SDO types.");
}
if (isWrapped) {
DataFactory dataFactory = SDOUtil.createDataFactory(typeHelper);
DataObject dataObject = dataFactory.create(property.getType());
List ips = dataObject.getInstanceProperties();