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, type
public 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 AbstractParameter
public Annotation annotation()
AbstractParameter
null
.annotation
in class AbstractParameter
public boolean required()
AbstractParameter
true
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 AbstractParameter
Copyright © 2021. All rights reserved.