|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEntityType
TMST.representation.Assumption
Class describing assumptions of problem solving methds. Assumptions may be classified in a specialization hierarchy. This classification is based on the paper Assumptions of PSMs by Benjamins and Pierret-Golbreich:
Constructor Summary | |
Assumption(Entity ent)
|
|
Assumption(TMST tmst,
java.lang.String name,
java.lang.String description,
int assType,
java.lang.String value)
The constructor of assumptions initializes a new assumption object by setting up the properties and ensuring that the superclasses of assumption and the assumption type is in the model. |
Method Summary | |
AssumptionType |
getType()
Method returning the type of an assumption |
Value |
getValue()
Method returning the value of the assumption. |
static boolean |
matches(Entity value)
Method which has to be overriden (from the class EntityType) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Assumption(TMST tmst, java.lang.String name, java.lang.String description, int assType, java.lang.String value) throws NameAlreadyExistException, java.lang.Exception
tmst
- The knowledge model this assuption is a part of.name
- The name of the assumptiondescription
- The description, as words, of what is being assumedassType
- The type of assumption being instatiatedvalue
- A string representing the value of this assumptionpublic Assumption(Entity ent) throws EntityTypeNotMatchedException
Method Detail |
public AssumptionType getType() throws java.lang.Exception
java.lang.Exception
public Value getValue() throws AlreadyHasValueException
AlreadyHasValueException
public static boolean matches(Entity value)
value
- The entity to match against this entity type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |