fr.inrialpes.exmo.align.impl.edoal
Class Apply
java.lang.Object
fr.inrialpes.exmo.align.impl.edoal.Apply
- All Implemented Interfaces:
- ValueExpression
public class Apply
- extends 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.
- Version:
- $Id: Apply.java 1710 2012-03-23 19:53:25Z euzenat $
operation
private URI operation
- Holds the operation to apply
arguments
private List<ValueExpression> arguments
Apply
public Apply(URI op,
List<ValueExpression> args)
- Constructs an object with the given value.
- Parameters:
op
- the URI of the operation to apply.args
- its list of argumenst
- Throws:
NullPointerException
- if the value is null
accept
public void accept(EDOALVisitor visitor)
throws AlignmentException
- Specified by:
accept
in interface ValueExpression
- Throws:
AlignmentException
accept
public TypeCheckingVisitor.TYPE accept(TypeCheckingVisitor visitor)
throws AlignmentException
- Specified by:
accept
in interface ValueExpression
- Throws:
AlignmentException
getOperation
public URI getOperation()
getArguments
public List<ValueExpression> getArguments()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
(C) INRIA & friends, 2003-2013