Package org.apache.bval.jsr.metadata
Class Meta<E extends AnnotatedElement>
- java.lang.Object
-
- org.apache.bval.jsr.metadata.Meta<E>
-
- Type Parameters:
E
-
- Direct Known Subclasses:
Meta.ForClass
,Meta.ForContainerElement
,Meta.ForCrossParameter
,Meta.ForMember
,Meta.ForParameter
public abstract class Meta<E extends AnnotatedElement> extends Object
Validation class model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Meta.ForClass<T>
static class
Meta.ForConstructor<T>
static class
Meta.ForContainerElement
static class
Meta.ForCrossParameter<E extends Executable>
static class
Meta.ForExecutable<E extends Executable>
static class
Meta.ForField
static class
Meta.ForMember<M extends Member & AnnotatedElement>
static class
Meta.ForMethod
static class
Meta.ForParameter
-
Constructor Summary
Constructors Modifier Constructor Description protected
Meta(E host, ElementType elementType)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
describeHost()
abstract AnnotatedType
getAnnotatedType()
abstract Class<?>
getDeclaringClass()
ElementType
getElementType()
E
getHost()
abstract String
getName()
abstract Meta<?>
getParent()
abstract Type
getType()
String
toString()
-
-
-
Constructor Detail
-
Meta
protected Meta(E host, ElementType elementType)
-
-
Method Detail
-
getHost
public E getHost()
-
getElementType
public ElementType getElementType()
-
getType
public abstract Type getType()
-
getDeclaringClass
public abstract Class<?> getDeclaringClass()
-
getAnnotatedType
public abstract AnnotatedType getAnnotatedType()
-
getName
public abstract String getName()
-
getParent
public abstract Meta<?> getParent()
-
describeHost
public String describeHost()
-
-