public void setTopic(TopicExpressionType topic) { this.model.setTopic((com.ebmwebsourcing.wsstar.jaxb.notification.base.TopicExpressionType)( (AbstractSchemaElementImpl<com.ebmwebsourcing.wsstar.jaxb.notification.base.TopicExpressionType>)topic).getModel()); }
@Override public final void setTopic(TopicExpressionType value) { this.jaxbTypeObj.setTopic(TopicExpressionTypeImpl.toJaxbModel(value)); }
/** * Default constructor */ protected GetCurrentMessageImpl(TopicExpressionType concreteTopic) { this.jaxbTypeObj = WsnbJAXBContext.WSNB_JAXB_FACTORY.createGetCurrentMessage(); this.jaxbTypeObj.setTopic(TopicExpressionTypeImpl.toJaxbModel(concreteTopic)); }
/** * A way to create a {@link com.ebmwebsourcing.wsstar.notification.base.GetCurrentMessage} * "Jaxb model type" object from a {@link GetCurrentMessage} "api type" one * * @param apiTypeObj */ public static com.ebmwebsourcing.wsstar.jaxb.notification.base.GetCurrentMessage toJaxbModel(GetCurrentMessage apiTypeObj) { com.ebmwebsourcing.wsstar.jaxb.notification.base.GetCurrentMessage jaxbTypeObj = null; if (apiTypeObj instanceof GetCurrentMessageImpl){ jaxbTypeObj = ((GetCurrentMessageImpl)apiTypeObj).getJaxbTypeObj(); } else { jaxbTypeObj = WsnbJAXBContext.WSNB_JAXB_FACTORY.createGetCurrentMessage(); // ~~~~ Set Topic ~~~~ jaxbTypeObj.setTopic(TopicExpressionTypeImpl.toJaxbModel(apiTypeObj.getTopic())); } return jaxbTypeObj; } }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final GetCurrentMessage copy = ((target == null)?new GetCurrentMessage():((GetCurrentMessage) target)); { TopicExpressionType sourceTopic; sourceTopic = this.getTopic(); TopicExpressionType copyTopic = ((TopicExpressionType) copyBuilder.copy(sourceTopic)); copy.setTopic(copyTopic); } { List<Object> sourceAny; sourceAny = this.getAny(); List<Object> copyAny = ((List<Object> ) copyBuilder.copy(sourceAny)); copy.any = null; List<Object> uniqueAnyl = copy.getAny(); uniqueAnyl.addAll(copyAny); } return copy; }