Class TestGenValueFact
- java.lang.Object
-
- org.optaplanner.constraint.drl.testgen.fact.TestGenValueFact
-
- All Implemented Interfaces:
TestGenFact
public class TestGenValueFact extends Object implements TestGenFact
-
-
Constructor Summary
Constructors Constructor Description TestGenValueFact(int id, Object instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TestGenFact>
getDependencies()
List<TestGenFactField>
getFields()
List<Class<?>>
getImports()
Object
getInstance()
String
getVariableName()
void
printInitialization(StringBuilder sb)
void
printSetup(StringBuilder sb)
void
reset()
void
setUp(Map<Object,TestGenFact> existingInstances)
String
toString()
-
-
-
Constructor Detail
-
TestGenValueFact
public TestGenValueFact(int id, Object instance)
-
-
Method Detail
-
setUp
public void setUp(Map<Object,TestGenFact> existingInstances)
- Specified by:
setUp
in interfaceTestGenFact
-
getInstance
public Object getInstance()
- Specified by:
getInstance
in interfaceTestGenFact
-
getVariableName
public String getVariableName()
-
getFields
public List<TestGenFactField> getFields()
- Specified by:
getFields
in interfaceTestGenFact
-
getDependencies
public List<TestGenFact> getDependencies()
- Specified by:
getDependencies
in interfaceTestGenFact
-
getImports
public List<Class<?>> getImports()
- Specified by:
getImports
in interfaceTestGenFact
-
reset
public void reset()
- Specified by:
reset
in interfaceTestGenFact
-
printInitialization
public void printInitialization(StringBuilder sb)
- Specified by:
printInitialization
in interfaceTestGenFact
-
printSetup
public void printSetup(StringBuilder sb)
- Specified by:
printSetup
in interfaceTestGenFact
-
-