org.gridprovenance.client.impl
Class ViewKindImpl

java.lang.Object
  extended by org.gridprovenance.client.impl.ViewKindImpl
All Implemented Interfaces:
ViewKind

public class ViewKindImpl
extends java.lang.Object
implements ViewKind

ViewKind Interface

CSL of EU Provenance

Author:
Sheng Jiang

Field Summary
static ViewKindImpl isReceiver
           
static ViewKindImpl isSender
           
 
Fields inherited from interface org.gridprovenance.client.ViewKind
_isReceiver, _isSender
 
Method Summary
 java.lang.String getViewKind()
          Get the ViewKind
 void setViewKind(java.lang.String viewKind)
          Set the Message Sink of this InteractionKey
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isSender

public static final ViewKindImpl isSender

isReceiver

public static final ViewKindImpl isReceiver
Method Detail

getViewKind

public java.lang.String getViewKind()
                             throws CSLException
Get the ViewKind

Specified by:
getViewKind in interface ViewKind
Returns:
String
Throws:
CSLException

setViewKind

public void setViewKind(java.lang.String viewKind)
                 throws CSLException
Set the Message Sink of this InteractionKey

Specified by:
setViewKind in interface ViewKind
Parameters:
viewKind - As String "isSender" or "isReceiver"
Throws:
CSLException