Package org.apache.bval.jsr.metadata
Class CompositeBuilder.ForBean<T>
- java.lang.Object
-
- org.apache.bval.jsr.metadata.CompositeBuilder.Delegator<MetadataBuilder.ForBean<T>>
-
- org.apache.bval.jsr.metadata.CompositeBuilder.ForBean<T>
-
- All Implemented Interfaces:
HasAnnotationBehavior
,MetadataBuilder.ForBean<T>
- Enclosing class:
- CompositeBuilder
class CompositeBuilder.ForBean<T> extends CompositeBuilder.Delegator<MetadataBuilder.ForBean<T>> implements MetadataBuilder.ForBean<T>
-
-
Field Summary
-
Fields inherited from class org.apache.bval.jsr.metadata.CompositeBuilder.Delegator
delegates
-
-
Constructor Summary
Constructors Constructor Description ForBean(List<MetadataBuilder.ForBean<T>> delegates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataBuilder.ForClass<T>
getClass(Meta<Class<T>> meta)
Map<Signature,MetadataBuilder.ForExecutable<Constructor<? extends T>>>
getConstructors(Meta<Class<T>> meta)
Map<String,MetadataBuilder.ForContainer<Field>>
getFields(Meta<Class<T>> meta)
Map<String,MetadataBuilder.ForContainer<Method>>
getGetters(Meta<Class<T>> meta)
Returned keys are property names per XML mapping spec.Map<Signature,MetadataBuilder.ForExecutable<Method>>
getMethods(Meta<Class<T>> meta)
-
Methods inherited from class org.apache.bval.jsr.metadata.CompositeBuilder.Delegator
getAnnotationBehavior, merge, merge
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.bval.jsr.metadata.HasAnnotationBehavior
getAnnotationBehavior
-
Methods inherited from interface org.apache.bval.jsr.metadata.MetadataBuilder.ForBean
isEmpty
-
-
-
-
Constructor Detail
-
ForBean
ForBean(List<MetadataBuilder.ForBean<T>> delegates)
-
-
Method Detail
-
getClass
public MetadataBuilder.ForClass<T> getClass(Meta<Class<T>> meta)
- Specified by:
getClass
in interfaceMetadataBuilder.ForBean<T>
-
getFields
public Map<String,MetadataBuilder.ForContainer<Field>> getFields(Meta<Class<T>> meta)
- Specified by:
getFields
in interfaceMetadataBuilder.ForBean<T>
-
getGetters
public Map<String,MetadataBuilder.ForContainer<Method>> getGetters(Meta<Class<T>> meta)
Description copied from interface:MetadataBuilder.ForBean
Returned keys are property names per XML mapping spec.- Specified by:
getGetters
in interfaceMetadataBuilder.ForBean<T>
- Returns:
Map
-
getConstructors
public Map<Signature,MetadataBuilder.ForExecutable<Constructor<? extends T>>> getConstructors(Meta<Class<T>> meta)
- Specified by:
getConstructors
in interfaceMetadataBuilder.ForBean<T>
-
getMethods
public Map<Signature,MetadataBuilder.ForExecutable<Method>> getMethods(Meta<Class<T>> meta)
- Specified by:
getMethods
in interfaceMetadataBuilder.ForBean<T>
-
-