upgradeStatusInstance.setUpgradeType(upgradeTypeInstance);
}
Element currentUpgradeDomainStateElement = XmlUtility.getElementByTagNameNS(upgradeStatusElement, "http://schemas.microsoft.com/windowsazure", "CurrentUpgradeDomainState");
if (currentUpgradeDomainStateElement != null) {
UpgradeDomainState currentUpgradeDomainStateInstance;
currentUpgradeDomainStateInstance = UpgradeDomainState.valueOf(currentUpgradeDomainStateElement.getTextContent());
upgradeStatusInstance.setCurrentUpgradeDomainState(currentUpgradeDomainStateInstance);
}
Element currentUpgradeDomainElement = XmlUtility.getElementByTagNameNS(upgradeStatusElement, "http://schemas.microsoft.com/windowsazure", "CurrentUpgradeDomain");