Package jadex.commons.beans
Class EventSetDescriptor
- java.lang.Object
-
- jadex.commons.beans.FeatureDescriptor
-
- jadex.commons.beans.EventSetDescriptor
-
public class EventSetDescriptor extends FeatureDescriptor
-
-
Constructor Summary
Constructors Constructor Description EventSetDescriptor(java.lang.Class<?> sourceClass, java.lang.String eventSetName, java.lang.Class<?> listenerType, java.lang.String listenerMethodName)
EventSetDescriptor(java.lang.Class<?> sourceClass, java.lang.String eventSetName, java.lang.Class<?> listenerType, java.lang.String[] listenerMethodNames, java.lang.String addListenerMethodName, java.lang.String removeListenerMethodName)
EventSetDescriptor(java.lang.Class<?> sourceClass, java.lang.String eventSetName, java.lang.Class<?> listenerType, java.lang.String[] listenerMethodNames, java.lang.String addListenerMethodName, java.lang.String removeListenerMethodName, java.lang.String getListenerMethodName)
EventSetDescriptor(java.lang.String eventSetName, java.lang.Class<?> listenerType, MethodDescriptor[] listenerMethodDescriptors, java.lang.reflect.Method addListenerMethod, java.lang.reflect.Method removeListenerMethod)
EventSetDescriptor(java.lang.String eventSetName, java.lang.Class<?> listenerType, java.lang.reflect.Method[] listenerMethods, java.lang.reflect.Method addListenerMethod, java.lang.reflect.Method removeListenerMethod)
EventSetDescriptor(java.lang.String eventSetName, java.lang.Class<?> listenerType, java.lang.reflect.Method[] listenerMethods, java.lang.reflect.Method addListenerMethod, java.lang.reflect.Method removeListenerMethod, java.lang.reflect.Method getListenerMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.Method
getAddListenerMethod()
java.lang.reflect.Method
getGetListenerMethod()
MethodDescriptor[]
getListenerMethodDescriptors()
java.lang.reflect.Method[]
getListenerMethods()
java.lang.Class<?>
getListenerType()
java.lang.reflect.Method
getRemoveListenerMethod()
boolean
isInDefaultEventSet()
boolean
isUnicast()
void
setInDefaultEventSet(boolean inDefaultEventSet)
void
setUnicast(boolean unicast)
-
Methods inherited from class jadex.commons.beans.FeatureDescriptor
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue
-
-
-
-
Constructor Detail
-
EventSetDescriptor
public EventSetDescriptor(java.lang.Class<?> sourceClass, java.lang.String eventSetName, java.lang.Class<?> listenerType, java.lang.String listenerMethodName) throws IntrospectionException
- Throws:
IntrospectionException
-
EventSetDescriptor
public EventSetDescriptor(java.lang.Class<?> sourceClass, java.lang.String eventSetName, java.lang.Class<?> listenerType, java.lang.String[] listenerMethodNames, java.lang.String addListenerMethodName, java.lang.String removeListenerMethodName) throws IntrospectionException
- Throws:
IntrospectionException
-
EventSetDescriptor
public EventSetDescriptor(java.lang.Class<?> sourceClass, java.lang.String eventSetName, java.lang.Class<?> listenerType, java.lang.String[] listenerMethodNames, java.lang.String addListenerMethodName, java.lang.String removeListenerMethodName, java.lang.String getListenerMethodName) throws IntrospectionException
- Throws:
IntrospectionException
-
EventSetDescriptor
public EventSetDescriptor(java.lang.String eventSetName, java.lang.Class<?> listenerType, java.lang.reflect.Method[] listenerMethods, java.lang.reflect.Method addListenerMethod, java.lang.reflect.Method removeListenerMethod) throws IntrospectionException
- Throws:
IntrospectionException
-
EventSetDescriptor
public EventSetDescriptor(java.lang.String eventSetName, java.lang.Class<?> listenerType, java.lang.reflect.Method[] listenerMethods, java.lang.reflect.Method addListenerMethod, java.lang.reflect.Method removeListenerMethod, java.lang.reflect.Method getListenerMethod) throws IntrospectionException
- Throws:
IntrospectionException
-
EventSetDescriptor
public EventSetDescriptor(java.lang.String eventSetName, java.lang.Class<?> listenerType, MethodDescriptor[] listenerMethodDescriptors, java.lang.reflect.Method addListenerMethod, java.lang.reflect.Method removeListenerMethod) throws IntrospectionException
- Throws:
IntrospectionException
-
-
Method Detail
-
getListenerMethods
public java.lang.reflect.Method[] getListenerMethods()
-
getListenerMethodDescriptors
public MethodDescriptor[] getListenerMethodDescriptors()
-
getRemoveListenerMethod
public java.lang.reflect.Method getRemoveListenerMethod()
-
getGetListenerMethod
public java.lang.reflect.Method getGetListenerMethod()
-
getAddListenerMethod
public java.lang.reflect.Method getAddListenerMethod()
-
getListenerType
public java.lang.Class<?> getListenerType()
-
setUnicast
public void setUnicast(boolean unicast)
-
setInDefaultEventSet
public void setInDefaultEventSet(boolean inDefaultEventSet)
-
isUnicast
public boolean isUnicast()
-
isInDefaultEventSet
public boolean isInDefaultEventSet()
-
-