protected class CompositeDataBean.CompositeDataBeanState extends Object implements PropertyBackedBeanState
Modifier | Constructor and Description |
---|---|
protected |
CompositeDataBeanState()
Instantiates a new composite data bean state.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
getBean()
Gets the wrapped Java bean.
|
String |
getProperty(String name)
Gets a property value.
|
Set<String> |
getPropertyNames()
Gets the names of all properties.
|
void |
removeProperty(String name)
Removes a property.
|
void |
setProperty(String name,
String value)
Sets the value of a property.
|
void |
start()
Starts up the component, using its new property values.
|
void |
stop()
Stops the component, so that its property values can be changed.
|
protected CompositeDataBeanState()
public String getProperty(String name)
PropertyBackedBeanState
getProperty
in interface PropertyBackedBeanState
name
- the namepublic Set<String> getPropertyNames()
PropertyBackedBeanState
getPropertyNames
in interface PropertyBackedBeanState
public void setProperty(String name, String value)
PropertyBackedBeanState
PropertyBackedBeanState.stop()
.setProperty
in interface PropertyBackedBeanState
name
- the property namevalue
- the property valuepublic void removeProperty(String name)
PropertyBackedBeanState
PropertyBackedBeanState.stop()
.removeProperty
in interface PropertyBackedBeanState
name
- the property namepublic void start()
PropertyBackedBeanState
start
in interface PropertyBackedBeanState
public void stop()
PropertyBackedBeanState
stop
in interface PropertyBackedBeanState
protected Object getBean()
Copyright © 2005–2017 Alfresco Software. All rights reserved.