org.rimudb.editor.util
Class ConversionUtil

java.lang.Object
  extended by org.rimudb.editor.util.ConversionUtil

public class ConversionUtil
extends java.lang.Object

This method contains all the handling methods for SQL Types.


Field Summary
static java.lang.String DEFAULT_WORD_DELIM
           
 
Constructor Summary
ConversionUtil()
           
 
Method Summary
static java.lang.String createPropertyName(java.lang.String text)
          Create a property name from a text string.
static java.lang.String createPropertyName(java.lang.String text, java.lang.String wordDelimiters)
          Create a property name from a text string.
static java.lang.String getStaticPropertyName(java.lang.String propertyName)
          Return the static property name for the property
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_WORD_DELIM

public static final java.lang.String DEFAULT_WORD_DELIM
See Also:
Constant Field Values
Constructor Detail

ConversionUtil

public ConversionUtil()
Method Detail

getStaticPropertyName

public static java.lang.String getStaticPropertyName(java.lang.String propertyName)
Return the static property name for the property


createPropertyName

public static java.lang.String createPropertyName(java.lang.String text)
Create a property name from a text string. This method is designed to handle converting a Column Heading or Column Text to a property name.

Parameters:
text - The text to be parsed
Returns:
String The property name

createPropertyName

public static java.lang.String createPropertyName(java.lang.String text,
                                                  java.lang.String wordDelimiters)
Create a property name from a text string. This method is designed to handle converting a Column Heading or Column Text to a property name.

Parameters:
text - The text to be parsed
wordDelimiters - The characters used to delimit words
Returns:
String The property name


Copyright © 2008-2011 Simon Ritchie. All Rights Reserved.