return obj;
}
public void marshal(RegistryObject object,Element parent)
{
ValidateValues request = (ValidateValues)object;
String generic = request.getGeneric();
generic = getGeneric(generic);
String namespace = getUDDINamespace(generic);
Element element = parent.getOwnerDocument().createElementNS(namespace,TAG_NAME);
AbstractHandler handler = null;
element.setAttribute("generic",generic);
Vector businessVector = request.getBusinessEntityVector();
if ((businessVector!=null) && (businessVector.size() > 0))
{
handler = maker.lookup(BusinessEntityHandler.TAG_NAME);
for (int i=0; i < businessVector.size(); i++)
handler.marshal((BusinessEntity)businessVector.elementAt(i),element);
}
Vector serviceVector = request.getBusinessServiceVector();
if ((serviceVector!=null) && (serviceVector.size() > 0))
{
handler = maker.lookup(BusinessServiceHandler.TAG_NAME);
for (int i=0; i < serviceVector.size(); i++)
handler.marshal((BusinessService)serviceVector.elementAt(i),element);
}
Vector tModelVector = request.getTModelVector();
if ((tModelVector!=null) && (tModelVector.size() > 0))
{
handler = maker.lookup(TModelHandler.TAG_NAME);
for (int i=0; i < tModelVector.size(); i++)
handler.marshal((TModel)tModelVector.elementAt(i),element);