/** * Converts the soap model instance into a normal model instance. * * @param soapModel the soap model instance to convert * @return the normal model instance */ public static Smearstation toModel(SmearstationSoap soapModel) { if (soapModel == null) { return null; } Smearstation model = new SmearstationImpl(); model.setStationID(soapModel.getStationID()); model.setDcmipoint(soapModel.getDcmipoint()); model.setName(soapModel.getName()); model.setDataAvail(soapModel.getDataAvail()); return model; }