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, typepublic Parameter 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 AbstractParameterpublic String[] value()
public String[] defaultValue()
public void accept(BuilderMetadataVisitor visitor)
accept in class AbstractParameterpublic static boolean isSimpleType(TypeAdapter type)
public static Function<String,?> getConverter(TypeAdapter type)
Copyright © 2017. All rights reserved.