public Object copyTo(Object target) { final CopyStrategy2 strategy = JAXBCopyStrategy.INSTANCE; return copyTo(null, target, strategy); }
public Object copyTo(Object target) { final CopyStrategy strategy = JAXBCopyStrategy.INSTANCE; return copyTo(null, target, strategy); }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy strategy) { if (null == target) { throw new IllegalArgumentException("Target argument must not be null for abstract copyable classes."); } super.copyTo(locator, target, strategy); return target; }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { if (null == target) { throw new IllegalArgumentException("Target argument must not be null for abstract copyable classes."); } super.copyTo(locator, target, strategy); return target; }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); super.copyTo(locator, draftCopy, strategy); return draftCopy; }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); super.copyTo(locator, draftCopy, strategy); return draftCopy; }
public Object clone() { return copyTo(createNewInstance()); }
public Object clone() { return copyTo(createNewInstance()); }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); super.copyTo(locator, draftCopy, strategy); if (draftCopy instanceof VerticalDatumType) { final VerticalDatumType copy = ((VerticalDatumType) draftCopy); if (this.isSetVerticalDatumType()) { VerticalDatumTypeType sourceVerticalDatumType; sourceVerticalDatumType = this.getVerticalDatumType(); VerticalDatumTypeType copyVerticalDatumType = ((VerticalDatumTypeType) strategy.copy(LocatorUtils.property(locator, "verticalDatumType", sourceVerticalDatumType), sourceVerticalDatumType)); copy.setVerticalDatumType(copyVerticalDatumType); } else { copy.verticalDatumType = null; } } return draftCopy; }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); super.copyTo(locator, draftCopy, strategy); if (draftCopy instanceof ImageDatumType) { final ImageDatumType copy = ((ImageDatumType) draftCopy); if (this.isSetPixelInCell()) { PixelInCellType sourcePixelInCell; sourcePixelInCell = this.getPixelInCell(); PixelInCellType copyPixelInCell = ((PixelInCellType) strategy.copy(LocatorUtils.property(locator, "pixelInCell", sourcePixelInCell), sourcePixelInCell)); copy.setPixelInCell(copyPixelInCell); } else { copy.pixelInCell = null; } } return draftCopy; }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); super.copyTo(locator, draftCopy, strategy); if (draftCopy instanceof VerticalDatumType) { final VerticalDatumType copy = ((VerticalDatumType) draftCopy); { Boolean verticalDatumTypeShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetVerticalDatumType()); if (verticalDatumTypeShouldBeCopiedAndSet == Boolean.TRUE) { VerticalDatumTypeType sourceVerticalDatumType; sourceVerticalDatumType = this.getVerticalDatumType(); VerticalDatumTypeType copyVerticalDatumType = ((VerticalDatumTypeType) strategy.copy(LocatorUtils.property(locator, "verticalDatumType", sourceVerticalDatumType), sourceVerticalDatumType, this.isSetVerticalDatumType())); copy.setVerticalDatumType(copyVerticalDatumType); } else { if (verticalDatumTypeShouldBeCopiedAndSet == Boolean.FALSE) { copy.verticalDatumType = null; } } } } return draftCopy; }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); super.copyTo(locator, draftCopy, strategy); if (draftCopy instanceof ImageDatumType) { final ImageDatumType copy = ((ImageDatumType) draftCopy); { Boolean pixelInCellShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetPixelInCell()); if (pixelInCellShouldBeCopiedAndSet == Boolean.TRUE) { PixelInCellType sourcePixelInCell; sourcePixelInCell = this.getPixelInCell(); PixelInCellType copyPixelInCell = ((PixelInCellType) strategy.copy(LocatorUtils.property(locator, "pixelInCell", sourcePixelInCell), sourcePixelInCell, this.isSetPixelInCell())); copy.setPixelInCell(copyPixelInCell); } else { if (pixelInCellShouldBeCopiedAndSet == Boolean.FALSE) { copy.pixelInCell = null; } } } } return draftCopy; }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); super.copyTo(locator, draftCopy, strategy); if (draftCopy instanceof GeodeticDatumType) { final GeodeticDatumType copy = ((GeodeticDatumType) draftCopy); if (this.isSetUsesPrimeMeridian()) { PrimeMeridianRefType sourceUsesPrimeMeridian; sourceUsesPrimeMeridian = this.getUsesPrimeMeridian(); PrimeMeridianRefType copyUsesPrimeMeridian = ((PrimeMeridianRefType) strategy.copy(LocatorUtils.property(locator, "usesPrimeMeridian", sourceUsesPrimeMeridian), sourceUsesPrimeMeridian)); copy.setUsesPrimeMeridian(copyUsesPrimeMeridian); } else { copy.usesPrimeMeridian = null; } if (this.isSetUsesEllipsoid()) { EllipsoidRefType sourceUsesEllipsoid; sourceUsesEllipsoid = this.getUsesEllipsoid(); EllipsoidRefType copyUsesEllipsoid = ((EllipsoidRefType) strategy.copy(LocatorUtils.property(locator, "usesEllipsoid", sourceUsesEllipsoid), sourceUsesEllipsoid)); copy.setUsesEllipsoid(copyUsesEllipsoid); } else { copy.usesEllipsoid = null; } } return draftCopy; }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); super.copyTo(locator, draftCopy, strategy); if (draftCopy instanceof GeodeticDatumType) { final GeodeticDatumType copy = ((GeodeticDatumType) draftCopy);