@Evolving public interface ModelChange
Modifier and Type | Interface and Description |
---|---|
static class |
ModelChange.RemoveProperty
A ModelChange to remove a property from model.
|
static class |
ModelChange.RenameModel
A ModelChange to rename a model.
|
static class |
ModelChange.SetProperty
A ModelChange to set a property and value of a model.
|
static class |
ModelChange.UpdateComment
A ModelChange to update the comment of a model.
|
Modifier and Type | Method and Description |
---|---|
static ModelChange |
removeProperty(java.lang.String property)
Create a ModelChange for removing a property from a model.
|
static ModelChange |
rename(java.lang.String newName)
Create a ModelChange for renaming a model.
|
static ModelChange |
setProperty(java.lang.String property,
java.lang.String value)
Create a ModelChange for setting a property and value of a model.
|
static ModelChange |
updateComment(java.lang.String newComment)
Create a ModelChange for updating the comment of a model.
|
static ModelChange rename(java.lang.String newName)
newName
- The new model name.static ModelChange setProperty(java.lang.String property, java.lang.String value)
property
- The name of the property to be set.value
- The value to be set for the property.static ModelChange removeProperty(java.lang.String property)
property
- The name of the property to be removed from the model.static ModelChange updateComment(java.lang.String newComment)
newComment
- The new comment of the model.