org.apache.tapestry.spec
Class PropertySpecification

java.lang.Object
  extended by org.apache.tapestry.spec.BaseLocatable
      extended by 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

Constructor Summary
PropertySpecification()
           
 
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 class org.apache.tapestry.spec.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry.ILocationHolder
setLocation
 
Methods inherited from interface org.apache.tapestry.ILocatable
getLocation
 

Constructor Detail

PropertySpecification

public PropertySpecification()
Method Detail

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