Package com.globalmentor.model
Interface Modifiable
- All Known Subinterfaces:
ObjectState<T>
- All Known Implementing Classes:
DefaultModifiable
,DefaultObjectState
,ModifiableCollection
,ModifiableSet
public interface Modifiable
Indicates the object not only can be modified, it can keep track of whether it has been modified.
- Author:
- Garret Wilson
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The name of the modified property, if it is bound in any modifiable object. -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setModified
(boolean newModified) Sets whether the object has been modified.
-
Field Details
-
MODIFIED_PROPERTY
The name of the modified property, if it is bound in any modifiable object.
-
-
Method Details
-
isModified
boolean isModified()- Returns:
- Whether the object has been modified.
-
setModified
void setModified(boolean newModified) Sets whether the object has been modified.- Parameters:
newModified
- The new modification status.
-