org.hibernate.validator.internal.cdi.interceptor
Class ValidationEnabledAnnotatedType<T>

java.lang.Object
  extended by org.hibernate.validator.internal.cdi.interceptor.ValidationEnabledAnnotatedType<T>
All Implemented Interfaces:
javax.enterprise.inject.spi.Annotated, javax.enterprise.inject.spi.AnnotatedType<T>

public class ValidationEnabledAnnotatedType<T>
extends Object
implements javax.enterprise.inject.spi.AnnotatedType<T>

Author:
Hardy Ferentschik

Constructor Summary
ValidationEnabledAnnotatedType(javax.enterprise.inject.spi.AnnotatedType<T> type, Set<javax.enterprise.inject.spi.AnnotatedCallable<? super T>> constrainedCallables)
           
 
Method Summary
<A extends Annotation>
A
getAnnotation(Class<A> annotationType)
           
 Set<Annotation> getAnnotations()
           
 Type getBaseType()
           
 Set<javax.enterprise.inject.spi.AnnotatedConstructor<T>> getConstructors()
           
 Set<javax.enterprise.inject.spi.AnnotatedField<? super T>> getFields()
           
 Class<T> getJavaClass()
           
 Set<javax.enterprise.inject.spi.AnnotatedMethod<? super T>> getMethods()
           
 Set<Type> getTypeClosure()
           
 boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationEnabledAnnotatedType

public ValidationEnabledAnnotatedType(javax.enterprise.inject.spi.AnnotatedType<T> type,
                                      Set<javax.enterprise.inject.spi.AnnotatedCallable<? super T>> constrainedCallables)
Method Detail

getJavaClass

public Class<T> getJavaClass()
Specified by:
getJavaClass in interface javax.enterprise.inject.spi.AnnotatedType<T>

getConstructors

public Set<javax.enterprise.inject.spi.AnnotatedConstructor<T>> getConstructors()
Specified by:
getConstructors in interface javax.enterprise.inject.spi.AnnotatedType<T>

getMethods

public Set<javax.enterprise.inject.spi.AnnotatedMethod<? super T>> getMethods()
Specified by:
getMethods in interface javax.enterprise.inject.spi.AnnotatedType<T>

getFields

public Set<javax.enterprise.inject.spi.AnnotatedField<? super T>> getFields()
Specified by:
getFields in interface javax.enterprise.inject.spi.AnnotatedType<T>

getBaseType

public Type getBaseType()
Specified by:
getBaseType in interface javax.enterprise.inject.spi.Annotated

getTypeClosure

public Set<Type> getTypeClosure()
Specified by:
getTypeClosure in interface javax.enterprise.inject.spi.Annotated

getAnnotation

public <A extends Annotation> A getAnnotation(Class<A> annotationType)
Specified by:
getAnnotation in interface javax.enterprise.inject.spi.Annotated

getAnnotations

public Set<Annotation> getAnnotations()
Specified by:
getAnnotations in interface javax.enterprise.inject.spi.Annotated

isAnnotationPresent

public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
Specified by:
isAnnotationPresent in interface javax.enterprise.inject.spi.Annotated


Copyright © 2007-2013 Red Hat, Inc. All Rights Reserved