|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEntityType
TMST.representation.Cost
Class representing the cost of having an executor performing an action.
Constructor Summary | |
Cost(Entity ent)
|
|
Cost(TMST tmst,
java.lang.String name,
java.lang.String description,
Entity owner,
java.lang.String costValue)
|
Method Summary | |
Executor |
getExecutor()
Method returning the owner related to this cost. |
float |
getFloatValue()
Returns the value of this cost entity as a float. |
ReplyReference |
getReplyReference()
Method returning the reply reference related to this cost entity |
java.lang.String |
getStringValue()
Returns the value of this cost entity as a string. |
static boolean |
matches(Entity value)
|
void |
setReplyReference(ReplyReference reference)
Method for adding a reference to the Cost object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Cost(TMST tmst, java.lang.String name, java.lang.String description, Entity owner, java.lang.String costValue) throws NameAlreadyExistException
public Cost(Entity ent) throws EntityTypeNotMatchedException
Method Detail |
public void setReplyReference(ReplyReference reference) throws AlreadyHasValueException
reference
- The refrerence which is being addded to the costw.
AlreadyHasValueException
public ReplyReference getReplyReference() throws java.lang.Exception
java.lang.Exception
public float getFloatValue() throws AlreadyHasValueException
AlreadyHasValueException
public java.lang.String getStringValue() throws AlreadyHasValueException
AlreadyHasValueException
public Executor getExecutor() 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 |