|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.student.core.statement.naturallanguage.NaturalLanguageUtil
public class NaturalLanguageUtil
Utility class to support testing.
| Field Summary | |
|---|---|
private static List<MockCluInfo> |
cluList
|
private static List<MockCluSetInfo> |
cluSetList
|
| Constructor Summary | |
|---|---|
NaturalLanguageUtil()
|
|
| Method Summary | |
|---|---|
static void |
createData()
|
static ReqComponentType |
createDefaultReqComponentType(String nlUsageTypeKey,
String reqComponentType)
|
static Statement |
createLuStatementInfo(String id,
StatementOperatorTypeKey operator)
|
static StatementType |
createLuStatementTypeInfo(String id)
|
static ReqComponent |
createReqComponent(String reqComponentType,
List<ReqComponentField> fieldList)
|
static ReqComponent |
createReqComponent(String nlUsageTypeKey,
String reqComponentType)
|
static List<ReqComponentField> |
createReqComponentFieldsForClu(String expectedValue,
String operator,
String cluIds)
|
static List<ReqComponentField> |
createReqComponentFieldsForCluSet(String expectedValue,
String operator,
String target)
|
static ReqComponentType |
createReqComponentType(String reqComponentType)
|
static Statement |
createStatement(StatementOperatorTypeKey operator)
|
static ContextRegistry<Context<ReqComponentInfo>> |
getReqComponentContextRegistry()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final List<MockCluInfo> cluList
private static final List<MockCluSetInfo> cluSetList
| Constructor Detail |
|---|
public NaturalLanguageUtil()
| Method Detail |
|---|
public static void createData()
public static ReqComponentType createReqComponentType(String reqComponentType)
public static ReqComponentType createDefaultReqComponentType(String nlUsageTypeKey,
String reqComponentType)
public static ReqComponent createReqComponent(String nlUsageTypeKey,
String reqComponentType)
throws Exception
Exception
public static ReqComponent createReqComponent(String reqComponentType,
List<ReqComponentField> fieldList)
public static List<ReqComponentField> createReqComponentFieldsForCluSet(String expectedValue,
String operator,
String target)
public static List<ReqComponentField> createReqComponentFieldsForClu(String expectedValue,
String operator,
String cluIds)
public static Statement createStatement(StatementOperatorTypeKey operator)
throws Exception
Exception
public static Statement createLuStatementInfo(String id,
StatementOperatorTypeKey operator)
throws Exception
Exception
public static StatementType createLuStatementTypeInfo(String id)
throws Exception
Exceptionpublic static ContextRegistry<Context<ReqComponentInfo>> getReqComponentContextRegistry()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||