| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSavable()
Default constructor.
|
protected |
AbstractSavable(Serializable descriptor)
Constructs an instance, setting the state descriptor instance.
|
| Modifier and Type | Method and Description |
|---|---|
Serializable |
getDescriptor()
Returns a reference to the state descriptor maintained by this class.
|
void |
restore(Serializable descriptor)
Restores this component to the state specified by the provided descriptor.
|
Serializable |
save()
Returns JavaBean describing the current state of this component.
|
void |
setDescriptor(Serializable descriptor)
Sets the maintained by this class.
|
protected AbstractSavable()
protected AbstractSavable(Serializable descriptor)
descriptor - JavaBean encapsulating the state.public Serializable getDescriptor()
null if the state descriptor has not been set.public void setDescriptor(Serializable descriptor)
descriptor - JavaBean encapsulating the state.public void restore(Serializable descriptor)
setDescriptor(java.io.Serializable).public Serializable save()
getDescriptor().Copyright © 2018 LSST. All rights reserved.