public Object copyTo(Object target) { final CopyStrategy2 strategy = JAXBCopyStrategy.INSTANCE; return copyTo(null, target, strategy); }
/** * Copies all state of this object to a builder. This method is used by the {@link #copyOf} method and should not be called directly by client code. * * @param _other * A builder instance to which the state of this object will be copied. */ public<_B >void copyTo(final BusinessObjectDataSearchResultPagingInfoDto.Builder<_B> _other) { super.copyTo(_other); _other.businessObjectDataSearchResult = this.businessObjectDataSearchResult; }
public static<_B >PagingInfoDto.Builder<_B> copyOf(final PagingInfoDto _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final PagingInfoDto.Builder<_B> _newBuilder = new PagingInfoDto.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; }
public static<_B >BusinessObjectDataSearchResultPagingInfoDto.Builder<_B> copyOf(final PagingInfoDto _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final BusinessObjectDataSearchResultPagingInfoDto.Builder<_B> _newBuilder = new BusinessObjectDataSearchResultPagingInfoDto.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; }
public static<_B >BusinessObjectDataSearchResultPagingInfoDto.Builder<_B> copyOf(final PagingInfoDto _other) { final BusinessObjectDataSearchResultPagingInfoDto.Builder<_B> _newBuilder = new BusinessObjectDataSearchResultPagingInfoDto.Builder<_B>(null, null, false); _other.copyTo(_newBuilder); return _newBuilder; }
public static<_B >PagingInfoDto.Builder<_B> copyOf(final PagingInfoDto _other) { final PagingInfoDto.Builder<_B> _newBuilder = new PagingInfoDto.Builder<_B>(null, null, false); _other.copyTo(_newBuilder); return _newBuilder; }
public Object clone() { return copyTo(createNewInstance()); }
/** * Copies all state of this object to a builder. This method is used by the {@link #copyOf} method and should not be called directly by client code. * * @param _other * A builder instance to which the state of this object will be copied. */ public<_B >void copyTo(final BusinessObjectDataSearchResultPagingInfoDto.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super.copyTo(_other, _propertyTree, _propertyTreeUse); final PropertyTree businessObjectDataSearchResultPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("businessObjectDataSearchResult")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(businessObjectDataSearchResultPropertyTree!= null):((businessObjectDataSearchResultPropertyTree == null)||(!businessObjectDataSearchResultPropertyTree.isLeaf())))) { _other.businessObjectDataSearchResult = this.businessObjectDataSearchResult; } }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); super.copyTo(locator, draftCopy, strategy); if (draftCopy instanceof BusinessObjectDataSearchResultPagingInfoDto) { final BusinessObjectDataSearchResultPagingInfoDto copy = ((BusinessObjectDataSearchResultPagingInfoDto) draftCopy); { Boolean businessObjectDataSearchResultShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.businessObjectDataSearchResult!= null)); if (businessObjectDataSearchResultShouldBeCopiedAndSet == Boolean.TRUE) { BusinessObjectDataSearchResult sourceBusinessObjectDataSearchResult; sourceBusinessObjectDataSearchResult = this.getBusinessObjectDataSearchResult(); BusinessObjectDataSearchResult copyBusinessObjectDataSearchResult = ((BusinessObjectDataSearchResult) strategy.copy(LocatorUtils.property(locator, "businessObjectDataSearchResult", sourceBusinessObjectDataSearchResult), sourceBusinessObjectDataSearchResult, (this.businessObjectDataSearchResult!= null))); copy.setBusinessObjectDataSearchResult(copyBusinessObjectDataSearchResult); } else { if (businessObjectDataSearchResultShouldBeCopiedAndSet == Boolean.FALSE) { copy.businessObjectDataSearchResult = null; } } } } return draftCopy; }