private void copyVdcObject(VirtualDataCenter src,VirtualDataCenter dest){
  log.info("Copy object {}",dest.getId());
  dest.setShortId(src.getShortId());
  dest.setVersion(src.getVersion());
  dest.setApiEndpoint(src.getApiEndpoint());
  dest.setConnectionStatus(src.getConnectionStatus());
  dest.setLocal(src.getLocal());
  dest.setHostCount(src.getHostCount());
  dest.setHostIPv4AddressesMap(src.getHostIPv4AddressesMap());
  dest.setHostIPv6AddressesMap(src.getHostIPv6AddressesMap());
  Assert.assertNotNull(src.getHostIPv4AddressesMap());
}

private void copyVdcObject ( VirtualDataCenter src , VirtualDataCenter dest ) { log . info ( "Copy object {}" , dest . getId ( ) ) ; dest . setShortId ( src . getShortId ( ) ) ; dest . setVersion ( src . getVersion ( ) ) ; dest . setApiEndpoint ( src . getApiEndpoint ( ) ) ; dest . setConnectionStatus ( src . getConnectionStatus ( ) ) ; dest . setLocal ( src . getLocal ( ) ) ; dest . setHostCount ( src . getHostCount ( ) ) ; dest . setHostIPv4AddressesMap ( src . getHostIPv4AddressesMap ( ) ) ; dest . setHostIPv6AddressesMap ( src . getHostIPv6AddressesMap ( ) ) ; Assert . assertNotNull ( src . getHostIPv4AddressesMap ( ) ) ; }
copy vdc attributes from one object to another
