org.apache.beehive.wsm.jsr181.model
Class AnnotationModel

Object
  extended by AnnotationModel
Direct Known Subclasses:
WebServiceMETHODMetadata, WebServicePARAMETERMetadata, WebServiceTYPEMetadata

public abstract class AnnotationModel
extends Object


Constructor Summary
AnnotationModel()
           
 
Method Summary
static Annotation getAnnotationOfType(Collection<Annotation> annotations, Class<? extends Annotation> annotationType)
           
static boolean hasAnnotationType(Collection<Annotation> annotations, Class<? extends Annotation> annotationType)
           
abstract  void validate()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationModel

public AnnotationModel()
Method Detail

hasAnnotationType

public static boolean hasAnnotationType(Collection<Annotation> annotations,
                                        Class<? extends Annotation> annotationType)

getAnnotationOfType

public static Annotation getAnnotationOfType(Collection<Annotation> annotations,
                                             Class<? extends Annotation> annotationType)

validate

public abstract void validate()
                       throws ValidationException
Throws:
ValidationException