public class BeanMetadataAttribute extends Object implements BeanMetadataElement
| Constructor and Description |
|---|
BeanMetadataAttribute(String name,
Object value)
Create a new AttributeValue instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getName()
Return the name of the attribute.
|
Object |
getSource()
Return the configuration source
Object for this metadata element
(may be null). |
Object |
getValue()
Return the value of the attribute.
|
int |
hashCode() |
void |
setSource(Object source)
Set the configuration source
Object for this metadata element. |
String |
toString() |
public String getName()
public void setSource(@Nullable Object source)
Object for this metadata element.
The exact type of the object will depend on the configuration mechanism used.
@Nullable public Object getSource()
BeanMetadataElementObject for this metadata element
(may be null).getSource in interface BeanMetadataElement