public class Apply extends java.lang.Object implements ValueExpression
Apply is the application of a function to arguments.
In the specification a op
is a local transformaion
function/service. The args
specifies the parameters needed for the
function to compute the transformaion.
Modifier and Type | Field and Description |
---|---|
private java.util.List<ValueExpression> |
arguments |
private java.net.URI |
operation
Holds the operation to apply
|
Constructor and Description |
---|
Apply(java.net.URI op,
java.util.List<ValueExpression> args)
Constructs an object with the given value.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(EDOALVisitor visitor) |
TypeCheckingVisitor.TYPE |
accept(TypeCheckingVisitor visitor) |
boolean |
equals(java.lang.Object o) |
java.util.List<ValueExpression> |
getArguments() |
java.net.URI |
getOperation() |
int |
hashCode() |
private java.net.URI operation
private java.util.List<ValueExpression> arguments
public Apply(java.net.URI op, java.util.List<ValueExpression> args)
op
- the URI of the operation to apply.args
- its list of argumenstjava.lang.NullPointerException
- if the value is null
public void accept(EDOALVisitor visitor) throws AlignmentException
accept
in interface ValueExpression
AlignmentException
public TypeCheckingVisitor.TYPE accept(TypeCheckingVisitor visitor) throws AlignmentException
accept
in interface ValueExpression
AlignmentException
public java.net.URI getOperation()
public java.util.List<ValueExpression> getArguments()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
(C) INRIA & friends, 2003-2020