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, typepublic String _propertyName
public NodePath _schemaPath
public String _description
public SimplifiedPropertyType _newType
public boolean _created
public boolean _nullRequired
public void execute(Document document)
ICommandpublic void undo(Document document)
ICommandprotected void _setPropertyType(IOasPropertySchema prop)
prop - Copyright © 2019 Red Hat. All rights reserved.