Commit 1a7e1c74 authored by Thibaut Démare's avatar Thibaut Démare

Fix issue with type of returned value

parent e97af615
......@@ -23,7 +23,7 @@ import org.graphstream.gama.extension.IKeywordGSAdditional;
@facets(value = { @facet(name = IKeywordGSAdditional.RECEIVERID, type = IType.STRING, optional = false),
@facet(name = IKeywordGSAdditional.EDGE_ID, type = IType.STRING, optional = false),
@facet(name = IKeywordGSAdditional.ATTRIBUTE_NAME, type = IType.STRING, optional = false),
@facet(name = IKeyword.RETURNS, type = IType.NEW_TEMP_ID, optional = false)})
@facet(name = IKeyword.RETURNS, type = IType.LIST, optional = false)})
public class GetEdgeAttributeStatement extends AbstractStatement implements IStatement{
final IExpression receiverid;
......
......@@ -22,7 +22,7 @@ import org.graphstream.gama.extension.IKeywordGSAdditional;
@inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SINGLE_STATEMENT })
@facets(value = { @facet(name = IKeywordGSAdditional.RECEIVERID, type = IType.STRING, optional = false),
@facet(name = IKeywordGSAdditional.ATTRIBUTE_NAME, type = IType.STRING, optional = false),
@facet(name = IKeyword.RETURNS, type = IType.NEW_TEMP_ID, optional = false)})
@facet(name = IKeyword.RETURNS, type = IType.LIST, optional = false)})
public class GetGraphAttributeStatement extends AbstractStatement implements IStatement{
final IExpression receiverid;
......
......@@ -23,7 +23,7 @@ import org.graphstream.gama.extension.IKeywordGSAdditional;
@facets(value = { @facet(name = IKeywordGSAdditional.RECEIVERID, type = IType.STRING, optional = false),
@facet(name = IKeywordGSAdditional.NODE_ID, type = IType.STRING, optional = false),
@facet(name = IKeywordGSAdditional.ATTRIBUTE_NAME, type = IType.STRING, optional = false),
@facet(name = IKeyword.RETURNS, type = IType.NEW_TEMP_ID, optional = false)})
@facet(name = IKeyword.RETURNS, type = IType.LIST, optional = false)})
public class GetNodeAttributeStatement extends AbstractStatement implements IStatement{
final IExpression receiverid;
......
......@@ -21,7 +21,7 @@ import org.graphstream.gama.extension.IKeywordGSAdditional;
@symbol(name = IKeywordGSAdditional.WAIT_STEP, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false)
@inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SINGLE_STATEMENT })
@facets(value = { @facet(name = IKeywordGSAdditional.RECEIVERID, type = IType.STRING, optional = false),
@facet(name = IKeywordGSAdditional.RETURN, type = IType.NEW_TEMP_ID, optional = false)})
@facet(name = IKeywordGSAdditional.RETURN, type = IType.FLOAT, optional = false)})
public class WaitStepStatement extends AbstractStatement implements IStatement{
final IExpression receiverid;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment