/** * Create an instance of {@link StatusTimeline } * */ public StatusTimeline createStatusTimeline() { return new StatusTimeline(); }
public String toString() { final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); }
public Object clone() { return copyTo(createNewInstance()); }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { XMLGregorianCalendar theCreationTime; theCreationTime = this.getCreationTime(); strategy.appendField(locator, this, "creationTime", buffer, theCreationTime, (this.creationTime!= null)); } { XMLGregorianCalendar theReadyTime; theReadyTime = this.getReadyTime(); strategy.appendField(locator, this, "readyTime", buffer, theReadyTime, (this.readyTime!= null)); } { XMLGregorianCalendar theEndTime; theEndTime = this.getEndTime(); strategy.appendField(locator, this, "endTime", buffer, theEndTime, (this.endTime!= null)); } return buffer; }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); if (draftCopy instanceof StatusTimeline) { final StatusTimeline copy = ((StatusTimeline) draftCopy); if (creationTimeShouldBeCopiedAndSet == Boolean.TRUE) { XMLGregorianCalendar sourceCreationTime; sourceCreationTime = this.getCreationTime(); XMLGregorianCalendar copyCreationTime = ((XMLGregorianCalendar) strategy.copy(LocatorUtils.property(locator, "creationTime", sourceCreationTime), sourceCreationTime, (this.creationTime!= null))); copy.setCreationTime(copyCreationTime); } else { if (creationTimeShouldBeCopiedAndSet == Boolean.FALSE) { if (readyTimeShouldBeCopiedAndSet == Boolean.TRUE) { XMLGregorianCalendar sourceReadyTime; sourceReadyTime = this.getReadyTime(); XMLGregorianCalendar copyReadyTime = ((XMLGregorianCalendar) strategy.copy(LocatorUtils.property(locator, "readyTime", sourceReadyTime), sourceReadyTime, (this.readyTime!= null))); copy.setReadyTime(copyReadyTime); } else { if (readyTimeShouldBeCopiedAndSet == Boolean.FALSE) { if (endTimeShouldBeCopiedAndSet == Boolean.TRUE) { XMLGregorianCalendar sourceEndTime; sourceEndTime = this.getEndTime(); XMLGregorianCalendar copyEndTime = ((XMLGregorianCalendar) strategy.copy(LocatorUtils.property(locator, "endTime", sourceEndTime), sourceEndTime, (this.endTime!= null))); copy.setEndTime(copyEndTime); } else { if (endTimeShouldBeCopiedAndSet == Boolean.FALSE) {
StatusTimeline timeline = new StatusTimeline(); timeline.setCreationTime(HerdDateUtils.getXMLGregorianCalendarValue(new Date()));
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; }
public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); }
public Object copyTo(Object target) { final CopyStrategy2 strategy = JAXBCopyStrategy.INSTANCE; return copyTo(null, target, strategy); }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { XMLGregorianCalendar theCreationTime; theCreationTime = this.getCreationTime(); strategy.appendField(locator, this, "creationTime", buffer, theCreationTime, (this.creationTime!= null)); } { XMLGregorianCalendar theReadyTime; theReadyTime = this.getReadyTime(); strategy.appendField(locator, this, "readyTime", buffer, theReadyTime, (this.readyTime!= null)); } { XMLGregorianCalendar theEndTime; theEndTime = this.getEndTime(); strategy.appendField(locator, this, "endTime", buffer, theEndTime, (this.endTime!= null)); } return buffer; }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); if (draftCopy instanceof StatusTimeline) { final StatusTimeline copy = ((StatusTimeline) draftCopy); if (creationTimeShouldBeCopiedAndSet == Boolean.TRUE) { XMLGregorianCalendar sourceCreationTime; sourceCreationTime = this.getCreationTime(); XMLGregorianCalendar copyCreationTime = ((XMLGregorianCalendar) strategy.copy(LocatorUtils.property(locator, "creationTime", sourceCreationTime), sourceCreationTime, (this.creationTime!= null))); copy.setCreationTime(copyCreationTime); } else { if (creationTimeShouldBeCopiedAndSet == Boolean.FALSE) { if (readyTimeShouldBeCopiedAndSet == Boolean.TRUE) { XMLGregorianCalendar sourceReadyTime; sourceReadyTime = this.getReadyTime(); XMLGregorianCalendar copyReadyTime = ((XMLGregorianCalendar) strategy.copy(LocatorUtils.property(locator, "readyTime", sourceReadyTime), sourceReadyTime, (this.readyTime!= null))); copy.setReadyTime(copyReadyTime); } else { if (readyTimeShouldBeCopiedAndSet == Boolean.FALSE) { if (endTimeShouldBeCopiedAndSet == Boolean.TRUE) { XMLGregorianCalendar sourceEndTime; sourceEndTime = this.getEndTime(); XMLGregorianCalendar copyEndTime = ((XMLGregorianCalendar) strategy.copy(LocatorUtils.property(locator, "endTime", sourceEndTime), sourceEndTime, (this.endTime!= null))); copy.setEndTime(copyEndTime); } else { if (endTimeShouldBeCopiedAndSet == Boolean.FALSE) {
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; }
public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); }
public Object copyTo(Object target) { final CopyStrategy2 strategy = JAXBCopyStrategy.INSTANCE; return copyTo(null, target, strategy); }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { XMLGregorianCalendar theCreationTime; theCreationTime = this.getCreationTime(); strategy.appendField(locator, this, "creationTime", buffer, theCreationTime, (this.creationTime!= null)); } { XMLGregorianCalendar theReadyTime; theReadyTime = this.getReadyTime(); strategy.appendField(locator, this, "readyTime", buffer, theReadyTime, (this.readyTime!= null)); } { XMLGregorianCalendar theEndTime; theEndTime = this.getEndTime(); strategy.appendField(locator, this, "endTime", buffer, theEndTime, (this.endTime!= null)); } return buffer; }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); if (draftCopy instanceof StatusTimeline) { final StatusTimeline copy = ((StatusTimeline) draftCopy); if (creationTimeShouldBeCopiedAndSet == Boolean.TRUE) { XMLGregorianCalendar sourceCreationTime; sourceCreationTime = this.getCreationTime(); XMLGregorianCalendar copyCreationTime = ((XMLGregorianCalendar) strategy.copy(LocatorUtils.property(locator, "creationTime", sourceCreationTime), sourceCreationTime, (this.creationTime!= null))); copy.setCreationTime(copyCreationTime); } else { if (creationTimeShouldBeCopiedAndSet == Boolean.FALSE) { if (readyTimeShouldBeCopiedAndSet == Boolean.TRUE) { XMLGregorianCalendar sourceReadyTime; sourceReadyTime = this.getReadyTime(); XMLGregorianCalendar copyReadyTime = ((XMLGregorianCalendar) strategy.copy(LocatorUtils.property(locator, "readyTime", sourceReadyTime), sourceReadyTime, (this.readyTime!= null))); copy.setReadyTime(copyReadyTime); } else { if (readyTimeShouldBeCopiedAndSet == Boolean.FALSE) { if (endTimeShouldBeCopiedAndSet == Boolean.TRUE) { XMLGregorianCalendar sourceEndTime; sourceEndTime = this.getEndTime(); XMLGregorianCalendar copyEndTime = ((XMLGregorianCalendar) strategy.copy(LocatorUtils.property(locator, "endTime", sourceEndTime), sourceEndTime, (this.endTime!= null))); copy.setEndTime(copyEndTime); } else { if (endTimeShouldBeCopiedAndSet == Boolean.FALSE) {
/** * Create an instance of {@link StatusTimeline } * */ public StatusTimeline createStatusTimeline() { return new StatusTimeline(); }
public Object clone() { return copyTo(createNewInstance()); }
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; }
public String toString() { final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); }