KIE API 6.1.0.Beta2

org.kie.api.definition.type
Annotation Type Key


@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface Key

Annotation used to declare that a field is a key for the class it belongs to and then it will be used to calculate the equals/hashCode methods of the class itself. Works for concrete classes on fields. Methods on classes or interfaces is not yet supported.


KIE API 6.1.0.Beta2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.