@Override public InvalidProducerPropertiesExpressionFaultType createInvalidProducerPropertiesExpressionFaultType() throws WSNotificationException { try { return new InvalidProducerPropertiesExpressionFaultTypeImpl(WSNotificationJAXBContext.wsnbFactory.createInvalidProducerPropertiesExpressionFaultType(),null); } catch (WSResourceException e) { throw new WSNotificationException(e); } }
/** * A way to create a {@link com.ebmwebsourcing.wsstar.jaxb.notification.base.InvalidProducerPropertiesExpressionFaultType} * "Jaxb model type" object from a {@link InvalidProducerPropertiesExpressionFaultType} api type" one * * @param apiTypeObj */ public static com.ebmwebsourcing.wsstar.jaxb.notification.base.InvalidProducerPropertiesExpressionFaultType toJaxbModel(InvalidProducerPropertiesExpressionFaultType apiTypeObj){ com.ebmwebsourcing.wsstar.jaxb.notification.base.InvalidProducerPropertiesExpressionFaultType jaxbTypeObj = null; if (apiTypeObj instanceof InvalidProducerPropertiesExpressionFaultTypeImpl) { jaxbTypeObj = (com.ebmwebsourcing.wsstar.jaxb.notification.base.InvalidProducerPropertiesExpressionFaultType) ((InvalidProducerPropertiesExpressionFaultTypeImpl)apiTypeObj).getJaxbTypeObj(); } else { jaxbTypeObj = (com.ebmwebsourcing.wsstar.jaxb.notification.base.InvalidProducerPropertiesExpressionFaultType) BaseFaultTypeImpl.toJaxbModel(apiTypeObj, WsnbJAXBContext.WSNB_JAXB_FACTORY.createInvalidProducerPropertiesExpressionFaultType()); } return jaxbTypeObj; } }