|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.beans.BeanMetadataAttribute
public class BeanMetadataAttribute
Holder for a key-value style attribute that is part of a bean definition. Keeps track of the definition source in addition to the key-value pair.
| Constructor Summary | |
|---|---|
BeanMetadataAttribute(String name,
Object value)
Create a new AttributeValue instance. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BeanMetadataAttribute(String name,
Object value)
name - the name of the attribute (never null)value - the value of the attribute (possibly before type conversion)| Method Detail |
|---|
public String getName()
public Object getValue()
public void setSource(Object source)
Object for this metadata element.
The exact type of the object will depend on the configuration mechanism used.
public Object getSource()
BeanMetadataElementObject for this metadata element
(may be null).
getSource in interface BeanMetadataElementpublic boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||