org.drools.rule
Class BaseAnnotatedAsset

java.lang.Object
  extended by 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


Constructor Summary
BaseAnnotatedAsset()
           
 
Method Summary
 boolean equals(Object obj)
           
<T extends Annotation>
T
getAnnotation(Class<T> annotation)
           
 Annotation[] getAnnotations()
           
 Annotation[] getDeclaredAnnotations()
           
 int hashCode()
           
 boolean isAnnotationPresent(Class<? extends Annotation> annotation)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseAnnotatedAsset

public BaseAnnotatedAsset()
Method Detail

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.