private static FCZoneReference createFCZoneReference(ZoneInfo info,URI volumeURI,ExportGroup exportGroup){
  FCZoneReference ref=new FCZoneReference();
  ref.setPwwnKey(info.getZoneReferenceKey());
  ref.setFabricId(info.getFabricId());
  ref.setNetworkSystemUri(URI.create(info.getNetworkSystemId()));
  ref.setVolumeUri(volumeURI);
  ref.setGroupUri(exportGroup.getId());
  ref.setZoneName(info.getZoneName());
  ref.setId(URIUtil.createId(FCZoneReference.class));
  ref.setLabel(FCZoneReference.makeLabel(ref.getPwwnKey(),volumeURI.toString()));
  ref.setExistingZone(true);
  return ref;
}

private static FCZoneReference createFCZoneReference ( ZoneInfo info , URI volumeURI , ExportGroup exportGroup ) { FCZoneReference ref = new FCZoneReference ( ) ; ref . setPwwnKey ( info . getZoneReferenceKey ( ) ) ; ref . setFabricId ( info . getFabricId ( ) ) ; ref . setNetworkSystemUri ( URI . create ( info . getNetworkSystemId ( ) ) ) ; ref . setVolumeUri ( volumeURI ) ; ref . setGroupUri ( exportGroup . getId ( ) ) ; ref . setZoneName ( info . getZoneName ( ) ) ; ref . setId ( URIUtil . createId ( FCZoneReference . class ) ) ; ref . setLabel ( FCZoneReference . makeLabel ( ref . getPwwnKey ( ) , volumeURI . toString ( ) ) ) ; ref . setExistingZone ( true ) ; return ref ; }
creates an instance of fczonereference
