org.drools.rule
Class BaseAnnotatedAsset
java.lang.Object
org.drools.rule.BaseAnnotatedAsset
- All Implemented Interfaces:
- AnnotatedElement
- Direct Known Subclasses:
- WindowDeclaration
public class BaseAnnotatedAsset
- extends Object
- implements AnnotatedElement
A base class for all annotated assets
BaseAnnotatedAsset
public BaseAnnotatedAsset()
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotation)
- Specified by:
getAnnotation in interface AnnotatedElement
getAnnotations
public Annotation[] getAnnotations()
- Specified by:
getAnnotations in interface AnnotatedElement
getDeclaredAnnotations
public Annotation[] getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotations in interface AnnotatedElement
isAnnotationPresent
public boolean isAnnotationPresent(Class<? extends Annotation> annotation)
- Specified by:
isAnnotationPresent in interface AnnotatedElement
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.