@Override public final void setMinimumTime(Date value) { ((com.ebmwebsourcing.wsstar.jaxb.notification.base.UnacceptableInitialTerminationTimeFaultType) this.getJaxbTypeObj()).setMinimumTime(WsrfbfUtils.toXMLGregorianCalendar(value, this.getLogger())); };
/** * Default constructor * * Note : According to the xml schema the "timestamp" field is mandatory * * @param timestamp the timestamp of the {@link UnacceptableInitialTerminationTimeFaultType) object that must * be {@link Date} representation of an Date xml type. * @param minTerminationTime TODO */ protected UnacceptableInitialTerminationTimeFaultTypeImpl(Date timestamp, Date minTermTime){ super(Logger.getLogger(UnacceptableInitialTerminationTimeFaultTypeImpl.class.getSimpleName())); com.ebmwebsourcing.wsstar.jaxb.notification.base.UnacceptableInitialTerminationTimeFaultType jaxbTypeObj = new com.ebmwebsourcing.wsstar.jaxb.notification.base.UnacceptableInitialTerminationTimeFaultType(); jaxbTypeObj.setTimestamp(WsrfbfUtils.toXMLGregorianCalendar(timestamp, this.getLogger())); jaxbTypeObj.setMinimumTime(WsrfbfUtils.toXMLGregorianCalendar(minTermTime, this.getLogger())); this.setJaxbTypeObj(jaxbTypeObj); }
jaxbTypeObj.setMinimumTime(WsrfbfUtils.toXMLGregorianCalendar(minTime, Logger.getLogger(UnacceptableInitialTerminationTimeFaultTypeImpl.class.getSimpleName())));
public Object copyTo(Object target, CopyBuilder copyBuilder) { final UnacceptableInitialTerminationTimeFaultType copy = ((target == null)?new UnacceptableInitialTerminationTimeFaultType():((UnacceptableInitialTerminationTimeFaultType) target)); super.copyTo(copy, copyBuilder); { XMLGregorianCalendar sourceMinimumTime; sourceMinimumTime = this.getMinimumTime(); XMLGregorianCalendar copyMinimumTime = ((XMLGregorianCalendar) copyBuilder.copy(sourceMinimumTime)); copy.setMinimumTime(copyMinimumTime); } { XMLGregorianCalendar sourceMaximumTime; sourceMaximumTime = this.getMaximumTime(); XMLGregorianCalendar copyMaximumTime = ((XMLGregorianCalendar) copyBuilder.copy(sourceMaximumTime)); copy.setMaximumTime(copyMaximumTime); } return copy; }