org.openpermis.editor.policy.beans
Annotation Type PropertyChange


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface PropertyChange

Annotation for the processing of property change events.

Add this annotation to your presenter to receive updates on model changes if the specified property name changes.

Since:
0.1.0

Required Element Summary
 Class<?> bean
          The class of the bean we are handling a property change event for.
 
Optional Element Summary
 Class<?> parameter
          The parameter class of the property.
 String property
          The name of the property that the method of this annotation will process.
 

Element Detail

bean

public abstract Class<?> bean
The class of the bean we are handling a property change event for.

Since:
0.1.0

property

public abstract String property
The name of the property that the method of this annotation will process.

Notes:
The property declaration is optional. If undefined or an empty string is used the property will match all properties and the property parameter must not be specified in your method signature.
Since:
0.1.0
Default:
""

parameter

public abstract Class<?> parameter
The parameter class of the property.

Notes:
The parameter declaration is optional if you do not include the old and new value as parameters in your method signature. If you do, it is mandatory.
Since:
0.1.0
Default:
java.lang.Void.class


PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:33
Copyright (c) 2002-2007 Ergon Informatik AG