org.apache.tapestry.spec
Interface IPropertySpecification

All Superinterfaces:
ILocatable, ILocationHolder
All Known Implementing Classes:
PropertySpecification

public interface IPropertySpecification
extends ILocationHolder

Defines a transient or persistant property of a component or page. A org.apache.tapestry.IComponentClassEnhancer uses this information to create a subclass with the necessary instance variables and methods.

Version:
$Id: IPropertySpecification.java,v 1.1 2003/04/15 18:14:11 glongman Exp $
Author:
glongman@intelligentworks.com

Method Summary
 String getInitialValue()
           
 String getName()
           
 String getType()
           
 boolean isPersistent()
           
 void setInitialValue(String initialValue)
           
 void setName(String name)
          Sets the name of the property.
 void setPersistent(boolean persistant)
           
 void setType(String type)
           
 
Methods inherited from interface org.apache.tapestry.ILocationHolder
setLocation
 
Methods inherited from interface org.apache.tapestry.ILocatable
getLocation
 

Method Detail

getInitialValue

public String getInitialValue()

getName

public String getName()

isPersistent

public boolean isPersistent()

getType

public String getType()

setInitialValue

public void setInitialValue(String initialValue)

setName

public void setName(String name)
Sets the name of the property. This should not be changed once this IPropertySpecification is added to a IComponentSpecification.

setPersistent

public void setPersistent(boolean persistant)

setType

public void setType(String type)