/** * Create an instance of {@link SubscribeResponse } * */ public SubscribeResponse createSubscribeResponse() { return new SubscribeResponse(); }
/** * Create an instance of {@link SubscribeResponse } * */ public SubscribeResponse createSubscribeResponse() { return new SubscribeResponse(); }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final SubscribeResponse copy = ((target == null)?new SubscribeResponse():((SubscribeResponse) target)); { EndpointReferenceType sourceSubscriptionReference; sourceSubscriptionReference = this.getSubscriptionReference(); EndpointReferenceType copySubscriptionReference = ((EndpointReferenceType) copyBuilder.copy(sourceSubscriptionReference)); copy.setSubscriptionReference(copySubscriptionReference); } { XMLGregorianCalendar sourceCurrentTime; sourceCurrentTime = this.getCurrentTime(); XMLGregorianCalendar copyCurrentTime = ((XMLGregorianCalendar) copyBuilder.copy(sourceCurrentTime)); copy.setCurrentTime(copyCurrentTime); } { XMLGregorianCalendar sourceTerminationTime; sourceTerminationTime = this.getTerminationTime(); XMLGregorianCalendar copyTerminationTime = ((XMLGregorianCalendar) copyBuilder.copy(sourceTerminationTime)); copy.setTerminationTime(copyTerminationTime); } { 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; }