Package ru.ewc.decita.input
Class RawContent
java.lang.Object
ru.ewc.decita.input.RawContent
I am the unified source for building
DecisionTables. My main responsibility is to store
all the data needed to construct Rules and fill the DecisionTable.- Since:
- 0.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates aDecisionTablefrom the raw contents.Answers the table name.
-
Constructor Details
-
RawContent
Ctor.- Parameters:
conditions- A 2D-array of Strings describing the Conditions part of theDecisionTable.outcomes- A 2D-array of Strings describing the Outcomes part of theDecisionTable.table- Name of the source table.
-
-
Method Details
-
tableName
Answers the table name.- Returns:
- The table name.
-
asDecisionTable
Creates aDecisionTablefrom the raw contents.- Returns:
- The
DecisionTablecreated from the source file.
-