|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
IProgramBuilder is a kind of class factory. It is required to be able to use different implementation of classed in the program. it is also usefull to seperate packages from each other. so a minimal set of import references into another package is required. !!! be ware of class cast exceptions !!!
| Method Summary | |
IFact |
createAndStatement(IFact f)
returns a implementation of a AndStatement |
IFact |
createAndStatement(int name)
returns a implementation of a AndStatement |
IFact |
createConstraintStatement(int name)
returns a implementation of a ConstraintStatement |
IFact |
createConstraintStatement(int name,
IRelation relation)
returns a implementation of a ConstraintStatement |
IFact |
createFact(int name)
returns a implementation of a IFact |
IFact |
createFact(int name,
IRelation relation)
returns a implementation of a IFact |
IFactDb |
createFactDb()
returns a implementation of a IFactDb |
IFactList |
createFactList(int name,
int colCount)
returns a implementation of a IFactList |
IFact |
createMatchingStatement(int name)
returns a implementation of a MatchingStatement |
IFact |
createMatchingStatement(int name,
IRelation relation)
returns a implementation of a MatchingStatement |
IProgram |
createProgram()
returns a implementation of a IProgram |
IFact |
createQuery(int name)
returns a implementation of a Query |
IQueryList |
createQueryList()
returns a implementation of a IQueryList |
IRelation |
createRelation()
returns a implementation of a IRelation |
IStatementMap |
createStatementMap()
returns a implementation of a IStatementMap |
IAtom |
createValue(int value)
returns a implementation of a IAtom as Value |
IAtom |
createVariable(int value)
returns a implementation of a IAtom as Variable |
ISymbolTable |
getSymbolTable()
returns a implementation of a ISymbolTable |
| Method Detail |
public IStatementMap createStatementMap()
public IQueryList createQueryList()
public IProgram createProgram()
public IFactDb createFactDb()
public IFactList createFactList(int name,
int colCount)
public IRelation createRelation()
public IFact createAndStatement(IFact f)
public IFact createAndStatement(int name)
public IFact createConstraintStatement(int name)
public IFact createConstraintStatement(int name,
IRelation relation)
public IFact createMatchingStatement(int name)
public IFact createMatchingStatement(int name,
IRelation relation)
public IFact createQuery(int name)
public IFact createFact(int name,
IRelation relation)
public IFact createFact(int name)
public IAtom createValue(int value)
public IAtom createVariable(int value)
public ISymbolTable getSymbolTable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||