org.scribble.protocol.util
Class ActivityUtil

java.lang.Object
  extended by org.scribble.protocol.util.ActivityUtil

public final class ActivityUtil
extends Object

This class provides utility functions associated with activities.


Method Summary
static boolean isBehaviour(Activity act)
          This method determines whether the activity is a behavioural element.
static boolean isDeclaration(Activity act)
          This method determines whether the activity is a declaration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isDeclaration

public static boolean isDeclaration(Activity act)
This method determines whether the activity is a declaration.

Parameters:
act - The activity
Returns:
Whether the activity is a declaration

isBehaviour

public static boolean isBehaviour(Activity act)
This method determines whether the activity is a behavioural element.

Parameters:
act - The activity
Returns:
Whether the activity is a behavioural element


Copyright © 2008-Present Scribble.org. All Rights Reserved.