public class PropertySpecification extends org.apache.hivemind.impl.BaseLocatable implements IPropertySpecification
IComponentClassEnhancer
uses 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()
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