예제 #1
0
  /** Adds the ExportMap's exportKey and exportData as a key,value pair to this Map */
  public void set(ExportMap map) {
    if (map == null) {
      throw new IllegalArgumentException("invalid (null) map");
    }

    exportData.set(map.getExportKey(), map.getExportData());
  }
  /**
   * @see
   *     org.kuali.rice.krad.datadictionary.validation.CharacterLevelValidationPattern#extendExportMap(org.kuali.rice.krad.datadictionary.exporter.ExportMap)
   */
  public void extendExportMap(ExportMap exportMap) {
    exportMap.set("type", "anyCharacter");

    if (allowWhitespace) {
      exportMap.set("allowWhitespace", "true");
    }
  }