public class PropertySpecification extends org.apache.hivemind.impl.BaseLocatable implements IPropertySpecification
IComponentClassEnhanceruses this information to create a
subclass with the necessary instance variables and methods.| Constructor and Description |
|---|
PropertySpecification() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public PropertySpecification()
public java.lang.String getInitialValue()
IPropertySpecificationgetInitialValue in interface IPropertySpecificationpublic java.lang.String getName()
getName in interface IPropertySpecificationpublic boolean isPersistent()
IPropertySpecificationIPropertySpecification.getPersistence()is null.isPersistent in interface IPropertySpecificationpublic java.lang.String getType()
getType in interface IPropertySpecificationpublic void setInitialValue(java.lang.String initialValue)
setInitialValue in interface IPropertySpecificationpublic void setName(java.lang.String name)
ComponentSpecification.setName in interface IPropertySpecificationpublic void setType(java.lang.String type)
setType in interface IPropertySpecificationpublic java.lang.String getPersistence()
IPropertySpecificationgetPersistence in interface IPropertySpecificationpublic void setPersistence(java.lang.String persistence)
IPropertySpecificationsetPersistence in interface IPropertySpecification