public class DefaultProperty extends Object
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
public DefaultProperty()
public DefaultProperty(String name, Class type, Object value)
name - the name of the propertytype - the type of the propertyvalue - the default valueCopyright © 2005–2014. All rights reserved.