protected function _loadOptionSettingList(\SimpleXMLElement $sxml)
{
$result = new OptionSettingList();
$result->setRds($this->rds);
if (isset($sxml->OptionSetting)) {
foreach ($sxml->OptionSetting as $v) {
$item = new OptionSettingData();
$item->setRds($this->rds);
$item->isCollection = $this->exist($v->IsCollection) ? (string) $v->IsCollection == 'true' : null;
$item->isModifiable = $this->exist($v->IsModifiable) ? (string) $v->IsModifiable == 'true' : null;
$item->allowedValues = $this->exist($v->AllowedValues) ? (string) $v->AllowedValues : null;
$item->applyType = $this->exist($v->ApplyType) ? (string) $v->ApplyType : null;
$item->defaultValue = $this->exist($v->DefaultValue) ? (string) $v->DefaultValue : null;
$item->description = $this->exist($v->Description) ? (string) $v->Description : null;
$item->name = $this->exist($v->Name) ? (string) $v->Name : null;
$item->value = $this->exist($v->Value) ? (string) $v->Value : null;
$result->append($item);
unset($item);
}
}
return $result;
}