Merge "Refactor, fix code formatting and add unittests"
[dcaegen2/platform.git] / mod / bpgenerator / src / main / java / org / onap / blueprintgenerator / models / componentspec / Artifacts.java
1 /**============LICENSE_START======================================================= 
2  org.onap.dcae 
3  ================================================================================ 
4  Copyright (c) 2019 AT&T Intellectual Property. All rights reserved. 
5  ================================================================================ 
6  Licensed under the Apache License, Version 2.0 (the "License"); 
7  you may not use this file except in compliance with the License. 
8  You may obtain a copy of the License at 
9  
10       http://www.apache.org/licenses/LICENSE-2.0 
11  
12  Unless required by applicable law or agreed to in writing, software 
13  distributed under the License is distributed on an "AS IS" BASIS, 
14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
15  See the License for the specific language governing permissions and 
16  limitations under the License. 
17  ============LICENSE_END========================================================= 
18  
19  */
20
21 package org.onap.blueprintgenerator.models.componentspec;
22
23
24 import com.fasterxml.jackson.annotation.JsonInclude;
25 import lombok.EqualsAndHashCode;
26 import lombok.Getter;
27 import lombok.NoArgsConstructor;
28 import lombok.Setter;
29
30 // TODO: Auto-generated Javadoc
31 /* (non-Javadoc)
32  * @see java.lang.Object#toString()
33  */
34 @Getter @Setter
35
36 /* (non-Javadoc)
37  * @see java.lang.Object#toString()
38  */
39
40
41 /**
42  * Instantiates a new artifacts.
43  */
44 @NoArgsConstructor
45
46 /**
47  * Instantiates a new artifacts.
48  *
49  * @param type the type
50  * @param uri the uri
51  */
52
53 @JsonInclude(JsonInclude.Include.NON_NULL)
54 @EqualsAndHashCode
55 //Called in Component Spec Object
56 public class Artifacts {
57         
58         /** The type. */
59         private String type;
60         
61         /** The uri. */
62         private String uri;
63 }