public class MultivalueParameter extends AbstractParameter
| Modifier and Type | Field and Description |
|---|---|
AbstractParameter |
elements |
element, type| Constructor and Description |
|---|
MultivalueParameter(MemberAdapter element,
TypeAdapter type,
AbstractParameter elements) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(BuilderMetadataVisitor visitor) |
Annotation |
annotation()
Parameter annotation, can be
null. |
boolean |
required()
Returns
true if this parameter much have configuration value provided in java or in
xml. |
name, originatingElement, toString, typepublic final AbstractParameter elements
public MultivalueParameter(MemberAdapter element, TypeAdapter type, AbstractParameter elements)
element - is the originating element of the multivalue parametertype - is the type of the originating elementelements - is the metadata of this array/collection elementspublic void accept(BuilderMetadataVisitor visitor)
accept in class AbstractParameterpublic Annotation annotation()
AbstractParameternull.annotation in class AbstractParameterpublic boolean required()
AbstractParametertrue if this parameter much have configuration value provided in java or in
xml. Returns false is configuration value is not required for this parameter.required in class AbstractParameterCopyright © 2017. All rights reserved.