@NotNull
  public LogicalLock toLogicalLock(boolean isLocal) {
    return new LogicalLock(isLocal, myOwner, myComment, myCreationDate, myExpirationDate);
  }
@NotNull
  public LogicalLock toLogicalLock(boolean isLocal)