org.databene.domain.person
Class NobilityTitleGenerator
java.lang.Object
org.databene.benerator.util.AbstractGenerator<P>
org.databene.benerator.wrapper.GeneratorWrapper<E,E>
org.databene.benerator.wrapper.GeneratorProxy<java.lang.String>
org.databene.domain.person.NobilityTitleGenerator
- All Implemented Interfaces:
- java.io.Closeable, Generator<java.lang.String>, Resettable, ThreadAware
public class NobilityTitleGenerator
- extends GeneratorProxy<java.lang.String>
Creates nobility titles at a defined quota.
Titles are defined in the files 'org/databene/domain/person/nobTitle_*_*.csv'.
See the Wikipedia articles on Royal
and noble ranks and Nobility for further
information on the domain.
Created: 11.02.2010 12:04:01
- Since:
- 0.6.0
- Author:
- Volker Bergmann
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
NobilityTitleGenerator
public NobilityTitleGenerator()
NobilityTitleGenerator
public NobilityTitleGenerator(Gender gender,
java.util.Locale locale)
getNobleQuota
public double getNobleQuota()
setNobleQuota
public void setNobleQuota(double nobleQuota)
generate
public java.lang.String generate()
- Description copied from interface:
Generator
- Returns an instance of the generic type E.
- Specified by:
generate in interface Generator<java.lang.String>- Overrides:
generate in class GeneratorProxy<java.lang.String>
Copyright © 2010. All Rights Reserved.