a2c117b3d9c251e4eb3f4fae63513f0a166b4092
[so.git] / adapters / mso-openstack-adapters / src / main / java / org / onap / so / adapters / audit / AAIObjectAudit.java
1 package org.onap.so.adapters.audit;
2
3 import java.io.Serializable;
4 import java.net.URI;
5
6 import org.onap.so.client.aai.AAIObjectType;
7 import org.apache.commons.lang3.builder.ToStringBuilder;
8
9 public class AAIObjectAudit implements Serializable{
10
11         /**
12          * 
13          */
14         private static final long serialVersionUID = -4560928512855386021L;
15         private boolean doesObjectExist = false;
16         private Object aaiObject;
17         private URI resourceURI;
18         private String aaiObjectType;
19         
20         @Override
21         public String toString() {
22                 return new ToStringBuilder(this).append("doesObjectExist", doesObjectExist).append("aaiObject", aaiObject)
23                                 .append("resourceURI", resourceURI).append("aaiObjectType", aaiObjectType).toString();
24         }
25
26         public String getAaiObjectType() {
27                 return aaiObjectType;
28         }
29
30         public void setAaiObjectType(String aaiObjectType) {
31                 this.aaiObjectType = aaiObjectType;
32         }
33
34         public boolean isDoesObjectExist() {
35                 return doesObjectExist;
36         }
37         
38         public void setDoesObjectExist(boolean doesObjectExist) {
39                 this.doesObjectExist = doesObjectExist;
40         }
41         
42         public Object getAaiObject() {
43                 return aaiObject;
44         }
45         
46         public void setAaiObject(Object aaiObject) {
47                 this.aaiObject = aaiObject;
48         }
49         
50         public URI getResourceURI() {
51                 return resourceURI;
52         }
53         public void setResourceURI(URI resourceURI) {
54                 this.resourceURI = resourceURI;
55         }
56 }