public org.geomajas.layer.feature.FeatureTransaction toDto() {
		org.geomajas.layer.feature.FeatureTransaction dto = new org.geomajas.layer.feature.FeatureTransaction();
		dto.setLayerId(layer.getServerLayerId());
		if (oldFeatures != null) {
			org.geomajas.layer.feature.Feature[] oldDto = new org.geomajas.layer.feature.Feature[oldFeatures.length];
			for (int i = 0; i < oldFeatures.length; i++) {
				oldDto[i] = oldFeatures[i].toDto();
			}
			dto.setOldFeatures(oldDto);
		}
		if (newFeatures != null) {
			org.geomajas.layer.feature.Feature[] newDto = new org.geomajas.layer.feature.Feature[newFeatures.length];
			for (int i = 0; i < newFeatures.length; i++) {
				newDto[i] = newFeatures[i].toDto();
			}
			dto.setNewFeatures(newDto);
		}
		return dto;
	}
public org . geomajas . layer . feature . FeatureTransaction toDto ( ) { org . geomajas . layer . feature . FeatureTransaction dto = new org . geomajas . layer . feature . FeatureTransaction ( ) ; dto . setLayerId ( layer . getServerLayerId ( ) ) ; if ( oldFeatures != null ) { org . geomajas . layer . feature . Feature [ ] oldDto = new org . geomajas . layer . feature . Feature [ oldFeatures . length ] ; for ( int i = 0 ; i < oldFeatures . length ; i ++ ) { oldDto [ i ] = oldFeatures [ i ] . toDto ( ) ; } dto . setOldFeatures ( oldDto ) ; } if ( newFeatures != null ) { org . geomajas . layer . feature . Feature [ ] newDto = new org . geomajas . layer . feature . Feature [ newFeatures . length ] ; for ( int i = 0 ; i < newFeatures . length ; i ++ ) { newDto [ i ] = newFeatures [ i ] . toDto ( ) ; } dto . setNewFeatures ( newDto ) ; } return dto ; }
Transform this object into a DTO feature transaction.

@return feature transaction DTO