[POLICY-73] replace openecomp for policy-engine
[policy/engine.git] / PolicyEngineAPI / src / main / java / org / onap / policy / api / PolicyParameters.java
@@ -18,7 +18,7 @@
  * ============LICENSE_END=========================================================
  */
 
-package org.openecomp.policy.api;
+package org.onap.policy.api;
 
 import java.util.ArrayList;
 import java.util.Date;
@@ -37,7 +37,7 @@ public class PolicyParameters {
        private PolicyConfigType policyConfigType;
        private String policyName;
        private String policyDescription;
-       private String ecompName;
+       private String onapName;
        private String configName;
        private Map<AttributeType, Map<String,String>> attributes;
        private String configBody;
@@ -62,23 +62,23 @@ public class PolicyParameters {
        /**
         * Sets Config Policy Parameters.
         * 
-        * @param policyConfigType the {@link org.openecomp.policy.api.PolicyConfigType} Enum format of the Config Type
+        * @param policyConfigType the {@link org.onap.policy.api.PolicyConfigType} Enum format of the Config Type
         * @param policyName the <code>String</code> format of the Policy Name
         * @param policyDescription the <code>String</code> format of the Policy Description
-        * @param ecompName the <code>String</code> format of the ECOMP Name
+        * @param onapName the <code>String</code> format of the ONAP Name
         * @param configName the <code>String</code> format of the Config Name
         * @param attributes the <code>Map</code> Attributes that must contain the AttributeType and Map of key,value pairs corresponding to it.
-        * @param configBodyType the {@link org.openecomp.policy.api.PolicyType} Enum format of the config Body Type. 
+        * @param configBodyType the {@link org.onap.policy.api.PolicyType} Enum format of the config Body Type. 
         * @param configBody the <code>String</code> format of the Policy Body
-        * @param requestID unique request ID which will be passed throughout the ECOMP components to correlate logging messages.
+        * @param requestID unique request ID which will be passed throughout the ONAP components to correlate logging messages.
         * A different request ID should be passed for each request.
         */
-       public void setConfigPolicyParameters(PolicyConfigType policyConfigType, String policyName, String policyDescription, String ecompName, String configName, 
+       public void setConfigPolicyParameters(PolicyConfigType policyConfigType, String policyName, String policyDescription, String onapName, String configName, 
                        Map<AttributeType, Map<String, String>> attributes, PolicyType configBodyType, String configBody, UUID requestID){
                this.setPolicyConfigType(policyConfigType);
                this.setPolicyName(policyName);
                this.setPolicyDescription(policyDescription);
-               this.setEcompName(ecompName);
+               this.setOnapName(onapName);
                this.setConfigName(configName);
                this.setAttributes(attributes);
                this.setConfigBody(configBody);
@@ -91,7 +91,7 @@ public class PolicyParameters {
         * 
         * @param policyName the <code>String</code> format of the Policy Name
         * @param firewallJson the <code>String</code> representation of the Firewall Rules List
-        * @param requestID unique request ID which will be passed throughout the ECOMP components to correlate logging messages.
+        * @param requestID unique request ID which will be passed throughout the ONAP components to correlate logging messages.
         * A different request ID should be passed for each request.
         */
        public void setConfigFirewallPolicyParameters(String policyName, String firewallJson, UUID requestID){
@@ -139,21 +139,21 @@ public class PolicyParameters {
        }
 
        /**
-        * Gets the ECOMP Name value of the Policy Paramters. 
+        * Gets the ONAP Name value of the Policy Paramters. 
         * 
-        * @return <code>String</code> format of the ECOMP Name
+        * @return <code>String</code> format of the ONAP Name
         */
-       public String getEcompName() {
-               return ecompName;
+       public String getOnapName() {
+               return onapName;
        }
 
        /**
-        * Sets the ECOMP Name field of the Policy Parameters. 
+        * Sets the ONAP Name field of the Policy Parameters. 
         * 
-        * @param ecompName the <code>String</code> format of the ECOMP Name
+        * @param onapName the <code>String</code> format of the ONAP Name
         */
-       public void setEcompName(String ecompName) {
-               this.ecompName = ecompName;
+       public void setOnapName(String onapName) {
+               this.onapName = onapName;
        }
 
        /**
@@ -195,7 +195,7 @@ public class PolicyParameters {
        /**
         * Gets the Policy Config Type value the Policy parameters. 
         * 
-        * @return {@link org.openecomp.policy.api.PolicyConfigType} Enum of the Config Type
+        * @return {@link org.onap.policy.api.PolicyConfigType} Enum of the Config Type
         */
        public PolicyConfigType getPolicyConfigType() {
                return policyConfigType;
@@ -204,7 +204,7 @@ public class PolicyParameters {
        /**
         * Sets the Policy Config Type field of the policy Parameters. 
         * 
-        * @param policyConfigType the {@link org.openecomp.policy.api.PolicyConfigType} Enum format of the Config Type
+        * @param policyConfigType the {@link org.onap.policy.api.PolicyConfigType} Enum format of the Config Type
         */
        public void setPolicyConfigType(PolicyConfigType policyConfigType) {
                if(policyConfigType!=null){
@@ -252,7 +252,7 @@ public class PolicyParameters {
        /**
         * Gets the requestID of the Policy Parameters. 
         * 
-        * @return unique request ID which will be passed throughout the ECOMP components to correlate logging messages.
+        * @return unique request ID which will be passed throughout the ONAP components to correlate logging messages.
         */
        public UUID getRequestID() {
                return requestID;
@@ -261,7 +261,7 @@ public class PolicyParameters {
        /**
         * Sets the requestID of the Policy Parameters. 
         * 
-        * @param requestID unique request ID which will be passed throughout the ECOMP components to correlate logging messages.
+        * @param requestID unique request ID which will be passed throughout the ONAP components to correlate logging messages.
         */
        public void setRequestID(UUID requestID) {
                this.requestID = requestID;
@@ -270,7 +270,7 @@ public class PolicyParameters {
        /**
         * Gets the Policy Class of the Policy Parameters. 
         * 
-        * @return {@link org.openecomp.policy.api.PolicyClass} of the Policy Parameters. 
+        * @return {@link org.onap.policy.api.PolicyClass} of the Policy Parameters. 
         */
        public PolicyClass getPolicyClass() {
                return policyClass;
@@ -279,7 +279,7 @@ public class PolicyParameters {
        /**
         * Sets the Policy Class of the Policy Parameters. 
         * 
-        * @param policyClass the Enum {@link org.openecomp.policy.api.PolicyClass} to set Policy Class Type of Policy parameters. 
+        * @param policyClass the Enum {@link org.onap.policy.api.PolicyClass} to set Policy Class Type of Policy parameters. 
         */
        public void setPolicyClass(PolicyClass policyClass) {
                this.policyClass = policyClass;
@@ -546,7 +546,7 @@ public class PolicyParameters {
        }
        
        public String toString() {
-               return "PolicyParameters [ policyName=" + policyName + ", policyDescription=" + policyDescription + ", ecompName="+ ecompName 
+               return "PolicyParameters [ policyName=" + policyName + ", policyDescription=" + policyDescription + ", onapName="+ onapName 
                                + ", configName=" + configName + ", attributes=" + attributes + ", configBody=" + configBody 
                                + ",dynamicRuleAlgorithmLabels=" + dynamicRuleAlgorithmLabels + ",dynamicRuleAlgorithmFunctions=" + dynamicRuleAlgorithmFunctions 
                                + ",dynamicRuleAlgorithmField1=" + dynamicRuleAlgorithmField1 + ",dynamicRuleAlgorithmField2=" + dynamicRuleAlgorithmField2