*
* @param soapModel the soap model instance to convert
* @return the normal model instance
*/
public static Warrant toModel(WarrantSoap soapModel) {
Warrant model = new WarrantImpl();
model.setId(soapModel.getId());
model.setUserId(soapModel.getUserId());
model.setSummary(soapModel.getSummary());
model.setQuantity(soapModel.getQuantity());
model.setPrice(soapModel.getPrice());
model.setStatus(soapModel.getStatus());
model.setCreateDate(soapModel.getCreateDate());
model.setModifiedDate(soapModel.getModifiedDate());
model.setExpirationWarningSent(soapModel.getExpirationWarningSent());
return model;
}