org.mindswap.ocl
Interface OCLParameter

All Known Implementing Classes:
OCLParameterImpl

public interface OCLParameter

Title: OCLParameter

Description: An abstract representation of a method parameter which has a type and value for the parameter

Copyright: Copyright (c) 2005

Company: Mindswap (http://www.mindswap.org)


Method Summary
 Literal getParameterType()
          Returns the parameter type
 RDFNode getParameterValue()
          Returns the value of the parameter
 void setParameterType(java.lang.Class theType)
          Set the type of the parameter
 void setParameterType(java.lang.String theType)
          Set the type of the parameter
 void setParameterValue(java.lang.String theValue)
          Set the value of the parameter
 

Method Detail

setParameterType

public void setParameterType(java.lang.Class theType)
Set the type of the parameter

Parameters:
theType - Class the new parameter type

setParameterType

public void setParameterType(java.lang.String theType)
Set the type of the parameter

Parameters:
theType - String the new parameter type

getParameterType

public Literal getParameterType()
Returns the parameter type

Returns:
Literal the parameter type

getParameterValue

public RDFNode getParameterValue()
Returns the value of the parameter

Returns:
RDFNode the parameter value

setParameterValue

public void setParameterValue(java.lang.String theValue)
Set the value of the parameter

Parameters:
theValue - String the new value for the parameter