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; }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof UnacceptableInitialTerminationTimeFaultType)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } super.equals(object, equalsBuilder); final UnacceptableInitialTerminationTimeFaultType that = ((UnacceptableInitialTerminationTimeFaultType) object); equalsBuilder.append(this.getMinimumTime(), that.getMinimumTime()); equalsBuilder.append(this.getMaximumTime(), that.getMaximumTime()); }
/** * 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()))); jaxbTypeObj.setMaximumTime(WsrfbfUtils.toXMLGregorianCalendar(maxTime, Logger.getLogger(UnacceptableInitialTerminationTimeFaultTypeImpl.class.getSimpleName())));
/** * Create an instance of {@link UnacceptableInitialTerminationTimeFaultType } * */ public UnacceptableInitialTerminationTimeFaultType createUnacceptableInitialTerminationTimeFaultType() { return new UnacceptableInitialTerminationTimeFaultType(); }
@Override public final Date getMaximumTime() { com.ebmwebsourcing.wsstar.jaxb.notification.base.UnacceptableInitialTerminationTimeFaultType refinedTypeFault = ((com.ebmwebsourcing.wsstar.jaxb.notification.base.UnacceptableInitialTerminationTimeFaultType) this.getJaxbTypeObj()); return (refinedTypeFault.getMaximumTime() != null)?refinedTypeFault.getMaximumTime().toGregorianCalendar().getTime(): null; }
@Override public final Date getMinimumTime() { com.ebmwebsourcing.wsstar.jaxb.notification.base.UnacceptableInitialTerminationTimeFaultType refinedTypeFault = ((com.ebmwebsourcing.wsstar.jaxb.notification.base.UnacceptableInitialTerminationTimeFaultType) this.getJaxbTypeObj()); return (refinedTypeFault.getMinimumTime() != null)?refinedTypeFault.getMinimumTime().toGregorianCalendar().getTime(): null; }
@Override public final void setMinimumTime(Date value) { ((com.ebmwebsourcing.wsstar.jaxb.notification.base.UnacceptableInitialTerminationTimeFaultType) this.getJaxbTypeObj()).setMinimumTime(WsrfbfUtils.toXMLGregorianCalendar(value, this.getLogger())); };
@Override public final void setMaximumTime(Date value) { ((com.ebmwebsourcing.wsstar.jaxb.notification.base.UnacceptableInitialTerminationTimeFaultType) this.getJaxbTypeObj()).setMaximumTime(WsrfbfUtils.toXMLGregorianCalendar(value, this.getLogger())); }
public boolean equals(Object object) { if (!(object instanceof UnacceptableInitialTerminationTimeFaultType)) { return false; } if (this == object) { return true; } final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder(); equals(object, equalsBuilder); return equalsBuilder.isEquals(); }
public String toString() { final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this); toString(toStringBuilder); return toStringBuilder.toString(); }
public int hashCode() { final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder(); hashCode(hashCodeBuilder); return hashCodeBuilder.toHashCode(); }
public Object copyTo(Object target) { final CopyBuilder copyBuilder = new JAXBCopyBuilder(); return copyTo(target, copyBuilder); }
public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getMinimumTime()); hashCodeBuilder.append(this.getMaximumTime()); }
/** * Create an instance of {@link UnacceptableInitialTerminationTimeFaultType } * */ public UnacceptableInitialTerminationTimeFaultType createUnacceptableInitialTerminationTimeFaultType() { return new UnacceptableInitialTerminationTimeFaultType(); }
public void toString(ToStringBuilder toStringBuilder) { super.toString(toStringBuilder); { XMLGregorianCalendar theMinimumTime; theMinimumTime = this.getMinimumTime(); toStringBuilder.append("minimumTime", theMinimumTime); } { XMLGregorianCalendar theMaximumTime; theMaximumTime = this.getMaximumTime(); toStringBuilder.append("maximumTime", theMaximumTime); } }