/** * Create an instance of {@link DCP } * */ public DCP createDCP() { return new DCP(); }
public Object clone() { return copyTo(createNewInstance()); }
public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); if (draftCopy instanceof DCP) { final DCP copy = ((DCP) draftCopy); { Boolean httpShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetHTTP()); if (httpShouldBeCopiedAndSet == Boolean.TRUE) { HTTP sourceHTTP; sourceHTTP = this.getHTTP(); HTTP copyHTTP = ((HTTP) strategy.copy(LocatorUtils.property(locator, "http", sourceHTTP), sourceHTTP, this.isSetHTTP())); copy.setHTTP(copyHTTP); } else { if (httpShouldBeCopiedAndSet == Boolean.FALSE) { copy.http = null; } } } } return draftCopy; }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); if (draftCopy instanceof DCP) { final DCP copy = ((DCP) draftCopy); if (this.http!= null) { HTTP sourceHTTP; sourceHTTP = this.getHTTP(); HTTP copyHTTP = ((HTTP) strategy.copy(LocatorUtils.property(locator, "http", sourceHTTP), sourceHTTP)); copy.setHTTP(copyHTTP); } else { copy.http = null; } } return draftCopy; }
public void mergeFrom(ObjectLocator leftLocator, ObjectLocator rightLocator, Object left, Object right, MergeStrategy2 strategy) { if (right instanceof DCP) { final DCP target = this; final DCP leftObject = ((DCP) left); final DCP rightObject = ((DCP) right); { Boolean httpShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetHTTP(), rightObject.isSetHTTP()); if (httpShouldBeMergedAndSet == Boolean.TRUE) { HTTP lhsHTTP; lhsHTTP = leftObject.getHTTP(); HTTP rhsHTTP; rhsHTTP = rightObject.getHTTP(); HTTP mergedHTTP = ((HTTP) strategy.merge(LocatorUtils.property(leftLocator, "http", lhsHTTP), LocatorUtils.property(rightLocator, "http", rhsHTTP), lhsHTTP, rhsHTTP, leftObject.isSetHTTP(), rightObject.isSetHTTP())); target.setHTTP(mergedHTTP); } else { if (httpShouldBeMergedAndSet == Boolean.FALSE) { target.http = null; } } } } }
public void mergeFrom(ObjectLocator leftLocator, ObjectLocator rightLocator, Object left, Object right, MergeStrategy strategy) { if (right instanceof DCP) { final DCP target = this; final DCP leftObject = ((DCP) left); final DCP rightObject = ((DCP) right); { HTTP lhsHTTP; lhsHTTP = leftObject.getHTTP(); HTTP rhsHTTP; rhsHTTP = rightObject.getHTTP(); target.setHTTP(((HTTP) strategy.merge(LocatorUtils.property(leftLocator, "http", lhsHTTP), LocatorUtils.property(rightLocator, "http", rhsHTTP), lhsHTTP, rhsHTTP))); } } }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { { HTTP theHTTP; theHTTP = this.getHTTP(); strategy.appendField(locator, this, "http", buffer, theHTTP); } return buffer; }
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 Object copyTo(Object target) { final CopyStrategy2 strategy = JAXBCopyStrategy.INSTANCE; return copyTo(null, target, strategy); }
public void mergeFrom(Object left, Object right) { final MergeStrategy2 strategy = JAXBMergeStrategy.INSTANCE; mergeFrom(null, null, left, right, strategy); }
public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); }
public String toString() { final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); }
public DCP withHTTP(HTTP value) { setHTTP(value); return this; }
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof DCP)) { return false; } if (this == object) { return true; } final DCP that = ((DCP) object); { HTTP lhsHTTP; lhsHTTP = this.getHTTP(); HTTP rhsHTTP; rhsHTTP = that.getHTTP(); if (!strategy.equals(LocatorUtils.property(thisLocator, "http", lhsHTTP), LocatorUtils.property(thatLocator, "http", rhsHTTP), lhsHTTP, rhsHTTP)) { return false; } } return true; }
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; }
public Object copyTo(Object target) { final CopyStrategy strategy = JAXBCopyStrategy.INSTANCE; return copyTo(null, target, strategy); }
public void mergeFrom(Object left, Object right) { final MergeStrategy strategy = JAXBMergeStrategy.INSTANCE; mergeFrom(null, null, left, right, strategy); }