Class DefaultProperty
java.lang.Object
org.apache.xbean.spring.context.impl.DefaultProperty
DefaultProperty contains the default value assigned to a property with a specific name and type.
- Since:
- 2.0
- Version:
- $Id$
- Author:
- Dain Sundstrom
-
Constructor Summary
ConstructorsConstructorDescriptionCreates 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
-
Constructor Details
-
DefaultProperty
public DefaultProperty()Creates a new empty default property. This instance is unusable until the name, type and values are assigned. -
DefaultProperty
Creates new default property value for a property with the specified name and type.- Parameters:
name
- the name of the propertytype
- the type of the propertyvalue
- the default value
-
-
Method Details
-
getName
Gets the property name.- Returns:
- the property name
-
setName
Sets the property name.- Parameters:
name
- the property name
-
getType
Gets the property type.- Returns:
- the property type
-
setType
Sets the property type.- Parameters:
type
- the property type
-
getValue
Gets the default value.- Returns:
- the default value
-
setValue
Sets the default value.- Parameters:
value
- the default value
-
toString
-