public class SimpleParameter extends AbstractParameter
element, type
Modifier and Type | Method and Description |
---|---|
void |
accept(BuilderMetadataVisitor visitor) |
Parameter |
annotation()
Parameter annotation, can be
null . |
String[] |
defaultValue() |
static Function<String,?> |
getConverter(TypeAdapter type) |
static boolean |
isSimpleType(TypeAdapter type) |
boolean |
required()
Returns
true if this parameter much have configuration value provided in java or in
xml. |
String[] |
value() |
name, originatingElement, toString, type
public Parameter 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
public String[] value()
public String[] defaultValue()
public void accept(BuilderMetadataVisitor visitor)
accept
in class AbstractParameter
public static boolean isSimpleType(TypeAdapter type)
public static Function<String,?> getConverter(TypeAdapter type)
Copyright © 2021. All rights reserved.