/** * Create an instance of {@link UnacceptableTerminationTimeFaultType } * */ public UnacceptableTerminationTimeFaultType createUnacceptableTerminationTimeFaultType() { return new UnacceptableTerminationTimeFaultType(); }
/** * Create an instance of {@link UnacceptableTerminationTimeFaultType } * */ public UnacceptableTerminationTimeFaultType createUnacceptableTerminationTimeFaultType() { return new UnacceptableTerminationTimeFaultType(); }
/** * Default constructor * * Note : According to the xml schema the "timestamp" field is mandatory * * @param timestamp the timestamp of the {@link UnacceptableTerminationTimeFaultType) object that must * be {@link Date} representation of an Date xml type. * @param minTerminationTime TODO */ protected UnacceptableTerminationTimeFaultTypeImpl(Date timestamp, Date minTerminationTime){ super(Logger.getLogger(UnacceptableTerminationTimeFaultTypeImpl.class.getSimpleName())); com.ebmwebsourcing.wsstar.jaxb.notification.base.UnacceptableTerminationTimeFaultType jaxbTypeObj = new com.ebmwebsourcing.wsstar.jaxb.notification.base.UnacceptableTerminationTimeFaultType(); jaxbTypeObj.setTimestamp(WsrfbfUtils.toXMLGregorianCalendar(timestamp, this.getLogger())); jaxbTypeObj.setMinimumTime(WsrfbfUtils.toXMLGregorianCalendar(minTerminationTime, this.getLogger())); this.setJaxbTypeObj(jaxbTypeObj); }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final UnacceptableTerminationTimeFaultType copy = ((target == null)?new UnacceptableTerminationTimeFaultType():((UnacceptableTerminationTimeFaultType) 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; }