|
||||||||||
| 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
public class 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(String name,
Class type,
Object value)
Creates new default property value for a property with the specified name and type. |
|
| Method Summary | |
|---|---|
String |
getName()
Gets the property name. |
Class |
getType()
Gets the property type. |
Object |
getValue()
Gets the default value. |
void |
setName(String name)
Sets the property name. |
void |
setType(Class type)
Sets the property type. |
void |
setValue(Object value)
Sets the default value. |
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(String name,
Class type,
Object value)
name - the name of the propertytype - the type of the propertyvalue - the default value| Method Detail |
|---|
public String getName()
public void setName(String name)
name - the property namepublic Class getType()
public void setType(Class type)
type - the property typepublic Object getValue()
public void setValue(Object value)
value - the default valuepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||