|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEntityType
TMST.representation.Input
Class for representing a input of a task or a problem solving method.
Constructor Summary | |
Input(Entity ent)
|
|
Input(TMST tmst,
java.lang.String name,
java.lang.String description,
java.lang.String value)
Constructor setting up the relation to a generic input entity all inputs are related to (makes explisit that the current entity is an input) and relates to the value of the input. |
|
Input(TMST tmst,
java.lang.String name,
java.lang.String description,
Value value)
Constructor setting up the relation to a generic input entity all inputs are related to (makes explisit that the current entity is an input) and relates to the value of the input. |
Method Summary | |
Value |
getValue()
Method returning the value of the input |
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 Input(TMST tmst, java.lang.String name, java.lang.String description, java.lang.String value) throws NameAlreadyExistException
tmst
- The knowledge model which the input belongs toname
- The name of the inputdescription
- The description of the inputvalue
- The value of the input as a stringpublic Input(Entity ent) throws EntityTypeNotMatchedException
public Input(TMST tmst, java.lang.String name, java.lang.String description, Value value) throws NameAlreadyExistException
tmst
- The knowledge model which the input belongs toname
- The name of the inputdescription
- The description of the inputvalue
- The value of the input as a value object.Method Detail |
public Value getValue() throws AlreadyHasValueException
AlreadyHasValueException
public static boolean matches(Entity value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |