From 646b61c12bae2996fa5b9eeeb4e0f104fbf2a7a1 Mon Sep 17 00:00:00 2001 From: "Smokowski, Steve (ss835w)" Date: Thu, 22 Mar 2018 09:18:29 -0400 Subject: Added OpenPojo Validations to beans Change-Id: I34d8922a55b1ba35610ad0856dcd3363fa016785 Issue-ID: SO-516 Signed-off-by: Smokowski, Steve (ss835w) --- .../bpmn/appc/payload/beans/StartStopAction.java | 32 ++++++++++++++-------- 1 file changed, 21 insertions(+), 11 deletions(-) (limited to 'bpmn/MSOCommonBPMN/src/main/java') diff --git a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/appc/payload/beans/StartStopAction.java b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/appc/payload/beans/StartStopAction.java index 6ef822fbe1..988c282076 100644 --- a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/appc/payload/beans/StartStopAction.java +++ b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/appc/payload/beans/StartStopAction.java @@ -26,20 +26,30 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ -" AICIdentity " + " AICIdentity " }) public class StartStopAction { -@JsonProperty(" AICIdentity ") -private String aICIdentity; + @JsonProperty(" AICIdentity ") + private String aICIdentity; -@JsonProperty(" AICIdentity ") -public String getAICIdentity() { -return aICIdentity; -} + @JsonProperty(" AICIdentity ") + public String getAICIdentity() { + return aICIdentity; + } + + @JsonProperty(" AICIdentity ") + public void setAICIdentity(String aICIdentity) { + this.aICIdentity = aICIdentity; + } + + public String getaICIdentity() { + return aICIdentity; + } + + public void setaICIdentity(String aICIdentity) { + this.aICIdentity = aICIdentity; + } + -@JsonProperty(" AICIdentity ") -public void setAICIdentity(String aICIdentity) { -this.aICIdentity = aICIdentity; -} } \ No newline at end of file -- cgit 1.2.3-korg