public class FieldTypeChangeCommand extends AbstractDataModelCommand
| Modifier and Type | Field and Description |
|---|---|
protected ObjectProperty |
field |
protected boolean |
multiple |
annotationClassName, context, dataObject, newValue, notifier, removeAnnotationIfValueIsNull, source, valuePair, valuePairs| Constructor and Description |
|---|
FieldTypeChangeCommand(DataModelerContext context,
String source,
DataObject dataObject,
ObjectProperty field,
String newType,
boolean multiple,
DataModelChangeNotifier notifier) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
ObjectProperty |
getField() |
boolean |
isMultiple() |
void |
setField(ObjectProperty field) |
void |
setMultiple(boolean multiple) |
getAnnotationClassName, getContext, getDataObject, getNewValue, getSource, getValuePair, isRemoveAnnotationIfValueIsNull, notifyChange, notifyFieldChange, notifyObjectChange, setAnnotationClassName, setContext, setDataObject, setNewValue, setRemoveAnnotationIfValueIsNull, setSource, setValuePair, withValuePair, withValuePairprotected ObjectProperty field
protected boolean multiple
public FieldTypeChangeCommand(DataModelerContext context, String source, DataObject dataObject, ObjectProperty field, String newType, boolean multiple, DataModelChangeNotifier notifier)
public boolean isMultiple()
public void setMultiple(boolean multiple)
public ObjectProperty getField()
public void setField(ObjectProperty field)
public void execute()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.