public class FieldTypeChangeCommand extends AbstractDataModelCommand
| Modifier and Type | Field and Description |
|---|---|
protected ObjectProperty |
field |
protected boolean |
multiple |
protected String |
newType |
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() |
String |
getNewType() |
boolean |
isMultiple() |
void |
setField(ObjectProperty field) |
void |
setMultiple(boolean multiple) |
void |
setNewType(String newType) |
getAnnotationClassName, getContext, getDataObject, getNewValue, getSource, getValuePair, isRemoveAnnotationIfValueIsNull, notifyChange, notifyFieldChange, notifyObjectChange, setAnnotationClassName, setContext, setDataObject, setNewValue, setRemoveAnnotationIfValueIsNull, setSource, setValuePair, withValuePair, withValuePairprotected ObjectProperty field
protected String newType
protected boolean multiple
public FieldTypeChangeCommand(DataModelerContext context, String source, DataObject dataObject, ObjectProperty field, String newType, boolean multiple, DataModelChangeNotifier notifier)
public String getNewType()
public void setNewType(String newType)
public boolean isMultiple()
public void setMultiple(boolean multiple)
public ObjectProperty getField()
public void setField(ObjectProperty field)
public void execute()
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.