|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.validator.metadata.AggregatedMethodMetaData.Builder
public static class AggregatedMethodMetaData.Builder
Creates new AggregatedMethodMetaData instances.
| Constructor Summary | |
|---|---|
AggregatedMethodMetaData.Builder(MethodMetaData metaData)
Creates a new builder based on the given method meta data. |
|
| Method Summary | |
|---|---|
boolean |
accepts(MethodMetaData metaData)
Whether the given method can be added to this builder or not. |
void |
addMetaData(MethodMetaData metaData)
Adds the given method to this builder. |
AggregatedMethodMetaData |
build()
Creates a new, read-only AggregatedMethodMetaData object from
this builder. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AggregatedMethodMetaData.Builder(MethodMetaData metaData)
metaData - The base method for this builder. This is the lowest
method with a given signature within a type hierarchy.| Method Detail |
|---|
public boolean accepts(MethodMetaData metaData)
metaData - The method of interest.
True, if the given method can be added to this
builder, false otherwise.public void addMetaData(MethodMetaData metaData)
accepts(MethodMetaData) before, whether this is allowed or
not.
metaData - The meta data to add.public AggregatedMethodMetaData build()
AggregatedMethodMetaData object from
this builder.
AggregatedMethodMetaData object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||