|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.spec.PropertySpecification
public class PropertySpecification
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.
Constructor Summary | |
---|---|
PropertySpecification()
|
Method Summary | |
---|---|
java.lang.String |
getInitialValue()
Returns the initial value for this property, as a binding reference. |
java.lang.String |
getName()
|
java.lang.String |
getPersistence()
If null, then the property is not persistent. |
java.lang.String |
getType()
The type of property to create, or null if no type was specified. |
boolean |
isPersistent()
Returns true if IPropertySpecification.getPersistence() is null. |
void |
setInitialValue(java.lang.String initialValue)
|
void |
setName(java.lang.String name)
Sets the name of the property. |
void |
setPersistence(java.lang.String persistence)
A string indicating how the property is persisted. |
void |
setType(java.lang.String type)
|
Methods inherited from class org.apache.hivemind.impl.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.hivemind.LocationHolder |
---|
setLocation |
Methods inherited from interface org.apache.hivemind.Locatable |
---|
getLocation |
Constructor Detail |
---|
public PropertySpecification()
Method Detail |
---|
public java.lang.String getInitialValue()
IPropertySpecification
getInitialValue
in interface IPropertySpecification
public java.lang.String getName()
getName
in interface IPropertySpecification
public boolean isPersistent()
IPropertySpecification
IPropertySpecification.getPersistence()
is null.
isPersistent
in interface IPropertySpecification
public java.lang.String getType()
getType
in interface IPropertySpecification
public void setInitialValue(java.lang.String initialValue)
setInitialValue
in interface IPropertySpecification
public void setName(java.lang.String name)
ComponentSpecification
.
setName
in interface IPropertySpecification
public void setType(java.lang.String type)
setType
in interface IPropertySpecification
public java.lang.String getPersistence()
IPropertySpecification
getPersistence
in interface IPropertySpecification
public void setPersistence(java.lang.String persistence)
IPropertySpecification
setPersistence
in interface IPropertySpecification
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |