aboutsummaryrefslogtreecommitdiffstats
path: root/common-be/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'common-be/src/main')
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceOperationParamDataDefinition.java18
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/OperationInputDefinition.java6
2 files changed, 12 insertions, 12 deletions
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceOperationParamDataDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceOperationParamDataDefinition.java
index e2de5f0d64..b8372d6793 100644
--- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceOperationParamDataDefinition.java
+++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceOperationParamDataDefinition.java
@@ -41,18 +41,18 @@ public class InterfaceOperationParamDataDefinition extends ToscaDataDefinition i
setType(iopdd.getType());
}
- public InterfaceOperationParamDataDefinition(String paramName, String paramId, boolean mandatory, String type) {
+ public InterfaceOperationParamDataDefinition(String name, String property, boolean mandatory, String type) {
super();
- setName(paramName);
- setProperty(paramId);
+ setName(name);
+ setProperty(property);
setMandatory(mandatory);
setType(type);
}
//used for OperationOutputDefinition
- public InterfaceOperationParamDataDefinition(String paramName, boolean mandatory, String type) {
+ public InterfaceOperationParamDataDefinition(String name, boolean mandatory, String type) {
super();
- setName(paramName);
+ setName(name);
setMandatory(mandatory);
setType(type);
}
@@ -60,15 +60,15 @@ public class InterfaceOperationParamDataDefinition extends ToscaDataDefinition i
public String getName() {
return (String) getToscaPresentationValue(IO_NAME);
}
- public void setName(String paramName) {
- setToscaPresentationValue(IO_NAME, paramName);
+ public void setName(String name) {
+ setToscaPresentationValue(IO_NAME, name);
}
public String getProperty() {
return (String) getToscaPresentationValue(IO_PROPERTY);
}
- public void setProperty(String paramId) {
- setToscaPresentationValue(IO_PROPERTY, paramId);
+ public void setProperty(String property) {
+ setToscaPresentationValue(IO_PROPERTY, property);
}
public Boolean getMandatory() {
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/OperationInputDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/OperationInputDefinition.java
index 4c941574ae..35b760a677 100644
--- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/OperationInputDefinition.java
+++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/OperationInputDefinition.java
@@ -33,10 +33,10 @@ public class OperationInputDefinition extends InputDataDefinition {
setName(name);
}
- public OperationInputDefinition(String paramName, String paramId, Boolean mandatory, String type) {
+ public OperationInputDefinition(String name, String property, Boolean mandatory, String type) {
super();
- setName(paramName);
- setInputId(paramId);
+ setName(name);
+ setInputId(property);
setRequired(mandatory);
setType(type);
}