public static AttributeDetail convert(AttributeDTO attributeDTO) {
   AttributeDetail attribute = new AttributeDetail();
   attribute.setName(attributeDTO.getName());
   attribute.setValue(attributeDTO.getValue() == null ? "" : attributeDTO.getValue());
   attribute.setType(attributeDTO.getType());
   attribute.setMaxOccurs(attributeDTO.getMaxOccurs());
   attribute.setMinOccurs(attributeDTO.getMinOccurs());
   attribute.setNillable(attributeDTO.isNillable());
   return attribute;
 }