class: ModelHelper

public class: ModelHelper
Author: franke (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 2050 $ $LastChangedDate: 2009-06-03 12:; Complexity: 1
Dates: Created: 16.07.2009 15:15:49; Modified: 16.07.2009 15:15:49;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {A1DFDAB2-507E-4b2c-88DB-C41CCCC8FB98}
Helper class for result pattern.
 

Goto: Custom Properties, Fields, Methods

Appears in: util

Custom Properties
 
ModelHelper Attributes
Attribute Details
private static const Logger
  logger
Initial: Logger.getLogger(ModelHelper.class)
private static const String
  REGEX_BRACKETS
Initial: "<[^>]+>"
 
ModelHelper Methods
Operation Details
public static
buildMatchStringFromModel(
   String modelName,
   String id,
   TreeFragment values):List
Sequential
Tags: throws=Exception
public static
buildObjectFromPattern(
   String modelName,
   String currentSubject,
   TreeFragment poMap):List
Sequential
Tags: throws=Exception
Notes: Reads the result pattern from the {@link Model} and builds up results.
@return A list of {@link Pair} containing the results in different languages.
public static
escapeForItqlObject(
   String result):String
Sequential
public static
escapeForSqlObject(
   String result):String
Sequential
public static
getMatchString(
   List predicates,
   TreeFragment values,
   String lang):String
Sequential
Tags: throws=Exception
private
ModelHelper():
Sequential
Notes: Hide constructor.
private static
replacePattern(
   TreeFragment poMap,
   String line,
   Predicate predicate,
   String lang):List
Sequential
Notes: @param strings
@return
private static
replaceTokens(
   String string):String
Sequential
Notes: @return