public class Function extends Object
Goal, written by a programmer in a specific programming language to or
the purpose of a Thing characterized by a Name, and Properties provided as
activity’s optional arguments and return value.| Constructor and Description |
|---|
Function(Thing thing,
Goal goal,
Text name,
io.polygenesis.system.model.core.ReturnValue returnValue)
Instantiates a new Function with ReturnValue.
|
Function(Thing thing,
Goal goal,
Text name,
Set<io.polygenesis.system.model.core.Argument> arguments)
Instantiates a new Function with Arguments.
|
Function(Thing thing,
Goal goal,
Text name,
Set<io.polygenesis.system.model.core.Argument> arguments,
io.polygenesis.system.model.core.ReturnValue returnValue)
Instantiates a new Function with ReturnValue and Arguments.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Set<io.polygenesis.system.model.core.Argument> |
getArguments()
Gets arguments.
|
Goal |
getGoal()
Gets goal.
|
Text |
getName()
Gets name.
|
io.polygenesis.system.model.core.ReturnValue |
getReturnValue()
Gets return value.
|
Thing |
getThing()
Gets thing.
|
int |
hashCode() |
public Function(Thing thing, Goal goal, Text name, io.polygenesis.system.model.core.ReturnValue returnValue)
thing - the thinggoal - the goalname - the namereturnValue - the return valuepublic Function(Thing thing, Goal goal, Text name, Set<io.polygenesis.system.model.core.Argument> arguments)
thing - the thinggoal - the goalname - the namearguments - the argumentspublic Function(Thing thing, Goal goal, Text name, Set<io.polygenesis.system.model.core.Argument> arguments, io.polygenesis.system.model.core.ReturnValue returnValue)
thing - the thinggoal - the goalname - the namearguments - the argumentsreturnValue - the return valuepublic Thing getThing()
public Goal getGoal()
public Text getName()
public io.polygenesis.system.model.core.ReturnValue getReturnValue()
public Set<io.polygenesis.system.model.core.Argument> getArguments()
Copyright © 2015–2019 OREGOR LTD. All rights reserved.