public class NewSchemaPropertyCommand extends AbstractCommand
Modifier and Type | Field and Description |
---|---|
boolean |
_created |
String |
_description |
SimplifiedPropertyType |
_newType |
boolean |
_nullRequired |
String |
_propertyName |
NodePath |
_schemaPath |
Modifier and Type | Method and Description |
---|---|
protected void |
_setPropertyType(IOasPropertySchema prop)
Sets the property type.
|
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 String _propertyName
public NodePath _schemaPath
public String _description
public SimplifiedPropertyType _newType
public boolean _created
public boolean _nullRequired
public void execute(Document document)
ICommand
public void undo(Document document)
ICommand
protected void _setPropertyType(IOasPropertySchema prop)
prop
- Copyright © 2019 Red Hat. All rights reserved.