Jadex 0.96-beta1

jadex.model
Class ISystemEventTypes.Subtypes

java.lang.Object
  extended by jadex.model.ISystemEventTypes.Subtypes
Enclosing interface:
ISystemEventTypes

public static class ISystemEventTypes.Subtypes
extends Object

Subtypes have to be defined in inner class, because static initializers not possible in interfaces.


Constructor Summary
ISystemEventTypes.Subtypes()
           
 
Method Summary
static Collection getSubtypes(String basetype)
          Get all (transitive) subtypes of a given event type including the base type.
static boolean isSubtype(String event, String[] types)
          Check if an event type is a (sub) type of any event of a given set of event types.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ISystemEventTypes.Subtypes

public ISystemEventTypes.Subtypes()
Method Detail

getSubtypes

public static Collection getSubtypes(String basetype)
Get all (transitive) subtypes of a given event type including the base type.


isSubtype

public static boolean isSubtype(String event,
                                String[] types)
Check if an event type is a (sub) type of any event of a given set of event types.

Parameters:
event - The system event type.
types - The system event types.

Jadex 0.96-beta1

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.