@Target(value=FIELD)
@Retention(value=RUNTIME)
@Inherited
@Documented
public @interface DisableHandlers
RequiredDataAdvice
, by default, RequiredDataHandlers are called on all child collections of the OpenmrsObject
being handled.
By annotating a Collection with a @DisableHandlers annotation, you specific that RequiredDataAdvice should NOT apply the specified
handler(s) to a child collection. For example:
private class ClassWithDisableHandlersAnnotation extends BaseOpenmrsData {Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class<? extends RequiredDataHandler>[] |
handlerTypes
The set of handlers to be be disabled
|
public abstract java.lang.Class<? extends RequiredDataHandler>[] handlerTypes
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.