public class RandomConcreteFactory extends Object
Constructor and Description |
---|
RandomConcreteFactory() |
RandomConcreteFactory(long seed) |
Modifier and Type | Method and Description |
---|---|
edu.jhu.hlt.concrete.Communication |
communication() |
Set<edu.jhu.hlt.concrete.Communication> |
communicationSet(int nMembers) |
String |
communicationType() |
edu.jhu.hlt.concrete.Communication |
withSection() |
public RandomConcreteFactory()
public RandomConcreteFactory(long seed)
public final String communicationType()
public edu.jhu.hlt.concrete.Communication communication()
Communication
with all required fields set
and a random type
public Set<edu.jhu.hlt.concrete.Communication> communicationSet(int nMembers)
nMembers
- the amount of items to generateSet
of Communication
objects with all required fields setpublic edu.jhu.hlt.concrete.Communication withSection()
Communication
with a single Section
of type
passage
communication()
Copyright © 2016 Johns Hopkins University HLTCOE. All rights reserved.