TMST.representation
Class Goal

java.lang.Object
  extended byEntityType
      extended byTMST.representation.Goal

public class Goal
extends EntityType

See Also:
Serialized Form

Constructor Summary
Goal(Entity ent)
           
Goal(TMST tmst, java.lang.String name, java.lang.String description, java.lang.String value)
           
 
Method Summary
 Value getValue()
          Method returning the value of the goal
static boolean matches(Entity value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Goal

public Goal(TMST tmst,
            java.lang.String name,
            java.lang.String description,
            java.lang.String value)
     throws NameAlreadyExistException

Goal

public Goal(Entity ent)
     throws EntityTypeNotMatchedException
Method Detail

getValue

public Value getValue()
               throws AlreadyHasValueException
Method returning the value of the goal

Returns:
The value assigned to the goal
Throws:
AlreadyHasValueException

matches

public static boolean matches(Entity value)