All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----jtelos.PrimitiveType
TelosString,
TelosInteger and
TelosReal.
KB:
STRING_TYPE() (returing String in Telos),
INTEGER_TYPE() (returing Integer in Telos), and
REAL_TYPE() (returning TelosReal in Telos).
Individual primitive literals are not associated with
KB's. So in order to answer questions such as, "what attributes
take this primitive literal as their target", tokens must be used
instead of literals so that their referencedBy()
method can be invoked. This performs an inverse lookup is done to
find the attributes taking the token as its target. Such tokens
would need an attribute holding the primitive literal being
represented:
Token Success (* CoopWARE design *)
IN TerminationStatus
WITH
name : "Success"
END
"declares" the string literal "Success" in the
attribute with the label name. This declaration occurs
within the input file CoopWARE.
public abstract String telosName()
public String toString()
All Packages Class Hierarchy This Package Previous Next Index