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 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 valueCopyright © 2005-2014 The Apache Software Foundation. All Rights Reserved.