public abstract class AbstractParameter extends Object
Modifier and Type | Field and Description |
---|---|
protected MemberAdapter |
element |
protected TypeAdapter |
type |
Modifier | Constructor and Description |
---|---|
protected |
AbstractParameter(MemberAdapter element,
TypeAdapter type) |
Modifier and Type | Method and Description |
---|---|
abstract void |
accept(BuilderMetadataVisitor visitor) |
abstract Annotation |
annotation()
Parameter annotation, can be
null . |
String |
name()
Parameter xml configuration element name.
|
MemberAdapter |
originatingElement()
Parameter originating model element.
|
abstract boolean |
required()
Returns
true if this parameter much have configuration value provided in java or in
xml. |
String |
toString() |
TypeAdapter |
type()
Parameter target type.
|
protected final MemberAdapter element
protected final TypeAdapter type
protected AbstractParameter(MemberAdapter element, TypeAdapter type)
public MemberAdapter originatingElement()
public abstract Annotation annotation()
null
.public TypeAdapter type()
public abstract boolean required()
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.public String name()
public abstract void accept(BuilderMetadataVisitor visitor)
Copyright © 2021. All rights reserved.