nl.beesting.beangenerator.generator
Class PhoneticalNameGenerator
java.lang.Object
nl.beesting.beangenerator.generator.AbstractInstanceGenerator
nl.beesting.beangenerator.generator.PhoneticalNameGenerator
- All Implemented Interfaces:
- InstanceGenerator
public class PhoneticalNameGenerator
- extends AbstractInstanceGenerator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_NAME_DATA
public static final java.lang.String DEFAULT_NAME_DATA
- See Also:
- Constant Field Values
NAME_DATA_PARAMETER
public static final java.lang.String NAME_DATA_PARAMETER
- See Also:
- Constant Field Values
DEFAULT_NAME_TEMPLATE
public static final java.lang.String DEFAULT_NAME_TEMPLATE
- See Also:
- Constant Field Values
NAME_TEMPLATE_PARAMETER
public static final java.lang.String NAME_TEMPLATE_PARAMETER
- See Also:
- Constant Field Values
PhoneticalNameGenerator
public PhoneticalNameGenerator()
init
public void init(ParameterPair[] initParams)
- Initializes the instnce generator with the given array of objects.
generateInstance
public java.lang.Object generateInstance(java.lang.Class<?> type)
throws TypeNotSupportedException
- Description copied from interface:
InstanceGenerator
- Create an instance for the given class. The returned object is of the given class.
- Returns:
-
- Throws:
TypeNotSupportedException
generateInstance
public java.lang.Object generateInstance(java.lang.Class<?> type,
int modus)
throws TypeNotSupportedException
- Description copied from interface:
InstanceGenerator
- Create an instance for the given class with an instance generator specific modus. The returned object is of the given
class.
- Returns:
-
- Throws:
TypeNotSupportedException
getDefaultFromValue
protected java.lang.Object getDefaultFromValue()
- Specified by:
getDefaultFromValue
in class AbstractInstanceGenerator
getDefaultUntilValue
protected java.lang.Object getDefaultUntilValue()
- Specified by:
getDefaultUntilValue
in class AbstractInstanceGenerator
getFromValue
protected java.lang.Object getFromValue()
- Specified by:
getFromValue
in class AbstractInstanceGenerator
getUntilValue
protected java.lang.Object getUntilValue()
- Specified by:
getUntilValue
in class AbstractInstanceGenerator
getNameTemplate
public java.lang.String getNameTemplate()
main
public static void main(java.lang.String[] args)
throws TypeNotSupportedException
- Throws:
TypeNotSupportedException
Copyright © 2008. All Rights Reserved.