public void addChild(Object parent, Object child, UnmarshallingContext nav, String nsURI, String localName)
{
if (parent instanceof IdentityConfigurationMetaData)
{
IdentityConfigurationMetaData identity = (IdentityConfigurationMetaData)parent;
if (child instanceof ModulesMetaData)
{
identity.setModules((ModulesMetaData)child);
}
else if (child instanceof DatasourcesMetaData)
{
identity.setDatasources((DatasourcesMetaData)child);
}
else if (child instanceof OptionsMetaData)
{
identity.setOptions((OptionsMetaData)child);
}
}
else if (parent instanceof DatasourcesMetaData)
{
DatasourcesMetaData datasources = (DatasourcesMetaData)parent;