public class AddPropertyCommand extends AbstractDataModelCommand
annotationClassName, context, dataObject, newValue, notifier, removeAnnotationIfValueIsNull, source, valuePair, valuePairs| Constructor and Description |
|---|
AddPropertyCommand(DataModelerContext context,
String source,
DataObject dataObject,
String propertyName,
String propertyLabel,
String propertyType,
Boolean isMultiple,
DataModelChangeNotifier notifier) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
Boolean |
getIsMultiple() |
ObjectProperty |
getProperty() |
String |
getPropertyLabel() |
String |
getPropertyName() |
String |
getPropertyType() |
void |
setIsMultiple(Boolean isMultiple) |
void |
setPropertyLabel(String propertyLabel) |
void |
setPropertyName(String propertyName) |
void |
setPropertyType(String propertyType) |
getAnnotationClassName, getContext, getDataObject, getNewValue, getSource, getValuePair, isRemoveAnnotationIfValueIsNull, notifyChange, notifyFieldChange, notifyObjectChange, setAnnotationClassName, setContext, setDataObject, setNewValue, setRemoveAnnotationIfValueIsNull, setSource, setValuePair, withValuePair, withValuePairpublic AddPropertyCommand(DataModelerContext context, String source, DataObject dataObject, String propertyName, String propertyLabel, String propertyType, Boolean isMultiple, DataModelChangeNotifier notifier)
public void execute()
public String getPropertyName()
public void setPropertyName(String propertyName)
public String getPropertyLabel()
public void setPropertyLabel(String propertyLabel)
public String getPropertyType()
public void setPropertyType(String propertyType)
public Boolean getIsMultiple()
public void setIsMultiple(Boolean isMultiple)
public ObjectProperty getProperty()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.