Package jadex.common
Class UnparsedExpression
java.lang.Object
jadex.common.UnparsedExpression
An unparsed expression for being able to transfer to other nodes.
idea: allow storing also imports in the expression for later evaluation
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new expression.UnparsedExpression
(String name, Class<?> clazz, String value) Create a new expression.UnparsedExpression
(String name, Class<?> clazz, String value, String language) Create a new expression.UnparsedExpression
(String name, String value) Create a new expression.UnparsedExpression
(String name, String classname, String value, String language) Create a new expression. -
Method Summary
Modifier and TypeMethodDescriptiongetClazz()
Get the clazz.Get the language.getName()
Get the name.Get the parsed.getValue()
Get the value.void
Set the clazz.void
setLanguage
(String language) Set the language.void
Set the name.void
setParsedExp
(Object parsed) Set the parsed.void
Set the value.toString()
Get the string representation.
-
Field Details
-
name
The name. -
clazz
The clazz info. -
value
The value. -
language
The language. -
parsed
The parsed expression (cached for speed, but not transmitted).
-
-
Constructor Details
-
UnparsedExpression
public UnparsedExpression()Create a new expression. -
UnparsedExpression
Create a new expression. -
UnparsedExpression
Create a new expression. -
UnparsedExpression
Create a new expression. -
UnparsedExpression
Create a new expression.
-
-
Method Details
-
getName
Get the name.- Returns:
- The name.
-
setName
Set the name.- Parameters:
name
- The name to set.
-
getClazz
Get the clazz.- Returns:
- the clazz.
-
setClazz
Set the clazz.- Parameters:
clazz
- The clazz to set.
-
getValue
Get the value.- Returns:
- The value.
-
setValue
Set the value.- Parameters:
value
- The value to set.
-
getLanguage
Get the language.- Returns:
- The language.
-
setLanguage
Set the language.- Parameters:
language
- The language.
-
getParsed
Get the parsed.- Returns:
- The parsed.
-
setParsedExp
Set the parsed.- Parameters:
parsed
- The parsed to set. // changed name to exclude from transfer
-
toString
Get the string representation.
-