public abstract void setLabel(String label);
public void initFrom(RegistrationPropertyDescription desc)
{
LocalizedString description = desc.getDescription();
if (description != null)
{
setDescription(description.getValue());
}
LocalizedString hint = desc.getHint();
if (hint != null)
{
setHint(hint.getValue());
}
LocalizedString label = desc.getLabel();
if (label != null)
{
setLabel(label.getValue());
}
// convert QNames to Strings
setName(desc.getName().toString());
setType(desc.getType().toString());