org.apache.tapestry.spec
Class PropertySpecification
java.lang.Object
org.apache.tapestry.spec.BaseLocatable
org.apache.tapestry.spec.PropertySpecification
- All Implemented Interfaces:
- ILocatable, ILocationHolder, IPropertySpecification
public class PropertySpecification
- extends BaseLocatable
- implements IPropertySpecification
Defines a transient or persistant property of a component or page.
A IComponentClassEnhancer
uses this information
to create a subclass with the necessary instance variables and methods.
- Since:
- 3.0
- Version:
- $Id: PropertySpecification.java 243791 2004-02-19 17:38:13Z hlship $
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertySpecification
public PropertySpecification()
getInitialValue
public String getInitialValue()
- Specified by:
getInitialValue
in interface IPropertySpecification
getName
public String getName()
- Specified by:
getName
in interface IPropertySpecification
isPersistent
public boolean isPersistent()
- Specified by:
isPersistent
in interface IPropertySpecification
getType
public String getType()
- Specified by:
getType
in interface IPropertySpecification
setInitialValue
public void setInitialValue(String initialValue)
- Specified by:
setInitialValue
in interface IPropertySpecification
setName
public void setName(String name)
- Sets the name of the property. This should not be changed
once this IPropertySpecification is added to
a
ComponentSpecification
.
- Specified by:
setName
in interface IPropertySpecification
setPersistent
public void setPersistent(boolean persistant)
- Specified by:
setPersistent
in interface IPropertySpecification
setType
public void setType(String type)
- Specified by:
setType
in interface IPropertySpecification