/**
   * get region
   *
   * @param unlockRegionData the intial lock-region-data Node
   * @return region
   */
  protected RegionInfo getUnlockRegion(UnlockRegionData unlockRegionData) {
    JavaRegion javaRegion = unlockRegionData.getJavaRegion();
    int regionBegin = javaRegion.getBeginOffset().intValue();
    int length = javaRegion.getLength().intValue();
    int regionEnd = regionBegin + length;
    RegionInfo regionInfo =
        new RegionInfo(
            javaRegion.getRegionName(),
            getName(),
            getFileGroupName(),
            RegionInfo.CHAROFFSET_RANGE,
            regionBegin,
            regionEnd,
            0);

    return regionInfo;
  }
  /**
   * set unlock-region-data with region
   *
   * @param unlockRegionData the intial lock-region-data Node
   * @throws CollabException
   */
  protected Object setUnlockRegion(UnlockRegionData unlockRegionData) {
    JavaRegion javaRegion = new JavaRegion();
    unlockRegionData.setJavaRegion(javaRegion);

    return javaRegion;
  }