org.fcrepo.server.messaging
Class FedoraMethod

java.lang.Object
  extended by org.fcrepo.server.messaging.FedoraMethod

public class FedoraMethod
extends Object

Representation of a Fedora API Method.

Version:
$Id$
Author:
Edwin Shin

Constructor Summary
FedoraMethod(Method method, Object[] args, Object returnVal)
           
 
Method Summary
 Context getContext()
          Get the Context of the API method.
 Date getDate()
          Get the Date of the API method invocation.
 Method getMethod()
           
 String getName()
           
 String[] getParameterNames()
           
 Object[] getParameters()
           
 PID getPID()
          Get the PID of this method.
 Object getReturnValue()
          Get the return value of the API method invocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FedoraMethod

public FedoraMethod(Method method,
                    Object[] args,
                    Object returnVal)
Method Detail

getMethod

public Method getMethod()

getParameters

public Object[] getParameters()

getReturnValue

public Object getReturnValue()
Get the return value of the API method invocation.

Returns:
The return value or null.

getName

public String getName()

getContext

public Context getContext()
Get the Context of the API method.

Returns:
The Context or null.

getPID

public PID getPID()
Get the PID of this method.

Returns:
The PID or null.

getDate

public Date getDate()
Get the Date of the API method invocation.

Returns:
The Date or null if not available.

getParameterNames

public String[] getParameterNames()


Copyright © 2012 DuraSpace. All Rights Reserved.