|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xbean.spring.context.impl.DefaultProperty
DefaultProperty contains the default value assigned to a property with a specific name and type.
Constructor Summary | |
DefaultProperty()
Creates a new empty default property. |
|
DefaultProperty(java.lang.String name,
java.lang.Class type,
java.lang.Object value)
Creates new default property value for a property with the specified name and type. |
Method Summary | |
java.lang.String |
getName()
Gets the property name. |
java.lang.Class |
getType()
Gets the property type. |
java.lang.Object |
getValue()
Gets the default value. |
void |
setName(java.lang.String name)
Sets the property name. |
void |
setType(java.lang.Class type)
Sets the property type. |
void |
setValue(java.lang.Object value)
Sets the default value. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DefaultProperty()
public DefaultProperty(java.lang.String name, java.lang.Class type, java.lang.Object value)
name
- the name of the propertytype
- the type of the propertyvalue
- the default valueMethod Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the property namepublic java.lang.Class getType()
public void setType(java.lang.Class type)
type
- the property typepublic java.lang.Object getValue()
public void setValue(java.lang.Object value)
value
- the default valuepublic java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |