public class ChangePropertyTypeCommand extends AbstractCommand
Modifier and Type | Field and Description |
---|---|
SimplifiedPropertyType |
_newType |
boolean |
_nullRequired |
Object |
_oldProperty |
boolean |
_oldRequired |
String |
_propName |
NodePath |
_propPath |
Modifier and Type | Method and Description |
---|---|
void |
execute(Document document)
Called to execute the command against the given document.
|
void |
undo(Document document)
Called to undo the command (restore the document to a previous state).
|
isNullOrUndefined, type
public NodePath _propPath
public String _propName
public SimplifiedPropertyType _newType
public Object _oldProperty
public boolean _oldRequired
public boolean _nullRequired
public void execute(Document document)
ICommand
Copyright © 2021 Red Hat. All rights reserved.