|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xbean.blueprint.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,
String 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. |
String |
getValue()
Gets the default value. |
void |
setName(String name)
Sets the property name. |
void |
setType(Class type)
Sets the property type. |
void |
setValue(String 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, String value)
name
- the name of the propertytype
- the type of the propertyvalue
- the default valueMethod Detail |
---|
public String getName()
public void setName(String name)
name
- the property namepublic Class getType()
public void setType(Class type)
type
- the property typepublic String getValue()
public void setValue(String 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 |