示例#1
0
  /**
   * Create the {@link ChangeParameterMetaData} "mustEqual" value. Uses the value on the
   * DatabaseChangeProperty annotation or returns null as a default.
   */
  @SuppressWarnings("UnusedParameters")
  protected String createMustEqualExistingMetaData(
      String parameterName, DatabaseChangeProperty changePropertyAnnotation) {
    if (changePropertyAnnotation == null) {
      return null;
    }

    return changePropertyAnnotation.mustEqualExisting();
  }